pub enum IpSocketState {
V4(IpSocketStateSpecific<Ipv4>),
V6(IpSocketStateSpecific<Ipv6>),
}Expand description
Extension type for [fnet_sockets::IpSocketState].
Variants§
V4(IpSocketStateSpecific<Ipv4>)
IPv4 socket state.
V6(IpSocketStateSpecific<Ipv6>)
IPv6 socket state.
Trait Implementations§
Source§impl Clone for IpSocketState
impl Clone for IpSocketState
Source§fn clone(&self) -> IpSocketState
fn clone(&self) -> IpSocketState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IpSocketState
impl Debug for IpSocketState
Source§impl From<IpSocketState> for IpSocketState
impl From<IpSocketState> for IpSocketState
Source§fn from(state: IpSocketState) -> Self
fn from(state: IpSocketState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IpSocketState
impl PartialEq for IpSocketState
Source§impl TryFrom<IpSocketState> for IpSocketState
impl TryFrom<IpSocketState> for IpSocketState
impl Eq for IpSocketState
impl StructuralPartialEq for IpSocketState
Auto Trait Implementations§
impl Freeze for IpSocketState
impl RefUnwindSafe for IpSocketState
impl Send for IpSocketState
impl Sync for IpSocketState
impl Unpin for IpSocketState
impl UnsafeUnpin for IpSocketState
impl UnwindSafe for IpSocketState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.