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§fn clone(&self) -> OwnedLabel
fn clone(&self) -> OwnedLabel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OwnedLabel
impl Debug for OwnedLabel
Source§impl Default for OwnedLabel
impl Default for OwnedLabel
Source§fn default() -> OwnedLabel
fn default() -> OwnedLabel
Returns the “default value” for a type. Read more
impl Eq for OwnedLabel
Source§impl PartialEq for OwnedLabel
impl PartialEq for OwnedLabel
impl StructuralPartialEq for OwnedLabel
Auto Trait Implementations§
impl Freeze 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