#[repr(u32)]pub enum CompositeNodeSpecError {
MissingArgs = 1,
EmptyNodes = 2,
AlreadyExists = 3,
DriverIndexFailure = 4,
DuplicateParents = 5,
UnknownOrdinal_(u32),
}
Expand description
Error codes for the CompositeNodeManager protocol.
Variants§
MissingArgs = 1
EmptyNodes = 2
AlreadyExists = 3
DriverIndexFailure = 4
DuplicateParents = 5
UnknownOrdinal_(u32)
Trait Implementations§
Source§impl Clone for CompositeNodeSpecError
impl Clone for CompositeNodeSpecError
Source§fn clone(&self) -> CompositeNodeSpecError
fn clone(&self) -> CompositeNodeSpecError
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 CompositeNodeSpecError
impl Debug for CompositeNodeSpecError
Source§impl Encodable for CompositeNodeSpecError
impl Encodable for CompositeNodeSpecError
Source§type Encoded = WireCompositeNodeSpecError
type Encoded = WireCompositeNodeSpecError
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 CompositeNodeSpecErrorwhere
___E: ?Sized,
impl<___E> Encode<___E> for CompositeNodeSpecErrorwhere
___E: ?Sized,
Source§impl From<CompositeNodeSpecError> for WireCompositeNodeSpecError
impl From<CompositeNodeSpecError> for WireCompositeNodeSpecError
Source§fn from(natural: CompositeNodeSpecError) -> Self
fn from(natural: CompositeNodeSpecError) -> Self
Converts to this type from the input type.
Source§impl From<WireCompositeNodeSpecError> for CompositeNodeSpecError
impl From<WireCompositeNodeSpecError> for CompositeNodeSpecError
Source§fn from(wire: WireCompositeNodeSpecError) -> Self
fn from(wire: WireCompositeNodeSpecError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CompositeNodeSpecError
impl PartialEq for CompositeNodeSpecError
Source§impl TakeFrom<WireCompositeNodeSpecError> for CompositeNodeSpecError
impl TakeFrom<WireCompositeNodeSpecError> for CompositeNodeSpecError
Source§fn take_from(from: &WireCompositeNodeSpecError) -> Self
fn take_from(from: &WireCompositeNodeSpecError) -> 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 CompositeNodeSpecError
impl Eq for CompositeNodeSpecError
impl StructuralPartialEq for CompositeNodeSpecError
Auto Trait Implementations§
impl Freeze for CompositeNodeSpecError
impl RefUnwindSafe for CompositeNodeSpecError
impl Send for CompositeNodeSpecError
impl Sync for CompositeNodeSpecError
impl Unpin for CompositeNodeSpecError
impl UnwindSafe for CompositeNodeSpecError
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