pub struct ChannelId(/* private fields */);Expand description
A channel identifier.
Newtype wrapper to prevent accidental mixups between regular u8s and those used as channel
IDs. Does not indicate whether or not a channel ID is actually valid, i.e. a channel that
exists.
Implementations§
Trait Implementations§
Source§impl Ord for ChannelId
impl Ord for ChannelId
Source§impl PartialOrd for ChannelId
impl PartialOrd for ChannelId
impl Copy for ChannelId
impl Eq for ChannelId
impl StructuralPartialEq for ChannelId
Auto Trait Implementations§
impl Freeze for ChannelId
impl RefUnwindSafe for ChannelId
impl Send for ChannelId
impl Sync for ChannelId
impl Unpin for ChannelId
impl UnwindSafe for ChannelId
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