pub fn report_snapshot(&mut self, id: u64, status: SnapshotStatus) {
        let rejected = status == SnapshotStatus::Failure;
        let mut msg = Message::default();
        msg.set_from(id);
        msg.set_field_type(MsgSnapStatus);
        msg.set_reject(rejected);
    }
/// ReportSnapshot reports the status of the sent snapshot.
ReportSnapshot reports the status of the sent snapshot.
ReportSnapshot reports the status of the sent snapshot .
pub fn report_snapshot(&mut self, id: u64, status: SnapshotStatus) {
        let rejected = status == SnapshotStatus::Failure;
        let mut msg = Message::default();
        msg.set_from(id);
        msg.set_field_type(MsgSnapStatus);
        msg.set_reject(rejected);
    }
pub fn report_snapshot ( & mut self , id : u64 , status : SnapshotStatus ) { let rejected = status == SnapshotStatus :: Failure ; let mut msg = Message :: default ( ) ; msg . set_from ( id ) ; msg . set_field_type ( MsgSnapStatus ) ; msg . set_reject ( rejected ) ; }
ReportSnapshot reports the status of the sent snapshot.
ReportSnapshot reports the status of the sent snapshot .
&mut self
id
u64
status
SnapshotStatus