pub struct BindPort(/* private fields */);Expand description
Local bind port: 0 means ephemeral OS assignment; otherwise 1..=65535.
Distinct from SshPort (DRY with discipline — do not unify).
Implementations§
Trait Implementations§
impl Copy for BindPort
impl Eq for BindPort
impl StructuralPartialEq for BindPort
Auto Trait Implementations§
impl Freeze for BindPort
impl RefUnwindSafe for BindPort
impl Send for BindPort
impl Sync for BindPort
impl Unpin for BindPort
impl UnsafeUnpin for BindPort
impl UnwindSafe for BindPort
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.