#[repr(u8)]pub enum Metadata<T> {
Server {
annotation: T,
},
Mailbox {
name: T,
annotation: T,
},
}Variants§
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Metadata<T>
Source§impl MapLocalVars for Metadata<Value>
impl MapLocalVars for Metadata<Value>
fn map_local_vars(&mut self, last_id: u16)
impl<T: PartialEq> StructuralPartialEq for Metadata<T>
Auto Trait Implementations§
impl<T> Freeze for Metadata<T>where
T: Freeze,
impl<T> RefUnwindSafe for Metadata<T>where
T: RefUnwindSafe,
impl<T> Send for Metadata<T>where
T: Send,
impl<T> Sync for Metadata<T>where
T: Sync,
impl<T> Unpin for Metadata<T>where
T: Unpin,
impl<T> UnsafeUnpin for Metadata<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Metadata<T>where
T: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.