#[repr(u32)]pub enum NamespaceError {
Shadow = 1,
Duplicate = 2,
Conversion = 3,
BadEntry = 4,
DictionaryRead = 5,
UnknownOrdinal_(u32),
}
Expand description
Error returned from methods in Namespace
.
Variants§
Trait Implementations§
Source§impl Clone for NamespaceError
impl Clone for NamespaceError
Source§fn clone(&self) -> NamespaceError
fn clone(&self) -> NamespaceError
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 NamespaceError
impl Debug for NamespaceError
Source§impl Encodable for NamespaceError
impl Encodable for NamespaceError
Source§type Encoded = WireNamespaceError
type Encoded = WireNamespaceError
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 NamespaceErrorwhere
___E: ?Sized,
impl<___E> Encode<___E> for NamespaceErrorwhere
___E: ?Sized,
Source§impl From<NamespaceError> for WireNamespaceError
impl From<NamespaceError> for WireNamespaceError
Source§fn from(natural: NamespaceError) -> Self
fn from(natural: NamespaceError) -> Self
Converts to this type from the input type.
Source§impl From<WireNamespaceError> for NamespaceError
impl From<WireNamespaceError> for NamespaceError
Source§fn from(wire: WireNamespaceError) -> Self
fn from(wire: WireNamespaceError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NamespaceError
impl PartialEq for NamespaceError
Source§impl TakeFrom<WireNamespaceError> for NamespaceError
impl TakeFrom<WireNamespaceError> for NamespaceError
Source§fn take_from(from: &WireNamespaceError) -> Self
fn take_from(from: &WireNamespaceError) -> 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 NamespaceError
impl Eq for NamespaceError
impl StructuralPartialEq for NamespaceError
Auto Trait Implementations§
impl Freeze for NamespaceError
impl RefUnwindSafe for NamespaceError
impl Send for NamespaceError
impl Sync for NamespaceError
impl Unpin for NamespaceError
impl UnwindSafe for NamespaceError
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