pub struct OsdSyncReport {
pub seq: u16,
pub state: OsdSyncState,
pub written: u16,
pub refused: u16,
pub reason: String,
}Expand description
How a unit is getting on with a sync.
A unit reports taking, then done or failed. One in power save reports deferred, and reports again once it takes the sync on waking.
Fields§
§seq: u16The sync it reports on, numbered by the source that sent it.
state: OsdSyncStateHow far it has got.
written: u16The settings it wrote.
refused: u16The settings it refused.
reason: StringWhy it failed or refused any.
Trait Implementations§
Source§impl Clone for OsdSyncReport
impl Clone for OsdSyncReport
Source§impl Debug for OsdSyncReport
impl Debug for OsdSyncReport
impl Eq for OsdSyncReport
Source§impl PartialEq for OsdSyncReport
impl PartialEq for OsdSyncReport
impl StructuralPartialEq for OsdSyncReport
Auto Trait Implementations§
impl Freeze for OsdSyncReport
impl RefUnwindSafe for OsdSyncReport
impl Send for OsdSyncReport
impl Sync for OsdSyncReport
impl Unpin for OsdSyncReport
impl UnsafeUnpin for OsdSyncReport
impl UnwindSafe for OsdSyncReport
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