pub enum SandboxStateError {
Storage(String),
StaleGeneration {
sandbox_id: Uuid,
current: i64,
carried: i64,
},
WrongSandbox {
current: Uuid,
carried: Uuid,
},
StateTooLarge {
field: &'static str,
size: usize,
limit: usize,
},
}Variants§
Trait Implementations§
Source§impl Debug for SandboxStateError
impl Debug for SandboxStateError
Source§impl Display for SandboxStateError
impl Display for SandboxStateError
Source§impl Error for SandboxStateError
impl Error for SandboxStateError
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 SandboxStateError
impl RefUnwindSafe for SandboxStateError
impl Send for SandboxStateError
impl Sync for SandboxStateError
impl Unpin for SandboxStateError
impl UnsafeUnpin for SandboxStateError
impl UnwindSafe for SandboxStateError
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