pub struct VerifyState {
pub round: u8,
pub well_defined_already_verified: bool,
}Fields§
§round: u8§well_defined_already_verified: boolImplementations§
Source§impl VerifyState
impl VerifyState
pub fn new(round: u8, well_defined_already_verified: bool) -> Self
pub fn is_final_round(&self) -> bool
pub fn new_state_with_round_increased(&self) -> Self
pub fn make_state_with_req_ok_set_to_true(&self) -> Self
pub fn is_round_0(&self) -> bool
pub fn make_final_round_state(&self) -> Self
Auto Trait Implementations§
impl Freeze for VerifyState
impl RefUnwindSafe for VerifyState
impl Send for VerifyState
impl Sync for VerifyState
impl Unpin for VerifyState
impl UnsafeUnpin for VerifyState
impl UnwindSafe for VerifyState
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