Struct sock_filter
#[repr(C)]
pub struct sock_filter { pub code: __u16, pub jt: __u8, pub jf: __u8, pub k: __u32 }
Fields
code: __u16jt: __u8jf: __u8k: __u32
Trait Implementations
impl Clone for sock_filter
fn clone(&self) -> sock_filter
impl Copy for sock_filter
impl Debug for sock_filter
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for sock_filter
impl Hash for sock_filter
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for sock_filter
fn eq(&self, other: &sock_filter) -> bool
impl StructuralPartialEq for sock_filter
Auto Trait Implementations
impl Freeze for sock_filter
impl RefUnwindSafe for sock_filter
impl Send for sock_filter
impl Sync for sock_filter
impl Unpin for sock_filter
impl UnsafeUnpin for sock_filter
impl UnwindSafe for sock_filter
Blanket Implementations
impl<T> Any for sock_filter
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for sock_filter
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for sock_filter
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for sock_filter
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for sock_filter
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for sock_filter
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for sock_filter
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for sock_filter
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>