pub struct ProtocolNumber(/* private fields */);
Expand description
The protocol number class represents a protocol defined in PROTOCOL-NUMBERS.
Implementations§
Trait Implementations§
source§impl Clone for ProtocolNumber
impl Clone for ProtocolNumber
source§fn clone(&self) -> ProtocolNumber
fn clone(&self) -> ProtocolNumber
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 Debug for ProtocolNumber
impl Debug for ProtocolNumber
source§impl Default for ProtocolNumber
impl Default for ProtocolNumber
source§fn default() -> ProtocolNumber
fn default() -> ProtocolNumber
Returns the “default value” for a type. Read more
source§impl From<ProtocolNumber> for RequestedTrasport
impl From<ProtocolNumber> for RequestedTrasport
source§fn from(value: ProtocolNumber) -> Self
fn from(value: ProtocolNumber) -> Self
Converts to this type from the input type.
source§impl PartialEq<ProtocolNumber> for u8
impl PartialEq<ProtocolNumber> for u8
source§impl PartialEq<u8> for ProtocolNumber
impl PartialEq<u8> for ProtocolNumber
source§impl PartialEq for ProtocolNumber
impl PartialEq for ProtocolNumber
impl Copy for ProtocolNumber
impl Eq for ProtocolNumber
impl StructuralPartialEq for ProtocolNumber
Auto Trait Implementations§
impl Freeze for ProtocolNumber
impl RefUnwindSafe for ProtocolNumber
impl Send for ProtocolNumber
impl Sync for ProtocolNumber
impl Unpin for ProtocolNumber
impl UnwindSafe for ProtocolNumber
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)