#[non_exhaustive]pub enum SnapshotError {
Create,
}
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.
Create
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotError
impl Clone for SnapshotError
Source§fn clone(&self) -> SnapshotError
fn clone(&self) -> SnapshotError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SnapshotError
impl Debug for SnapshotError
Source§impl Display for SnapshotError
impl Display for SnapshotError
Source§impl ErrorDomain for SnapshotError
impl ErrorDomain for SnapshotError
Source§impl<'a> FromValue<'a> for SnapshotError
impl<'a> FromValue<'a> for SnapshotError
Source§type Checker = GenericValueTypeChecker<SnapshotError>
type Checker = GenericValueTypeChecker<SnapshotError>
Value type checker.
Source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moreSource§impl Hash for SnapshotError
impl Hash for SnapshotError
Source§impl Ord for SnapshotError
impl Ord for SnapshotError
Source§fn cmp(&self, other: &SnapshotError) -> Ordering
fn cmp(&self, other: &SnapshotError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SnapshotError
impl PartialEq for SnapshotError
Source§impl PartialOrd for SnapshotError
impl PartialOrd for SnapshotError
Source§impl StaticType for SnapshotError
impl StaticType for SnapshotError
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.Source§impl ToValue for SnapshotError
impl ToValue for SnapshotError
Source§impl ValueType for SnapshotError
impl ValueType for SnapshotError
Source§type Type = SnapshotError
type Type = SnapshotError
Type to get the
Type
from. Read moreimpl Copy for SnapshotError
impl Eq for SnapshotError
impl StructuralPartialEq for SnapshotError
Auto Trait Implementations§
impl Freeze for SnapshotError
impl RefUnwindSafe for SnapshotError
impl Send for SnapshotError
impl Sync for SnapshotError
impl Unpin for SnapshotError
impl UnwindSafe for SnapshotError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.