pub enum AbortInfo {
User(u64, Location),
Internal(StatusCode, Location),
}
Variants
User(u64, Location)
User-specific abort
Internal(StatusCode, Location)
Internal abort (e.g., integer overflow or resource does not exist in global storage)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AbortInfo
impl Send for AbortInfo
impl Sync for AbortInfo
impl Unpin for AbortInfo
impl UnwindSafe for AbortInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more