Struct sock_fprog
#[repr(C)]
pub struct sock_fprog { pub len: c_ushort, pub filter: *mut sock_filter }
Fields
len: c_ushortfilter: *mut sock_filter
Trait Implementations
impl Clone for sock_fprog
fn clone(&self) -> sock_fprog
impl Copy for sock_fprog
impl Debug for sock_fprog
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for sock_fprog
impl Hash for sock_fprog
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for sock_fprog
fn eq(&self, other: &sock_fprog) -> bool
impl StructuralPartialEq for sock_fprog
Auto Trait Implementations
impl !Send for sock_fprog
impl !Sync for sock_fprog
impl Freeze for sock_fprog
impl RefUnwindSafe for sock_fprog
impl Unpin for sock_fprog
impl UnsafeUnpin for sock_fprog
impl UnwindSafe for sock_fprog
Blanket Implementations
impl<T> Any for sock_fprog
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for sock_fprog
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for sock_fprog
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for sock_fprog
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for sock_fprog
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for sock_fprog
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_fprog
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for sock_fprog
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>