Enum transact::state::error::StatePruneError [−][src]
Expand description
An error that may occur on a state prune.
Variants
InvalidStateId(String)
Attempted to prune a state id that does not exist.
Tuple Fields of InvalidStateId
0: String
An error occurred with the underlying storage mechanism.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for StatePruneError
impl !Send for StatePruneError
impl !Sync for StatePruneError
impl Unpin for StatePruneError
impl !UnwindSafe for StatePruneError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr
, which was obtained from a prior call to Self::borrow()
,
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self
. Read more