pub struct IpSocketUdpState {
pub src_port: Option<u16>,
pub dst_port: Option<u16>,
pub state: State,
}Expand description
Extension type for [fnet_sockets::IpSocketUdpState].
Fields§
§src_port: Option<u16>The source port of the socket.
dst_port: Option<u16>The destination port of the socket.
state: StateThe UDP pseudo-state machine state for the socket.
Trait Implementations§
Source§impl Clone for IpSocketUdpState
impl Clone for IpSocketUdpState
Source§fn clone(&self) -> IpSocketUdpState
fn clone(&self) -> IpSocketUdpState
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 IpSocketUdpState
impl Debug for IpSocketUdpState
Source§impl From<IpSocketUdpState> for IpSocketUdpState
impl From<IpSocketUdpState> for IpSocketUdpState
Source§fn from(state: IpSocketUdpState) -> Self
fn from(state: IpSocketUdpState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IpSocketUdpState
impl PartialEq for IpSocketUdpState
Source§impl TryFrom<IpSocketUdpState> for IpSocketUdpState
impl TryFrom<IpSocketUdpState> for IpSocketUdpState
impl Eq for IpSocketUdpState
impl StructuralPartialEq for IpSocketUdpState
Auto Trait Implementations§
impl Freeze for IpSocketUdpState
impl RefUnwindSafe for IpSocketUdpState
impl Send for IpSocketUdpState
impl Sync for IpSocketUdpState
impl Unpin for IpSocketUdpState
impl UnsafeUnpin for IpSocketUdpState
impl UnwindSafe for IpSocketUdpState
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.