pub struct MdSync {
pub action: String,
pub percent: f32,
pub finish_minutes: Option<f32>,
pub speed_kib_per_sec: Option<u64>,
}Expand description
Progress of an md background operation.
Fields§
§action: StringOperation name: "resync", "recovery", "reshape" or "check".
percent: f32Completion percentage.
finish_minutes: Option<f32>Estimated minutes until completion.
speed_kib_per_sec: Option<u64>Current speed in KiB/s.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MdSync
impl<'de> Deserialize<'de> for MdSync
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MdSync
impl RefUnwindSafe for MdSync
impl Send for MdSync
impl Sync for MdSync
impl Unpin for MdSync
impl UnsafeUnpin for MdSync
impl UnwindSafe for MdSync
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