Struct sanakirja::Txn [−][src]
An immutable transaction.
Trait Implementations
impl<E: Borrow<Env>> Drop for Txn<E>
[src]
impl<E: Borrow<Env>> LoadPage for Txn<E>
[src]
type Error = Error
fn load_page(&self, off: u64) -> Result<CowPage, Self::Error>
[src]
Find the appropriate map segment
fn rc(&self, _: u64) -> Result<u64, Self::Error>
[src]
impl<E: Borrow<Env>> RootDb for Txn<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for Txn<E> where
E: RefUnwindSafe,
[src]
E: RefUnwindSafe,
impl<E> Send for Txn<E> where
E: Send,
[src]
E: Send,
impl<E> Sync for Txn<E> where
E: Sync,
[src]
E: Sync,
impl<E> Unpin for Txn<E> where
E: Unpin,
[src]
E: Unpin,
impl<E> UnwindSafe for Txn<E> where
E: UnwindSafe,
[src]
E: 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,
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>,