pub enum TraversalModelError {
BuildError(String),
TraversalModelFailure(String),
InternalError(String),
UnitsFailure {
source: UnitError,
},
NetworkFailure {
source: NetworkError,
},
StateError {
source: StateModelError,
},
}Variants§
BuildError(String)
TraversalModelFailure(String)
InternalError(String)
UnitsFailure
NetworkFailure
Fields
§
source: NetworkErrorStateError
Fields
§
source: StateModelErrorTrait Implementations§
Source§impl Debug for TraversalModelError
impl Debug for TraversalModelError
Source§impl Display for TraversalModelError
impl Display for TraversalModelError
Source§impl Error for TraversalModelError
impl Error for TraversalModelError
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<NetworkError> for TraversalModelError
impl From<NetworkError> for TraversalModelError
Source§fn from(source: NetworkError) -> Self
fn from(source: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<StateModelError> for TraversalModelError
impl From<StateModelError> for TraversalModelError
Source§fn from(source: StateModelError) -> Self
fn from(source: StateModelError) -> Self
Converts to this type from the input type.
Source§impl From<TraversalModelError> for CompassConfigurationError
impl From<TraversalModelError> for CompassConfigurationError
Source§fn from(source: TraversalModelError) -> Self
fn from(source: TraversalModelError) -> Self
Converts to this type from the input type.
Source§impl From<TraversalModelError> for SearchError
impl From<TraversalModelError> for SearchError
Source§fn from(source: TraversalModelError) -> Self
fn from(source: TraversalModelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TraversalModelError
impl !RefUnwindSafe for TraversalModelError
impl Send for TraversalModelError
impl Sync for TraversalModelError
impl Unpin for TraversalModelError
impl !UnwindSafe for TraversalModelError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more