Struct sbd::storage::MemoryStorage[][src]

pub struct MemoryStorage { /* fields omitted */ }
Expand description

A simple storage backend that saves the messages in memory.

Implementations

Creates a new memory storage.

Examples
let storage = sbd::storage::MemoryStorage::new();

Trait Implementations

Formats the value using the given formatter. Read more

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

Stores a message, consuming it. Read more

Retrieves all messages in this storage as a vector. Read more

Retrieves all messages for a given IMEI. 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

Performs the conversion.

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.