pub enum GibsonError {
Invalid(&'static str),
Component {
component: usize,
reason: &'static str,
},
Coordinates(DomainError),
}Variants§
Trait Implementations§
Source§impl Debug for GibsonError
impl Debug for GibsonError
Source§impl Display for GibsonError
impl Display for GibsonError
Source§impl Error for GibsonError
impl Error for GibsonError
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 From<DomainError> for GibsonError
impl From<DomainError> for GibsonError
Source§fn from(source: DomainError) -> Self
fn from(source: DomainError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GibsonError
impl RefUnwindSafe for GibsonError
impl Send for GibsonError
impl Sync for GibsonError
impl Unpin for GibsonError
impl UnsafeUnpin for GibsonError
impl UnwindSafe for GibsonError
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