Struct capnp::NotInSchema [−][src]
pub struct NotInSchema(pub u16);
Expand description
An enum value or union discriminant that was not found among those defined in a schema.
Trait Implementations
impl Clone for NotInSchema
[src]
impl Clone for NotInSchema
[src]fn clone(&self) -> NotInSchema
[src]
fn clone(&self) -> NotInSchema
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for NotInSchema
[src]
impl Debug for NotInSchema
[src]impl Display for NotInSchema
[src]
impl Display for NotInSchema
[src]impl Error for NotInSchema
[src]
impl Error for NotInSchema
[src]fn description<'a>(&'a self) -> &'a str
[src]
fn description<'a>(&'a self) -> &'a str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
impl From<NotInSchema> for Error
[src]
impl From<NotInSchema> for Error
[src]fn from(e: NotInSchema) -> Error
[src]
fn from(e: NotInSchema) -> Error
[src]Performs the conversion.
impl PartialEq<NotInSchema> for NotInSchema
[src]
impl PartialEq<NotInSchema> for NotInSchema
[src]fn eq(&self, other: &NotInSchema) -> bool
[src]
fn eq(&self, other: &NotInSchema) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &NotInSchema) -> bool
[src]
fn ne(&self, other: &NotInSchema) -> bool
[src]This method tests for !=
.
impl Copy for NotInSchema
[src]
impl StructuralPartialEq for NotInSchema
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more