pub struct TrustedReceiptsStore { /* private fields */ }Implementations§
Source§impl TrustedReceiptsStore
impl TrustedReceiptsStore
Sourcepub fn mark_trusted(&self, frame_id: impl Into<String>)
pub fn mark_trusted(&self, frame_id: impl Into<String>)
TODO(clawdentity): document mark_trusted.
Sourcepub fn is_trusted(&self, frame_id: &str) -> bool
pub fn is_trusted(&self, frame_id: &str) -> bool
TODO(clawdentity): document is_trusted.
Sourcepub fn purge_before(&self, cutoff_ms: i64) -> usize
pub fn purge_before(&self, cutoff_ms: i64) -> usize
TODO(clawdentity): document purge_before.
Trait Implementations§
Source§impl Clone for TrustedReceiptsStore
impl Clone for TrustedReceiptsStore
Source§fn clone(&self) -> TrustedReceiptsStore
fn clone(&self) -> TrustedReceiptsStore
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 Default for TrustedReceiptsStore
impl Default for TrustedReceiptsStore
Source§fn default() -> TrustedReceiptsStore
fn default() -> TrustedReceiptsStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrustedReceiptsStore
impl RefUnwindSafe for TrustedReceiptsStore
impl Send for TrustedReceiptsStore
impl Sync for TrustedReceiptsStore
impl Unpin for TrustedReceiptsStore
impl UnsafeUnpin for TrustedReceiptsStore
impl UnwindSafe for TrustedReceiptsStore
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