#[non_exhaustive]pub enum AddChildError {
TooManyNodes,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TooManyNodes
Trait Implementations§
Source§impl Debug for AddChildError
impl Debug for AddChildError
Source§impl Display for AddChildError
impl Display for AddChildError
Source§impl Error for AddChildError
impl Error for AddChildError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for AddChildError
impl PartialEq for AddChildError
impl StructuralPartialEq for AddChildError
Auto Trait Implementations§
impl Freeze for AddChildError
impl RefUnwindSafe for AddChildError
impl Send for AddChildError
impl Sync for AddChildError
impl Unpin for AddChildError
impl UnwindSafe for AddChildError
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