pub enum VerifyPolicy {
Permissive,
Required,
}Expand description
Inbound verification stance — see the module-level rollout policy.
Variants§
Permissive
Accept unsigned (legacy) messages; a signed-but-invalid message is still dropped. Used while the fleet still contains unsigned nodes.
Required
Drop anything without a valid signature from a trusted key.
Trait Implementations§
Source§impl Clone for VerifyPolicy
impl Clone for VerifyPolicy
Source§fn clone(&self) -> VerifyPolicy
fn clone(&self) -> VerifyPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerifyPolicy
impl Debug for VerifyPolicy
Source§impl PartialEq for VerifyPolicy
impl PartialEq for VerifyPolicy
Source§fn eq(&self, other: &VerifyPolicy) -> bool
fn eq(&self, other: &VerifyPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VerifyPolicy
impl Eq for VerifyPolicy
impl StructuralPartialEq for VerifyPolicy
Auto Trait Implementations§
impl Freeze for VerifyPolicy
impl RefUnwindSafe for VerifyPolicy
impl Send for VerifyPolicy
impl Sync for VerifyPolicy
impl Unpin for VerifyPolicy
impl UnsafeUnpin for VerifyPolicy
impl UnwindSafe for VerifyPolicy
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