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
sourceimpl Clone for NotInSchema
impl Clone for NotInSchema
sourcefn clone(&self) -> NotInSchema
fn clone(&self) -> NotInSchema
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NotInSchema
impl Debug for NotInSchema
sourceimpl Display for NotInSchema
impl Display for NotInSchema
sourceimpl Error for NotInSchema
impl Error for NotInSchema
sourcefn description<'a>(&'a self) -> &'a str
fn description<'a>(&'a self) -> &'a str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
sourceimpl From<NotInSchema> for Error
impl From<NotInSchema> for Error
sourcefn from(e: NotInSchema) -> Error
fn from(e: NotInSchema) -> Error
Converts to this type from the input type.
sourceimpl PartialEq<NotInSchema> for NotInSchema
impl PartialEq<NotInSchema> for NotInSchema
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &NotInSchema) -> bool
fn ne(&self, other: &NotInSchema) -> bool
This method tests for !=
.
impl Copy for NotInSchema
impl StructuralPartialEq for NotInSchema
Auto Trait Implementations
impl RefUnwindSafe for NotInSchema
impl Send for NotInSchema
impl Sync for NotInSchema
impl Unpin for NotInSchema
impl UnwindSafe for NotInSchema
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more