pub struct CausalityGraphError(pub String);Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Debug for CausalityGraphError
impl Debug for CausalityGraphError
Source§impl Display for CausalityGraphError
impl Display for CausalityGraphError
Source§impl Error for CausalityGraphError
impl Error for CausalityGraphError
1.30.0 · 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<CausalityError> for CausalityGraphError
impl From<CausalityError> for CausalityGraphError
Source§fn from(err: CausalityError) -> Self
fn from(err: CausalityError) -> Self
Converts to this type from the input type.
Source§impl From<GraphError> for CausalityGraphError
This implementation allows for the automatic conversion of a GraphError
from the ultragraph crate into a CausalityGraphError. This is essential
for using the ? operator to propagate errors cleanly.
impl From<GraphError> for CausalityGraphError
This implementation allows for the automatic conversion of a GraphError
from the ultragraph crate into a CausalityGraphError. This is essential
for using the ? operator to propagate errors cleanly.
Source§fn from(err: GraphError) -> Self
fn from(err: GraphError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CausalityGraphError
impl RefUnwindSafe for CausalityGraphError
impl Send for CausalityGraphError
impl Sync for CausalityGraphError
impl Unpin for CausalityGraphError
impl UnwindSafe for CausalityGraphError
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