pub enum Instance<T> {
None,
Table(Vec<T>),
Differ,
}Expand description
An instance’s table (health.v2 §2.10, alarms.v2 §4): the one table
among the contracts it implements, the revisions its descriptor names.
Variants§
None
No named revision in hand holds one.
Table(Vec<T>)
The one list they hold.
Differ
Two hold two different lists: no table.
Implementations§
Trait Implementations§
impl<T: Eq> Eq for Instance<T>
impl<T: PartialEq> StructuralPartialEq for Instance<T>
Auto Trait Implementations§
impl<T> Forget for Instance<T>
impl<T> Freeze for Instance<T>
impl<T> Move for Instance<T>
impl<T> RefUnwindSafe for Instance<T>where
T: RefUnwindSafe,
impl<T> Send for Instance<T>
impl<T> Sync for Instance<T>
impl<T> Unpin for Instance<T>
impl<T> UnsafeUnpin for Instance<T>
impl<T> UnwindSafe for Instance<T>where
RawVecInner: UnwindSafe,
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more