pub struct RejectReplayable;Expand description
Reject all replayable signatures (default secure behavior).
Trait Implementations§
Source§impl Clone for RejectReplayable
impl Clone for RejectReplayable
Source§fn clone(&self) -> RejectReplayable
fn clone(&self) -> RejectReplayable
Returns a duplicate of the value. Read more
1.0.0 · 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 RejectReplayable
impl Debug for RejectReplayable
Source§impl Default for RejectReplayable
impl Default for RejectReplayable
Source§fn default() -> RejectReplayable
fn default() -> RejectReplayable
Returns the “default value” for a type. Read more
Source§impl ReplayablePolicy for RejectReplayable
impl ReplayablePolicy for RejectReplayable
Source§fn has_invalidation(&self) -> bool
fn has_invalidation(&self) -> bool
Whether at least one invalidation mechanism is implemented. Read more
Source§async fn not_before(&self, _keyid: &str) -> Option<u64>
async fn not_before(&self, _keyid: &str) -> Option<u64>
Return a
not_before timestamp for the given keyid.
Signatures with created < not_before are rejected.
Return None to skip this check.Source§async fn invalidated(&self, _info: &ReplayableInfo<'_>) -> bool
async fn invalidated(&self, _info: &ReplayableInfo<'_>) -> bool
Check if a specific replayable signature has been invalidated.
Return
true to reject the signature.impl Copy for RejectReplayable
Auto Trait Implementations§
impl Freeze for RejectReplayable
impl RefUnwindSafe for RejectReplayable
impl Send for RejectReplayable
impl Sync for RejectReplayable
impl Unpin for RejectReplayable
impl UnsafeUnpin for RejectReplayable
impl UnwindSafe for RejectReplayable
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