pub struct Answered {
pub endpoint: [u8; 32],
pub replica: Option<Replica>,
pub synced: Result<Synced, NodeError>,
pub refused: usize,
pub deleted: Vec<PathBuf>,
}Expand description
A sync that another replica started.
Fields§
§endpoint: [u8; 32]The other replica’s endpoint ID.
replica: Option<Replica>The other replica, as the library lists it after the sync, if it does.
synced: Result<Synced, NodeError>What the sync did, or why it failed.
refused: usizeHow many blobs and changes it refused, as the disk would have had less than 1 GiB free.
deleted: Vec<PathBuf>The copies of checkouts on this device that it deleted, as it brought purges of their content.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Answered
impl !UnwindSafe for Answered
impl Forget for Answered
impl Freeze for Answered
impl Move for Answered
impl Send for Answered
impl Sync for Answered
impl Unpin for Answered
impl UnsafeUnpin for Answered
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