pub enum SocketBindingEntry {
Port(u16),
Unbound,
}
Expand description
Conveys what port is bound at the given index.
If no port is bound, the value stored at that location in the table is Unbound.
Variants§
Trait Implementations§
Source§impl Clone for SocketBindingEntry
impl Clone for SocketBindingEntry
Source§fn clone(&self) -> SocketBindingEntry
fn clone(&self) -> SocketBindingEntry
Returns a copy 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 PartialEq for SocketBindingEntry
impl PartialEq for SocketBindingEntry
impl Copy for SocketBindingEntry
impl StructuralPartialEq for SocketBindingEntry
Auto Trait Implementations§
impl Freeze for SocketBindingEntry
impl RefUnwindSafe for SocketBindingEntry
impl Send for SocketBindingEntry
impl Sync for SocketBindingEntry
impl Unpin for SocketBindingEntry
impl UnwindSafe for SocketBindingEntry
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