Struct capnp::NotInSchema
source · pub struct NotInSchema(pub u16);
Expand description
An enum value or union discriminant that was not found among those defined in a schema.
Tuple Fields§
§0: u16
Trait Implementations§
source§impl Clone for NotInSchema
impl Clone for NotInSchema
source§fn clone(&self) -> NotInSchema
fn clone(&self) -> NotInSchema
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 NotInSchema
impl Debug for NotInSchema
source§impl Display for NotInSchema
impl Display for NotInSchema
source§impl Error for NotInSchema
impl Error for NotInSchema
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<NotInSchema> for Error
impl From<NotInSchema> for Error
source§fn from(e: NotInSchema) -> Self
fn from(e: NotInSchema) -> Self
Converts to this type from the input type.
source§impl PartialEq for NotInSchema
impl PartialEq for NotInSchema
source§fn eq(&self, other: &NotInSchema) -> bool
fn eq(&self, other: &NotInSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NotInSchema
impl Eq for NotInSchema
impl StructuralPartialEq for NotInSchema
Auto Trait Implementations§
impl Freeze for NotInSchema
impl RefUnwindSafe for NotInSchema
impl Send for NotInSchema
impl Sync for NotInSchema
impl Unpin for NotInSchema
impl UnwindSafe for NotInSchema
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