pub enum ResourceError {
NotFound,
Internal,
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for ResourceError
impl Clone for ResourceError
Source§fn clone(&self) -> ResourceError
fn clone(&self) -> ResourceError
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 ResourceError
impl Debug for ResourceError
Source§impl Display for ResourceError
impl Display for ResourceError
Source§impl ErrorDomain for ResourceError
impl ErrorDomain for ResourceError
Source§impl<'a> FromValue<'a> for ResourceError
impl<'a> FromValue<'a> for ResourceError
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for ResourceError
impl<'a> FromValueOptional<'a> for ResourceError
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for ResourceError
impl Hash for ResourceError
Source§impl Ord for ResourceError
impl Ord for ResourceError
Source§fn cmp(&self, other: &ResourceError) -> Ordering
fn cmp(&self, other: &ResourceError) -> 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 ResourceError
impl PartialEq for ResourceError
Source§impl PartialOrd for ResourceError
impl PartialOrd for ResourceError
Source§impl StaticType for ResourceError
impl StaticType for ResourceError
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for ResourceError
impl Eq for ResourceError
impl StructuralPartialEq for ResourceError
Auto Trait Implementations§
impl Freeze for ResourceError
impl RefUnwindSafe for ResourceError
impl Send for ResourceError
impl Sync for ResourceError
impl Unpin for ResourceError
impl UnwindSafe for ResourceError
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
.