pub struct PortValue(/* private fields */);
Expand description
The port number. The minimum
value is 0
, maximum value is 255
(i.e. u7
). The default value is 0
.
Implementations§
Trait Implementations§
source§impl Ord for PortValue
impl Ord for PortValue
source§impl PartialEq for PortValue
impl PartialEq for PortValue
source§impl PartialOrd for PortValue
impl PartialOrd for PortValue
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PortValue
impl Eq for PortValue
impl StructuralEq for PortValue
impl StructuralPartialEq for PortValue
Auto Trait Implementations§
impl RefUnwindSafe for PortValue
impl Send for PortValue
impl Sync for PortValue
impl Unpin for PortValue
impl UnwindSafe for PortValue
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