pub enum ICoWError {
ExclusiveLockPending,
WouldBlock,
AlreadyUpdated,
}Expand description
Errors which may be returned.
Variants§
ExclusiveLockPending
An attempt to write to the instance using non exclusive copy-on-write operation while the exclusive is still going.
WouldBlock
Is issued if “exponential backoff has completed and blocking the thread is advised”.
AlreadyUpdated
Duplicate write operation prevented.
Trait Implementations§
impl Copy for ICoWError
impl Eq for ICoWError
impl StructuralPartialEq for ICoWError
Auto Trait Implementations§
impl Freeze for ICoWError
impl RefUnwindSafe for ICoWError
impl Send for ICoWError
impl Sync for ICoWError
impl Unpin for ICoWError
impl UnwindSafe for ICoWError
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