pub struct SctpPort(pub u16);Expand description
a=sctp-port:<port> (RFC 8841 section 5): 1*5(DIGIT), 0 to 65535, “leading zeroes
MUST NOT be used”.
Tuple Fields§
§0: u16Trait Implementations§
impl Copy for SctpPort
impl Eq for SctpPort
impl StructuralPartialEq for SctpPort
Auto Trait Implementations§
impl Forget for SctpPort
impl Freeze for SctpPort
impl Move for SctpPort
impl RefUnwindSafe for SctpPort
impl Send for SctpPort
impl Sync for SctpPort
impl Unpin for SctpPort
impl UnsafeUnpin for SctpPort
impl UnwindSafe for SctpPort
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