#[repr(u32)]pub enum DictionaryError {
NotFound = 1,
AlreadyExists = 2,
BadCapability = 3,
InvalidKey = 4,
NotCloneable = 5,
UnknownOrdinal_(u32),
}
Expand description
Error returned from [CapabilityStore/Dictionary*] methods.
Variants§
NotFound = 1
AlreadyExists = 2
BadCapability = 3
InvalidKey = 4
NotCloneable = 5
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl Clone for DictionaryError
impl Clone for DictionaryError
Source§fn clone(&self) -> DictionaryError
fn clone(&self) -> DictionaryError
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 DictionaryError
impl Debug for DictionaryError
Source§impl Encodable for DictionaryError
impl Encodable for DictionaryError
Source§type Encoded = WireDictionaryError
type Encoded = WireDictionaryError
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for DictionaryErrorwhere
___E: ?Sized,
impl<___E> Encode<___E> for DictionaryErrorwhere
___E: ?Sized,
Source§impl From<DictionaryError> for WireDictionaryError
impl From<DictionaryError> for WireDictionaryError
Source§fn from(natural: DictionaryError) -> Self
fn from(natural: DictionaryError) -> Self
Converts to this type from the input type.
Source§impl From<WireDictionaryError> for DictionaryError
impl From<WireDictionaryError> for DictionaryError
Source§fn from(wire: WireDictionaryError) -> Self
fn from(wire: WireDictionaryError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DictionaryError
impl PartialEq for DictionaryError
Source§impl TakeFrom<WireDictionaryError> for DictionaryError
impl TakeFrom<WireDictionaryError> for DictionaryError
Source§fn take_from(from: &WireDictionaryError) -> Self
fn take_from(from: &WireDictionaryError) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreimpl Copy for DictionaryError
impl Eq for DictionaryError
impl StructuralPartialEq for DictionaryError
Auto Trait Implementations§
impl Freeze for DictionaryError
impl RefUnwindSafe for DictionaryError
impl Send for DictionaryError
impl Sync for DictionaryError
impl Unpin for DictionaryError
impl UnwindSafe for DictionaryError
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