pub struct MemoryStorage(_);

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Store a PreparedEmail. This should overwrite if message-id matches an existing email. Read more

Update the status of an email

Retrieve a PreparedEmail and InternalMessageStatus based on the message_id

Retrieve an InternalMessageStatus based on the message_id

Retrieve all incomplete emails (status only). This is used to continue retrying after shutdown and later startup. Read more

Retrieve all incomplete emails as well as all complete emails that have become complete since the last time this function was called. This can be implemented by storing a retrieved boolean as falswe when update_status saves as complete, and setting that boolean to true when this function is run. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.