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 moresourceimpl 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
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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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