pub struct ChanNum(pub u32);Expand description
A SSH protocol local channel number
The number will always be in the range 0 <= num < MAX_CHANNELS
and can be used as an index by applications.
Most external application API methods take a ChanHandle instead.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Ord for ChanNum
impl Ord for ChanNum
Source§impl PartialOrd for ChanNum
impl PartialOrd for ChanNum
impl Copy for ChanNum
impl Eq for ChanNum
impl StructuralPartialEq for ChanNum
Auto Trait Implementations§
impl Freeze for ChanNum
impl RefUnwindSafe for ChanNum
impl Send for ChanNum
impl Sync for ChanNum
impl Unpin for ChanNum
impl UnwindSafe for ChanNum
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