pub enum TransactionError<KE, VE> {
KeySerialization(KE),
ValueSerialization(VE),
BufferOverflow,
}Expand description
Errors that can occur during transaction buffer operations
Variants§
Trait Implementations§
Source§impl<KE: Error + 'static, VE: Error + 'static> Error for TransactionError<KE, VE>
impl<KE: Error + 'static, VE: Error + 'static> Error for TransactionError<KE, VE>
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<KE, VE> From<BufferOverflowOr<KE>> for TransactionError<KE, VE>
impl<KE, VE> From<BufferOverflowOr<KE>> for TransactionError<KE, VE>
Source§fn from(e: BufferOverflowOr<KE>) -> Self
fn from(e: BufferOverflowOr<KE>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<KE, VE> Freeze for TransactionError<KE, VE>
impl<KE, VE> RefUnwindSafe for TransactionError<KE, VE>where
KE: RefUnwindSafe,
VE: RefUnwindSafe,
impl<KE, VE> Send for TransactionError<KE, VE>
impl<KE, VE> Sync for TransactionError<KE, VE>
impl<KE, VE> Unpin for TransactionError<KE, VE>
impl<KE, VE> UnsafeUnpin for TransactionError<KE, VE>where
KE: UnsafeUnpin,
VE: UnsafeUnpin,
impl<KE, VE> UnwindSafe for TransactionError<KE, VE>where
KE: UnwindSafe,
VE: UnwindSafe,
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