pub struct Synced {
pub added: Vec<String>,
pub changed: Vec<String>,
pub deleted: Vec<String>,
pub unchanged: u64,
pub entries: Range<u64>,
}Expand description
What Sidecar::sync_dir recorded.
Fields§
§added: Vec<String>Paths the log did not hold.
changed: Vec<String>Paths whose bytes differ from the log’s latest put.
deleted: Vec<String>Paths the log held that the directory lacks.
unchanged: u64Paths whose bytes the log already holds.
entries: Range<u64>The log range the changes went to, empty when nothing changed.
Trait Implementations§
impl Eq for Synced
impl StructuralPartialEq for Synced
Auto Trait Implementations§
impl Freeze for Synced
impl RefUnwindSafe for Synced
impl Send for Synced
impl Sync for Synced
impl Unpin for Synced
impl UnsafeUnpin for Synced
impl UnwindSafe for Synced
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