pub struct BinarySyncState {
pub url: String,
pub peer: String,
pub merge_type: String,
pub file_mtime_ns_str: Option<String>,
pub file_read_only: Option<bool>,
pub aborted: bool,
}Expand description
State for a binary sync operation.
Fields§
§url: StringThe URL being synced.
peer: StringPeer ID for this sync.
merge_type: StringMerge type (should be “aww” for binary).
file_mtime_ns_str: Option<String>Last known file modification time (nanoseconds as string).
file_read_only: Option<bool>Whether the file is read-only.
aborted: boolAbort controller.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinarySyncState
impl RefUnwindSafe for BinarySyncState
impl Send for BinarySyncState
impl Sync for BinarySyncState
impl Unpin for BinarySyncState
impl UnwindSafe for BinarySyncState
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