pub struct GraphblasError { /* private fields */ }Implementations§
source§impl GraphblasError
impl GraphblasError
pub fn new(error_type: GraphblasErrorType, explanation: String) -> Self
pub fn error_type(&self) -> GraphblasErrorType
pub fn explanation(&self) -> String
Trait Implementations§
source§impl Clone for GraphblasError
impl Clone for GraphblasError
source§fn clone(&self) -> GraphblasError
fn clone(&self) -> GraphblasError
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 GraphblasError
impl Debug for GraphblasError
source§impl Display for GraphblasError
impl Display for GraphblasError
source§impl Error for GraphblasError
impl Error for GraphblasError
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<GraphblasError> for LogicError
impl From<GraphblasError> for LogicError
source§fn from(error: GraphblasError) -> Self
fn from(error: GraphblasError) -> Self
Converts to this type from the input type.
source§impl From<GraphblasError> for SparseLinearAlgebraError
impl From<GraphblasError> for SparseLinearAlgebraError
source§fn from(error: GraphblasError) -> Self
fn from(error: GraphblasError) -> Self
Converts to this type from the input type.
source§impl From<GraphblasError> for SystemError
impl From<GraphblasError> for SystemError
source§fn from(error: GraphblasError) -> Self
fn from(error: GraphblasError) -> Self
Converts to this type from the input type.
source§impl PartialEq for GraphblasError
impl PartialEq for GraphblasError
source§fn eq(&self, other: &GraphblasError) -> bool
fn eq(&self, other: &GraphblasError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GraphblasError
Auto Trait Implementations§
impl RefUnwindSafe for GraphblasError
impl Send for GraphblasError
impl Sync for GraphblasError
impl Unpin for GraphblasError
impl UnwindSafe for GraphblasError
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