pub struct BlockConnections;Expand description
Stores connections data
- Key:
BlockIdShort (16 bytes), [u8; 32] (block root hash), connection type (1 byte) - Value:
BlockId (LE)
Implementations§
Trait Implementations§
Source§impl ColumnFamily for BlockConnections
impl ColumnFamily for BlockConnections
const NAME: &'static str = "block_connections"
Source§fn read_options(opts: &mut ReadOptions)
fn read_options(opts: &mut ReadOptions)
Modify read options.
Source§fn write_options(opts: &mut WriteOptions)
fn write_options(opts: &mut WriteOptions)
Modify write options.
Source§impl ColumnFamilyOptions<TableContext> for BlockConnections
impl ColumnFamilyOptions<TableContext> for BlockConnections
Source§fn options(opts: &mut Options, ctx: &mut TableContext)
fn options(opts: &mut Options, ctx: &mut TableContext)
Modify general options.
fn ttl() -> ColumnFamilyTtl
Auto Trait Implementations§
impl Freeze for BlockConnections
impl RefUnwindSafe for BlockConnections
impl Send for BlockConnections
impl Sync for BlockConnections
impl Unpin for BlockConnections
impl UnwindSafe for BlockConnections
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more