#[non_exhaustive]pub enum Utility<B: Ump> {
NoOp(NoOp<B>),
Clock(Clock<B>),
Timestamp(Timestamp<B>),
DeltaClockstamp(DeltaClockstamp<B>),
DeltaClockstampTpq(DeltaClockstampTPQ<B>),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoOp(NoOp<B>)
Clock(Clock<B>)
Timestamp(Timestamp<B>)
DeltaClockstamp(DeltaClockstamp<B>)
DeltaClockstampTpq(DeltaClockstampTPQ<B>)
Trait Implementations§
source§impl<B: Ump> From<DeltaClockstamp<B>> for Utility<B>
impl<B: Ump> From<DeltaClockstamp<B>> for Utility<B>
source§fn from(original: DeltaClockstamp<B>) -> Utility<B>
fn from(original: DeltaClockstamp<B>) -> Utility<B>
Converts to this type from the input type.
source§impl<B: Ump> From<DeltaClockstampTPQ<B>> for Utility<B>
impl<B: Ump> From<DeltaClockstampTPQ<B>> for Utility<B>
source§fn from(original: DeltaClockstampTPQ<B>) -> Utility<B>
fn from(original: DeltaClockstampTPQ<B>) -> Utility<B>
Converts to this type from the input type.
source§impl<B: PartialEq + Ump> PartialEq for Utility<B>
impl<B: PartialEq + Ump> PartialEq for Utility<B>
source§impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferResize> RebufferFrom<Utility<A>> for Utility<B>
impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferResize> RebufferFrom<Utility<A>> for Utility<B>
fn rebuffer_from(other: Utility<A>) -> Self
source§impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferTryResize> TryRebufferFrom<Utility<A>> for Utility<B>
impl<A: Ump, B: Ump + BufferMut + BufferDefault + BufferTryResize> TryRebufferFrom<Utility<A>> for Utility<B>
fn try_rebuffer_from(other: Utility<A>) -> Result<Self, BufferOverflow>
impl<B: Eq + Ump> Eq for Utility<B>
impl<B: Ump> StructuralPartialEq for Utility<B>
Auto Trait Implementations§
impl<B> Freeze for Utility<B>where
B: Freeze,
impl<B> RefUnwindSafe for Utility<B>where
B: RefUnwindSafe,
impl<B> Send for Utility<B>where
B: Send,
impl<B> Sync for Utility<B>where
B: Sync,
impl<B> Unpin for Utility<B>where
B: Unpin,
impl<B> UnwindSafe for Utility<B>where
B: 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