#[repr(u8)]pub enum Af {
Unspec = 0,
Inet = 3,
Inet6 = 1,
Vsock = 2,
}
Variants§
Trait Implementations§
Source§impl TryFromPrimitive for Af
impl TryFromPrimitive for Af
impl Copy for Af
impl Eq for Af
impl StructuralPartialEq for Af
Auto Trait Implementations§
impl Freeze for Af
impl RefUnwindSafe for Af
impl Send for Af
impl Sync for Af
impl Unpin for Af
impl UnwindSafe for Af
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