#[repr(C)]pub enum PathResolutionError {
CoreXError(CoreXError),
CatlibError(CatlibError),
Generic(String),
}
Variants§
Trait Implementations§
source§impl Clone for PathResolutionError
impl Clone for PathResolutionError
source§fn clone(&self) -> PathResolutionError
fn clone(&self) -> PathResolutionError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PathResolutionError
impl Debug for PathResolutionError
source§impl Display for PathResolutionError
impl Display for PathResolutionError
source§impl Error for PathResolutionError
impl Error for PathResolutionError
source§fn 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 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CatlibError> for PathResolutionError
impl From<CatlibError> for PathResolutionError
source§fn from(source: CatlibError) -> Self
fn from(source: CatlibError) -> Self
Converts to this type from the input type.
source§impl From<CoreXError> for PathResolutionError
impl From<CoreXError> for PathResolutionError
source§fn from(source: CoreXError) -> Self
fn from(source: CoreXError) -> Self
Converts to this type from the input type.
source§impl From<PathResolutionError> for DfsFrontendError
impl From<PathResolutionError> for DfsFrontendError
source§fn from(source: PathResolutionError) -> Self
fn from(source: PathResolutionError) -> Self
Converts to this type from the input type.
source§impl PartialEq<PathResolutionError> for PathResolutionError
impl PartialEq<PathResolutionError> for PathResolutionError
source§fn eq(&self, other: &PathResolutionError) -> bool
fn eq(&self, other: &PathResolutionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PathResolutionError
impl StructuralEq for PathResolutionError
impl StructuralPartialEq for PathResolutionError
Auto Trait Implementations§
impl RefUnwindSafe for PathResolutionError
impl Send for PathResolutionError
impl Sync for PathResolutionError
impl Unpin for PathResolutionError
impl UnwindSafe for PathResolutionError
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.