Enum chainhook_sdk::hord::Storage
source · pub enum Storage<'a> {
Sqlite(&'a Connection),
Memory(BTreeMap<String, Vec<WatchedSatpoint>>),
}Variants§
Sqlite(&'a Connection)
Memory(BTreeMap<String, Vec<WatchedSatpoint>>)
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Storage<'a>
impl<'a> !Send for Storage<'a>
impl<'a> !Sync for Storage<'a>
impl<'a> Unpin for Storage<'a>
impl<'a> !UnwindSafe for Storage<'a>
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>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self into a collection.