Struct acid_state::Persistent
[−]
[src]
pub struct Persistent<T: Encodable + Decodable> { pub inner: Arc<Mutex<T>>, pub name: String, }
Fields
inner: Arc<Mutex<T>>
name: String
Methods
impl<T: Encodable + Decodable> Persistent<T>
[src]
Trait Implementations
impl<T: Debug + Encodable + Decodable> Debug for Persistent<T>
[src]
impl<T: Clone + Encodable + Decodable> Clone for Persistent<T>
[src]
fn clone(&self) -> Persistent<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more