[−][src]Struct splinter::storage::memory::MemStorage
Memory-backed RAII-guarded Storage implementation
Can be used when actual persistence isn't required
Methods
impl<T: Serialize + DeserializeOwned> MemStorage<T>
[src]
Trait Implementations
impl<T: Debug + Serialize + DeserializeOwned> Debug for MemStorage<T>
[src]
impl<T: Serialize + DeserializeOwned + Display> Display for MemStorage<T>
[src]
impl<T: Serialize + DeserializeOwned> Storage for MemStorage<T>
[src]
type S = T
fn read<'a>(&'a self) -> Box<dyn StorageReadGuard<'a, T, Target = T> + 'a>
[src]
fn write<'a>(&'a mut self) -> Box<dyn StorageWriteGuard<'a, T, Target = T> + 'a>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for MemStorage<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for MemStorage<T> where
T: Send,
T: Send,
impl<T> Sync for MemStorage<T> where
T: Sync,
T: Sync,
impl<T> Unpin for MemStorage<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for MemStorage<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
&'a Self: AsExpression<T>,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
T: ?Sized,
fn borrow_replacement(ptr: &T) -> &T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,