[−][src]Struct solana_ledger::blockstore_db::LedgerColumn
Implementations
impl<C> LedgerColumn<C> where
C: Column + ColumnName,
[src]
C: Column + ColumnName,
pub fn get_bytes(&self, key: C::Index) -> Result<Option<Vec<u8>>>
[src]
pub fn iter<'a>(
&'a self,
iterator_mode: IteratorMode<C::Index>
) -> Result<impl Iterator<Item = (C::Index, Box<[u8]>)> + 'a>
[src]
&'a self,
iterator_mode: IteratorMode<C::Index>
) -> Result<impl Iterator<Item = (C::Index, Box<[u8]>)> + 'a>
pub fn delete_slot(
&self,
batch: &mut WriteBatch,
from: Option<Slot>,
to: Option<Slot>
) -> Result<bool> where
C::Index: PartialOrd + Copy + ColumnName,
[src]
&self,
batch: &mut WriteBatch,
from: Option<Slot>,
to: Option<Slot>
) -> Result<bool> where
C::Index: PartialOrd + Copy + ColumnName,
pub fn compact_range(&self, from: Slot, to: Slot) -> Result<bool> where
C::Index: PartialOrd + Copy,
[src]
C::Index: PartialOrd + Copy,
pub fn handle(&self) -> &ColumnFamily
[src]
pub fn put_bytes(&self, key: C::Index, value: &[u8]) -> Result<()>
[src]
impl<C> LedgerColumn<C> where
C: TypedColumn + ColumnName,
[src]
C: TypedColumn + ColumnName,
pub fn get(&self, key: C::Index) -> Result<Option<C::Type>>
[src]
pub fn put(&self, key: C::Index, value: &C::Type) -> Result<()>
[src]
Trait Implementations
impl<C: Clone> Clone for LedgerColumn<C> where
C: Column,
[src]
C: Column,
fn clone(&self) -> LedgerColumn<C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C: Debug> Debug for LedgerColumn<C> where
C: Column,
[src]
C: Column,
Auto Trait Implementations
impl<C> RefUnwindSafe for LedgerColumn<C> where
C: RefUnwindSafe,
C: RefUnwindSafe,
impl<C> Send for LedgerColumn<C> where
C: Send,
C: Send,
impl<C> Sync for LedgerColumn<C> where
C: Sync,
C: Sync,
impl<C> Unpin for LedgerColumn<C> where
C: Unpin,
C: Unpin,
impl<C> UnwindSafe for LedgerColumn<C> where
C: UnwindSafe,
C: 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> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,