pub enum Tag {
Unowned(TagValue),
Owned(TagValue),
}Expand description
Identifies a tag and allocation method
Owned and indicates that the tag is allocated locally.
Variants§
Unowned(TagValue)
Existing tag is passed to send(). Owner bit is unset, used for responses.
Owned(TagValue)
Preallocated tag is passed to send(), owner bit is set
Implementations§
Trait Implementations§
Source§impl Ord for Tag
impl Ord for Tag
Source§impl PartialOrd for Tag
impl PartialOrd for Tag
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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