Struct graphblas_sparse_linear_algebra::error::LogicError
source · pub struct LogicError { /* private fields */ }Implementations§
source§impl LogicError
impl LogicError
pub fn new( error_type: LogicErrorType, explanation: String, source: Option<LogicErrorSource> ) -> Self
pub fn error_type(&self) -> LogicErrorType
pub fn explanation(&self) -> String
Trait Implementations§
source§impl Debug for LogicError
impl Debug for LogicError
source§impl Display for LogicError
impl Display for LogicError
source§impl Error for LogicError
impl Error for LogicError
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<LogicError> for SparseLinearAlgebraError
impl From<LogicError> for SparseLinearAlgebraError
source§fn from(error: LogicError) -> Self
fn from(error: LogicError) -> Self
Converts to this type from the input type.
source§impl From<TryFromIntError> for LogicError
impl From<TryFromIntError> for LogicError
source§fn from(error: TryFromIntError) -> Self
fn from(error: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LogicError
impl RefUnwindSafe for LogicError
impl Send for LogicError
impl Sync for LogicError
impl Unpin for LogicError
impl UnwindSafe for LogicError
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