#[repr(C)]pub struct pcapng_object_t {
pub proto: [c_char; 8],
pub frame: c_int,
pub hostname: [c_char; 256],
pub content_type: [c_char; 128],
pub filename: [c_char; 256],
pub data: *const u8,
pub len: usize,
pub complete: c_int,
}Fields§
§proto: [c_char; 8]§frame: c_int§hostname: [c_char; 256]§content_type: [c_char; 128]§filename: [c_char; 256]§data: *const u8§len: usize§complete: c_intTrait Implementations§
Source§impl Clone for pcapng_object_t
impl Clone for pcapng_object_t
Source§fn clone(&self) -> pcapng_object_t
fn clone(&self) -> pcapng_object_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for pcapng_object_t
Auto Trait Implementations§
impl !Send for pcapng_object_t
impl !Sync for pcapng_object_t
impl Freeze for pcapng_object_t
impl RefUnwindSafe for pcapng_object_t
impl Unpin for pcapng_object_t
impl UnsafeUnpin for pcapng_object_t
impl UnwindSafe for pcapng_object_t
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