pub enum CheckAction {
Send(Check),
Nothing,
}
Expand description
The action to execute after receiving a crate::MessageKind::LogCheck
.
Variants§
Send(Check)
Send a crate::MessageKind::LogCheckReply
with this
Check
.
Run Manager::assure_log_check
after a few seconds, to check our hash against other
piers’ hashes.
Nothing
Our log was too small. We can therefore not participate in this exchange. Do nothing.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CheckAction
impl RefUnwindSafe for CheckAction
impl Send for CheckAction
impl Sync for CheckAction
impl Unpin for CheckAction
impl UnwindSafe for CheckAction
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