pub enum StructuralModelError {
Empty {
kind: &'static str,
},
InvalidFormat {
kind: &'static str,
value: String,
message: &'static str,
},
}Expand description
A structural value failed an invariant at construction time.
Variants§
Trait Implementations§
Source§impl Clone for StructuralModelError
impl Clone for StructuralModelError
Source§impl Debug for StructuralModelError
impl Debug for StructuralModelError
Source§impl Display for StructuralModelError
impl Display for StructuralModelError
impl Eq for StructuralModelError
Source§impl Error for StructuralModelError
impl Error for StructuralModelError
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 StructuralModelError
impl PartialEq for StructuralModelError
impl StructuralPartialEq for StructuralModelError
Auto Trait Implementations§
impl Freeze for StructuralModelError
impl RefUnwindSafe for StructuralModelError
impl Send for StructuralModelError
impl Sync for StructuralModelError
impl Unpin for StructuralModelError
impl UnsafeUnpin for StructuralModelError
impl UnwindSafe for StructuralModelError
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