Struct libnghttp2_sys::nghttp2_origin_entry
source · #[repr(C)]pub struct nghttp2_origin_entry {
pub origin: *mut u8,
pub origin_len: usize,
}
Expand description
@struct
The single entry of an origin.
Fields§
§origin: *mut u8
The pointer to origin. No validation is made against this field by the library. This is not necessarily NULL-terminated.
origin_len: usize
The length of the |origin|.
Trait Implementations§
source§impl Clone for nghttp2_origin_entry
impl Clone for nghttp2_origin_entry
source§fn clone(&self) -> nghttp2_origin_entry
fn clone(&self) -> nghttp2_origin_entry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for nghttp2_origin_entry
impl Debug for nghttp2_origin_entry
impl Copy for nghttp2_origin_entry
Auto Trait Implementations§
impl Freeze for nghttp2_origin_entry
impl RefUnwindSafe for nghttp2_origin_entry
impl !Send for nghttp2_origin_entry
impl !Sync for nghttp2_origin_entry
impl Unpin for nghttp2_origin_entry
impl UnwindSafe for nghttp2_origin_entry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more