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§impl Debug for IpSocketState
impl Debug for IpSocketState
impl Eq 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
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.