pub enum IpSocketTransportState {
Tcp(IpSocketTcpState),
Udp(IpSocketUdpState),
}Expand description
Extension type for [fnet_sockets::IpSocketTransportState].
Variants§
Trait Implementations§
Source§impl Clone for IpSocketTransportState
impl Clone for IpSocketTransportState
Source§fn clone(&self) -> IpSocketTransportState
fn clone(&self) -> IpSocketTransportState
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 IpSocketTransportState
impl Debug for IpSocketTransportState
Source§impl From<IpSocketTransportState> for IpSocketTransportState
impl From<IpSocketTransportState> for IpSocketTransportState
Source§fn from(state: IpSocketTransportState) -> Self
fn from(state: IpSocketTransportState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IpSocketTransportState
impl PartialEq for IpSocketTransportState
Source§impl TryFrom<IpSocketTransportState> for IpSocketTransportState
impl TryFrom<IpSocketTransportState> for IpSocketTransportState
impl Eq for IpSocketTransportState
impl StructuralPartialEq for IpSocketTransportState
Auto Trait Implementations§
impl Freeze for IpSocketTransportState
impl RefUnwindSafe for IpSocketTransportState
impl Send for IpSocketTransportState
impl Sync for IpSocketTransportState
impl Unpin for IpSocketTransportState
impl UnsafeUnpin for IpSocketTransportState
impl UnwindSafe for IpSocketTransportState
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.