pub struct MeasurementError {
pub point: SamplePoint,
pub kind: MeasurementKind,
}Expand description
A requested memory observation is unavailable, not an exhausted resource.
Fields§
§point: SamplePointWhere observation failed.
kind: MeasurementKindThe failed measurement, without inventing an observed byte count.
Implementations§
Source§impl MeasurementError
impl MeasurementError
An unavailable default ceiling because physical RAM could not be read.
An unavailable process RSS observation.
Trait Implementations§
Source§impl Clone for MeasurementError
impl Clone for MeasurementError
impl Copy for MeasurementError
Source§impl Debug for MeasurementError
impl Debug for MeasurementError
Source§impl Display for MeasurementError
impl Display for MeasurementError
impl Eq for MeasurementError
Source§impl Error for MeasurementError
impl Error for MeasurementError
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 MeasurementError
impl PartialEq for MeasurementError
impl StructuralPartialEq for MeasurementError
Auto Trait Implementations§
impl Forget for MeasurementError
impl Freeze for MeasurementError
impl Move for MeasurementError
impl RefUnwindSafe for MeasurementError
impl Send for MeasurementError
impl Sync for MeasurementError
impl Unpin for MeasurementError
impl UnsafeUnpin for MeasurementError
impl UnwindSafe for MeasurementError
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