Struct Backend
pub struct Backend { /* private fields */ }Expand description
Sequence slots by watching an Ethereum JSON-RPC compatible chain.
Implementations§
Trait Implementations§
§impl SequenceBackend for Backend
impl SequenceBackend for Backend
§fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Stop streaming. This will terminate the active WebSocket connection gracefully.
§fn fetch_oracle_info(&self) -> OracleInfoService
fn fetch_oracle_info(&self) -> OracleInfoService
Backend-level pull endpoint for oracle epoch/config queries.
§fn start_lyquid(
&mut self,
lyquid: &LyquidID,
seq: Sequence,
store: Arc<dyn KVStore>,
) -> Result<LyquidBackendHandle, Error>
fn start_lyquid( &mut self, lyquid: &LyquidID, seq: Sequence, store: Arc<dyn KVStore>, ) -> Result<LyquidBackendHandle, Error>
Start backend tracking for the given lyquid and return a client handle for call submission.
Auto Trait Implementations§
impl Freeze for Backend
impl !RefUnwindSafe for Backend
impl Send for Backend
impl Sync for Backend
impl Unpin for Backend
impl UnsafeUnpin for Backend
impl !UnwindSafe for Backend
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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