Struct checkpoint::wrappers::HmacWrapper [] [src]

pub struct HmacWrapper<S: Storage> { /* fields omitted */ }

Adds HMAC verification to checkpoint data.

Currently the Sha256 checksum algorithm is used.

Methods

impl<S: Storage> HmacWrapper<S>
[src]

[src]

Adds an HmacWrapper around a Storage object.

Trait Implementations

impl<S: Debug + Storage> Debug for HmacWrapper<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S: Storage> Storage for HmacWrapper<S>
[src]

The type representing committed checkpoints.

The type representing uncommitted checkpoints.

[src]

Creates a new checkpoint with the specified identifier. Read more

[src]

Commits an uncommitted checkpoint, permanently saving its data to the underlying storage medium. Read more

[src]

Loads the committed checkpoint associated with the provided identifier, allowing its data to be retrieved. Read more

[src]

Removes the committed checkpoint associated with the provided identifier. Read more

[src]

Returns a list of all committed checkpoint identifiers in the underlying storage medium.

Auto Trait Implementations

impl<S> Send for HmacWrapper<S> where
    S: Send

impl<S> Sync for HmacWrapper<S> where
    S: Sync