pub enum SearchError {
Show 14 variants
BuildError(String),
LabelFailure {
source: LabelModelError,
},
StateFailure {
source: StateModelError,
},
SearchTreeError {
source: SearchTreeError,
},
NetworkFailure {
source: NetworkError,
},
TerminationModelFailure {
source: TerminationModelError,
},
TraversalModelFailure {
source: TraversalModelError,
},
FrontierModelFailure {
source: FrontierModelError,
},
CostFailure {
source: CostModelError,
},
QueryTerminated(String),
NoPathExistsBetweenVertices(VertexId, VertexId, usize),
NoPathExistsBetweenEdges(EdgeId, EdgeId, usize),
ReadOnlyPoisonError(String),
InternalError(String),
}Variants§
BuildError(String)
LabelFailure
Fields
§
source: LabelModelErrorStateFailure
Fields
§
source: StateModelErrorSearchTreeError
Fields
§
source: SearchTreeErrorNetworkFailure
Fields
§
source: NetworkErrorTerminationModelFailure
Fields
§
source: TerminationModelErrorTraversalModelFailure
Fields
§
source: TraversalModelErrorFrontierModelFailure
Fields
§
source: FrontierModelErrorCostFailure
Fields
§
source: CostModelErrorQueryTerminated(String)
NoPathExistsBetweenVertices(VertexId, VertexId, usize)
NoPathExistsBetweenEdges(EdgeId, EdgeId, usize)
ReadOnlyPoisonError(String)
InternalError(String)
Trait Implementations§
Source§impl Debug for SearchError
impl Debug for SearchError
Source§impl Display for SearchError
impl Display for SearchError
Source§impl Error for SearchError
impl Error for SearchError
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<CostModelError> for SearchError
impl From<CostModelError> for SearchError
Source§fn from(source: CostModelError) -> Self
fn from(source: CostModelError) -> Self
Converts to this type from the input type.
Source§impl From<FrontierModelError> for SearchError
impl From<FrontierModelError> for SearchError
Source§fn from(source: FrontierModelError) -> Self
fn from(source: FrontierModelError) -> Self
Converts to this type from the input type.
Source§impl From<LabelModelError> for SearchError
impl From<LabelModelError> for SearchError
Source§fn from(source: LabelModelError) -> Self
fn from(source: LabelModelError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkError> for SearchError
impl From<NetworkError> for SearchError
Source§fn from(source: NetworkError) -> Self
fn from(source: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<SearchTreeError> for SearchError
impl From<SearchTreeError> for SearchError
Source§fn from(source: SearchTreeError) -> Self
fn from(source: SearchTreeError) -> Self
Converts to this type from the input type.
Source§impl From<StateModelError> for SearchError
impl From<StateModelError> for SearchError
Source§fn from(source: StateModelError) -> Self
fn from(source: StateModelError) -> Self
Converts to this type from the input type.
Source§impl From<TerminationModelError> for SearchError
impl From<TerminationModelError> for SearchError
Source§fn from(source: TerminationModelError) -> Self
fn from(source: TerminationModelError) -> 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 SearchError
impl !RefUnwindSafe for SearchError
impl Send for SearchError
impl Sync for SearchError
impl Unpin for SearchError
impl !UnwindSafe for SearchError
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