pub enum MakeChangeError<T: GraphTxnT> {
Graph(TxnErr<<T as GraphTxnT>::GraphError>),
InvalidChange,
}Variants§
Graph(TxnErr<<T as GraphTxnT>::GraphError>)
InvalidChange
Trait Implementations§
Source§impl<T: GraphTxnT> Debug for MakeChangeError<T>
impl<T: GraphTxnT> Debug for MakeChangeError<T>
Source§impl<T: GraphTxnT> Display for MakeChangeError<T>
impl<T: GraphTxnT> Display for MakeChangeError<T>
Source§impl<T: GraphTxnT> Error for MakeChangeError<T>
impl<T: GraphTxnT> Error for MakeChangeError<T>
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<T: GraphTxnT + TreeTxnT> From<MakeChangeError<T>> for LocalApplyError<T>
impl<T: GraphTxnT + TreeTxnT> From<MakeChangeError<T>> for LocalApplyError<T>
Source§fn from(source: MakeChangeError<T>) -> Self
fn from(source: MakeChangeError<T>) -> Self
Converts to this type from the input type.
Source§impl<C: Error, T: GraphTxnT + TreeTxnT> From<MakeChangeError<T>> for ApplyError<C, T>
impl<C: Error, T: GraphTxnT + TreeTxnT> From<MakeChangeError<T>> for ApplyError<C, T>
Source§fn from(err: MakeChangeError<T>) -> Self
fn from(err: MakeChangeError<T>) -> Self
Converts to this type from the input type.
Source§impl<T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for MakeChangeError<T>
impl<T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for MakeChangeError<T>
Auto Trait Implementations§
impl<T> Freeze for MakeChangeError<T>
impl<T> RefUnwindSafe for MakeChangeError<T>
impl<T> Send for MakeChangeError<T>
impl<T> Sync for MakeChangeError<T>
impl<T> Unpin for MakeChangeError<T>
impl<T> UnsafeUnpin for MakeChangeError<T>
impl<T> UnwindSafe for MakeChangeError<T>
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