pub struct VerifyFlags(pub u32);Expand description
Flags for VerifyOp::set_flags. Wraps RNP_VERIFY_*.
Tuple Fields§
§0: u32Implementations§
Source§impl VerifyFlags
impl VerifyFlags
Sourcepub const IGNORE_SIGS_ON_DECRYPT: Self
pub const IGNORE_SIGS_ON_DECRYPT: Self
Don’t inspect signatures during decrypt.
Sourcepub const REQUIRE_ALL_SIGS: Self
pub const REQUIRE_ALL_SIGS: Self
Require all signatures to verify.
Sourcepub const ALLOW_HIDDEN_RECIPIENT: Self
pub const ALLOW_HIDDEN_RECIPIENT: Self
Allow hidden (all-zero keyid) recipients.
pub fn bits(self) -> u32
Trait Implementations§
Source§impl BitOr for VerifyFlags
impl BitOr for VerifyFlags
Source§impl Clone for VerifyFlags
impl Clone for VerifyFlags
Source§fn clone(&self) -> VerifyFlags
fn clone(&self) -> VerifyFlags
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 moreimpl Copy for VerifyFlags
Source§impl Debug for VerifyFlags
impl Debug for VerifyFlags
Source§impl Default for VerifyFlags
impl Default for VerifyFlags
Source§fn default() -> VerifyFlags
fn default() -> VerifyFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VerifyFlags
impl RefUnwindSafe for VerifyFlags
impl Send for VerifyFlags
impl Sync for VerifyFlags
impl Unpin for VerifyFlags
impl UnsafeUnpin for VerifyFlags
impl UnwindSafe for VerifyFlags
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