pub struct OwnedLabel { /* private fields */ }Expand description
An owned label, for the list a UserLabel holds.
Owned rather than borrowed because a user label arrives over the wire and has to outlive
the message it came in — which a &str into the receive buffer would not.
Implementations§
Source§impl OwnedLabel
impl OwnedLabel
Trait Implementations§
Source§impl Clone for OwnedLabel
impl Clone for OwnedLabel
Source§impl Debug for OwnedLabel
impl Debug for OwnedLabel
Source§impl Default for OwnedLabel
impl Default for OwnedLabel
impl Eq for OwnedLabel
Source§impl PartialEq for OwnedLabel
impl PartialEq for OwnedLabel
impl StructuralPartialEq for OwnedLabel
Auto Trait Implementations§
impl Forget for OwnedLabel
impl Freeze for OwnedLabel
impl Move for OwnedLabel
impl RefUnwindSafe for OwnedLabel
impl Send for OwnedLabel
impl Sync for OwnedLabel
impl Unpin for OwnedLabel
impl UnsafeUnpin for OwnedLabel
impl UnwindSafe for OwnedLabel
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