pub struct DiskSpaceExhausted {
pub available_mb: usize,
pub required_mb: usize,
pub is_soft_limit: bool,
pub message: String,
}Expand description
Disk space limit exceeded error.
Fields§
§available_mb: usize§required_mb: usize§is_soft_limit: bool§message: StringTrait Implementations§
Source§impl Clone for DiskSpaceExhausted
impl Clone for DiskSpaceExhausted
Source§fn clone(&self) -> DiskSpaceExhausted
fn clone(&self) -> DiskSpaceExhausted
Returns a duplicate of the value. Read more
1.0.0 · 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 DiskSpaceExhausted
impl Debug for DiskSpaceExhausted
Source§impl Display for DiskSpaceExhausted
impl Display for DiskSpaceExhausted
Source§impl Error for DiskSpaceExhausted
impl Error for DiskSpaceExhausted
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 DiskSpaceExhausted
impl RefUnwindSafe for DiskSpaceExhausted
impl Send for DiskSpaceExhausted
impl Sync for DiskSpaceExhausted
impl Unpin for DiskSpaceExhausted
impl UnsafeUnpin for DiskSpaceExhausted
impl UnwindSafe for DiskSpaceExhausted
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