#[repr(C)]pub struct tun_filter {
pub flags: u16,
pub count: u16,
pub addr: __IncompleteArrayField<[u8; 6]>,
}Fields§
§flags: u16§count: u16§addr: __IncompleteArrayField<[u8; 6]>Trait Implementations§
Source§impl Debug for tun_filter
impl Debug for tun_filter
Source§impl Default for tun_filter
impl Default for tun_filter
Source§fn default() -> tun_filter
fn default() -> tun_filter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for tun_filter
impl RefUnwindSafe for tun_filter
impl Send for tun_filter
impl Sync for tun_filter
impl Unpin for tun_filter
impl UnwindSafe for tun_filter
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more