pub enum SnapshotError {
InternalError,
ReceiverShutdown,
}Expand description
Error conditions when retrieving a snapshot.
Variants§
InternalError
There was an internal error when trying to collect a snapshot.
ReceiverShutdown
A snapshot was requested but the receiver is shutdown.
Trait Implementations§
Source§impl Debug for SnapshotError
impl Debug for SnapshotError
Auto Trait Implementations§
impl Freeze for SnapshotError
impl RefUnwindSafe for SnapshotError
impl Send for SnapshotError
impl Sync for SnapshotError
impl Unpin for SnapshotError
impl UnwindSafe for SnapshotError
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