[][src]Struct interledger_store_memory::InMemoryStore

pub struct InMemoryStore { /* fields omitted */ }

A simple in-memory store intended primarily for testing and stateless sender/receiver services that are passed all of the relevant account details when the store is instantiated.

Methods

impl InMemoryStore[src]

pub fn new(accounts: impl IntoIterator<Item = AccountBuilder>) -> Self[src]

pub fn default() -> Self[src]

pub fn from_accounts(accounts: impl IntoIterator<Item = Account>) -> Self[src]

Trait Implementations

impl Clone for InMemoryStore[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl AccountStore for InMemoryStore[src]

type Account = Account

impl BtpStore for InMemoryStore[src]

type Account = Account

impl BtpOpenSignupStore for InMemoryStore[src]

type Account = Account

impl HttpStore for InMemoryStore[src]

type Account = Account

impl RouterStore for InMemoryStore[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self