Struct acid_state::Persistent [] [src]

pub struct Persistent<T: Encodable + Decodable> {
    pub inner: Arc<Mutex<T>>,
    pub name: String,
}

Fields

Methods

impl<T: Encodable + Decodable> Persistent<T>
[src]

Trait Implementations

impl<T: Debug + Encodable + Decodable> Debug for Persistent<T>
[src]

Formats the value using the given formatter.

impl<T: Clone + Encodable + Decodable> Clone for Persistent<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more