pub enum Stack {
V4,
V6,
}Variants§
Trait Implementations§
Source§impl From<&SocketAddr> for Stack
impl From<&SocketAddr> for Stack
Source§fn from(value: &SocketAddr) -> Self
fn from(value: &SocketAddr) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Stack
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnwindSafe for Stack
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