pub struct ClearOutcome {
pub engine: &'static str,
pub steps: Vec<StepOutcome>,
pub before: u64,
pub after: u64,
}Expand description
What devp caches clear <engine> did, measured rather than claimed.
Fields§
§engine: &'static strThe engine.
steps: Vec<StepOutcome>Each step, in the order it ran.
before: u64The engine’s own total before, from system df.
after: u64The engine’s own total after, asked again rather than subtracted.
Implementations§
Auto Trait Implementations§
impl Freeze for ClearOutcome
impl RefUnwindSafe for ClearOutcome
impl Send for ClearOutcome
impl Sync for ClearOutcome
impl Unpin for ClearOutcome
impl UnsafeUnpin for ClearOutcome
impl UnwindSafe for ClearOutcome
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more