Struct remoc::chmux::PortNumber
source ยท pub struct PortNumber { /* private fields */ }
Expand description
An allocated local port number.
When this is dropped, the allocated is automatically released.
Methods from Deref<Target = u32>ยง
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementationsยง
sourceยงimpl Borrow<u32> for PortNumber
impl Borrow<u32> for PortNumber
sourceยงimpl Debug for PortNumber
impl Debug for PortNumber
sourceยงimpl Deref for PortNumber
impl Deref for PortNumber
sourceยงimpl Display for PortNumber
impl Display for PortNumber
sourceยงimpl Drop for PortNumber
impl Drop for PortNumber
sourceยงimpl From<PortNumber> for PortReq
impl From<PortNumber> for PortReq
sourceยงfn from(port: PortNumber) -> Self
fn from(port: PortNumber) -> Self
Create a new port connection request with id
set to
the port number.
sourceยงimpl From<PortReq> for PortNumber
impl From<PortReq> for PortNumber
sourceยงimpl Hash for PortNumber
impl Hash for PortNumber
sourceยงimpl Ord for PortNumber
impl Ord for PortNumber
sourceยงimpl PartialEq for PortNumber
impl PartialEq for PortNumber
sourceยงimpl PartialOrd for PortNumber
impl PartialOrd for PortNumber
impl Eq for PortNumber
Auto Trait Implementationsยง
impl Freeze for PortNumber
impl RefUnwindSafe for PortNumber
impl Send for PortNumber
impl Sync for PortNumber
impl Unpin for PortNumber
impl UnwindSafe for PortNumber
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