pub enum SpillError {
CapacityExceeded {
limit: usize,
attempted: usize,
},
StorageFailed(String),
Timeout,
Rejected(String),
Other(String),
}Expand description
Strongly typed error returned when persisting tool output to an OutputSpillSink.
Variants§
CapacityExceeded
The storage backend or buffer capacity was exceeded.
StorageFailed(String)
Storage I/O or persistence failure.
Timeout
The spill operation timed out.
Rejected(String)
The spill operation was rejected by policy or authorization.
Other(String)
Other backend-specific error.
Trait Implementations§
Source§impl Clone for SpillError
impl Clone for SpillError
Source§impl Debug for SpillError
impl Debug for SpillError
Source§impl Display for SpillError
impl Display for SpillError
impl Eq for SpillError
Source§impl Error for SpillError
impl Error for SpillError
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()
Source§impl PartialEq for SpillError
impl PartialEq for SpillError
impl StructuralPartialEq for SpillError
Auto Trait Implementations§
impl Freeze for SpillError
impl RefUnwindSafe for SpillError
impl Send for SpillError
impl Sync for SpillError
impl Unpin for SpillError
impl UnsafeUnpin for SpillError
impl UnwindSafe for SpillError
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.