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<NotInSchema> for NotInSchema
impl PartialEq<NotInSchema> 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 ==
.