pub enum BlockManagerResetError {
BlockCountMismatch {
expected: usize,
actual: usize,
},
}Expand description
Error types for BlockManager::reset_inactive_pool.
Variants§
Trait Implementations§
Source§impl Debug for BlockManagerResetError
impl Debug for BlockManagerResetError
Source§impl Display for BlockManagerResetError
impl Display for BlockManagerResetError
Source§impl Error for BlockManagerResetError
impl Error for BlockManagerResetError
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()
Auto Trait Implementations§
impl Freeze for BlockManagerResetError
impl RefUnwindSafe for BlockManagerResetError
impl Send for BlockManagerResetError
impl Sync for BlockManagerResetError
impl Unpin for BlockManagerResetError
impl UnsafeUnpin for BlockManagerResetError
impl UnwindSafe for BlockManagerResetError
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