Struct sakaagari::Transaction [−][src]
Trait Implementations
impl<'repo> Access for Transaction<'repo>
[src]
fn get<K: Key>(
&self,
key: &K
) -> Result<<<K as Key>::Codec as Codec<K>>::Produced, Error>
[src]
&self,
key: &K
) -> Result<<<K as Key>::Codec as Codec<K>>::Produced, Error>
fn keys<'a, K: Key + 'a>(&'a self) -> Box<dyn Iterator<Item = K> + 'a>
[src]
fn iter<'a, K: Key + 'a>(
&'a self
) -> Box<dyn Iterator<Item = Result<(K, <<K as Key>::Codec as Codec<K>>::Produced), Error>> + 'a>
[src]
&'a self
) -> Box<dyn Iterator<Item = Result<(K, <<K as Key>::Codec as Codec<K>>::Produced), Error>> + 'a>
fn values<'a, K: Key + 'a>(
&'a self
) -> Box<dyn Iterator<Item = Result<<<K as Key>::Codec as Codec<K>>::Produced, Error>> + 'a>
[src]
&'a self
) -> Box<dyn Iterator<Item = Result<<<K as Key>::Codec as Codec<K>>::Produced, Error>> + 'a>
impl<'repo> AccessMut for Transaction<'repo>
[src]
fn put<K: Key>(
&mut self,
key: &K,
value: &<<K as Key>::Codec as Codec<K>>::Accepted
) -> Result<(), Error>
[src]
&mut self,
key: &K,
value: &<<K as Key>::Codec as Codec<K>>::Accepted
) -> Result<(), Error>
fn delete<K: Key>(&mut self, key: &K) -> Result<(), Error>
[src]
impl<'repo> Debug for Transaction<'repo>
[src]
Auto Trait Implementations
impl<'repo> RefUnwindSafe for Transaction<'repo>
impl<'repo> !Send for Transaction<'repo>
impl<'repo> !Sync for Transaction<'repo>
impl<'repo> Unpin for Transaction<'repo>
impl<'repo> UnwindSafe for Transaction<'repo>
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,
pub 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, 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.
pub 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>,