pub enum WriteVerdict {
Allow,
OutOfSpace {
available: u64,
required: u64,
},
CallTooLarge {
bytes: u64,
limit: u64,
},
RunTooLarge {
written: u64,
limit: u64,
},
}Expand description
Why a write was refused, or that it was not.
Variants§
Allow
Nothing objected.
OutOfSpace
The filesystem is nearly full.
CallTooLarge
This one call is over the per-call ceiling.
RunTooLarge
The run has spent its budget.
Implementations§
Source§impl WriteVerdict
impl WriteVerdict
Trait Implementations§
Source§impl Clone for WriteVerdict
impl Clone for WriteVerdict
Source§fn clone(&self) -> WriteVerdict
fn clone(&self) -> WriteVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WriteVerdict
impl Debug for WriteVerdict
impl Eq for WriteVerdict
Source§impl PartialEq for WriteVerdict
impl PartialEq for WriteVerdict
impl StructuralPartialEq for WriteVerdict
Auto Trait Implementations§
impl Freeze for WriteVerdict
impl RefUnwindSafe for WriteVerdict
impl Send for WriteVerdict
impl Sync for WriteVerdict
impl Unpin for WriteVerdict
impl UnsafeUnpin for WriteVerdict
impl UnwindSafe for WriteVerdict
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.