pub struct EngineReport {
pub name: &'static str,
pub state: EngineState,
}Expand description
One engine’s entry in the report. Engines that are not installed produce none.
Fields§
§name: &'static strThe engine’s name.
state: EngineStateWhether it answered, and what with.
Implementations§
Source§impl EngineReport
impl EngineReport
Sourcepub fn total_bytes(&self) -> Option<u64>
pub fn total_bytes(&self) -> Option<u64>
Total bytes across every row, or None when the engine did not answer.
Sourcepub fn reclaimable_bytes(&self) -> Option<u64>
pub fn reclaimable_bytes(&self) -> Option<u64>
Total reclaimable bytes across every row, or None when it did not answer.
Auto Trait Implementations§
impl Freeze for EngineReport
impl RefUnwindSafe for EngineReport
impl Send for EngineReport
impl Sync for EngineReport
impl Unpin for EngineReport
impl UnsafeUnpin for EngineReport
impl UnwindSafe for EngineReport
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