Enum primitives::DomainError
source · Variants
InvalidArgument(String)
RuleViolation(String)
Trait Implementations
sourceimpl Debug for DomainError
impl Debug for DomainError
sourceimpl Display for DomainError
impl Display for DomainError
sourceimpl Error for DomainError
impl Error for DomainError
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourceimpl From<Error> for DomainError
impl From<Error> for DomainError
sourceimpl PartialEq<DomainError> for DomainError
impl PartialEq<DomainError> for DomainError
sourcefn eq(&self, other: &DomainError) -> bool
fn eq(&self, other: &DomainError) -> bool
impl Eq for DomainError
impl StructuralEq for DomainError
impl StructuralPartialEq for DomainError
Auto Trait Implementations
impl RefUnwindSafe for DomainError
impl Send for DomainError
impl Sync for DomainError
impl Unpin for DomainError
impl UnwindSafe for DomainError
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