pub enum Held {
Started {
port: Option<u16>,
refused: Option<(u16, String)>,
},
Lent,
Answered(Answered),
Synced(SyncedWith),
Checked(CheckRun),
Removed(Result<RemovalPass, NodeError>),
BackedUp(BackedUp),
}Expand description
What the holder of the sync role did, for the program to show.
Variants§
Started
Its endpoint started, on this port, or another than the one asked for, with why.
Fields
Lent
It stopped its endpoint, as another program borrows the network.
Answered(Answered)
It answered a sync that another replica started.
Synced(SyncedWith)
It synced with another replica, which it connected to.
Checked(CheckRun)
It checked a share of the replica’s copies.
Removed(Result<RemovalPass, NodeError>)
It ran a pass of removals of the copies that the replica no longer keeps, or why it could not.
BackedUp(BackedUp)
It updated one of the person’s backups that it found, or tried to.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Held
impl !UnwindSafe for Held
impl Forget for Held
impl Freeze for Held
impl Move for Held
impl Send for Held
impl Sync for Held
impl Unpin for Held
impl UnsafeUnpin for Held
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