#[non_exhaustive]pub enum TrappedState {
True,
False,
Unknown,
}Expand description
/Trapped value as written to the Info dict.
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.
Trait Implementations§
Source§impl Clone for TrappedState
impl Clone for TrappedState
Source§fn clone(&self) -> TrappedState
fn clone(&self) -> TrappedState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrappedState
Source§impl Debug for TrappedState
impl Debug for TrappedState
impl Eq for TrappedState
Source§impl PartialEq for TrappedState
impl PartialEq for TrappedState
impl StructuralPartialEq for TrappedState
Auto Trait Implementations§
impl Freeze for TrappedState
impl RefUnwindSafe for TrappedState
impl Send for TrappedState
impl Sync for TrappedState
impl Unpin for TrappedState
impl UnsafeUnpin for TrappedState
impl UnwindSafe for TrappedState
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