pub enum WordState<T> {
Erased,
Partial,
Valid(T),
}Expand description
Possible states of some storage representation as a word.
Variants§
Erased
The word is still erased.
Partial
The word is partially written.
Valid(T)
Holds the decoded version of a valid word.
Auto Trait Implementations§
impl<T> Freeze for WordState<T>where
T: Freeze,
impl<T> RefUnwindSafe for WordState<T>where
T: RefUnwindSafe,
impl<T> Send for WordState<T>where
T: Send,
impl<T> Sync for WordState<T>where
T: Sync,
impl<T> Unpin for WordState<T>where
T: Unpin,
impl<T> UnsafeUnpin for WordState<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for WordState<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