Struct DummyChain
pub struct DummyChain { /* private fields */ }Expand description
A dummy chain for testing purpose.
Implementations§
§impl DummyChain
impl DummyChain
Trait Implementations§
§impl SequenceBackend for DummyChain
impl SequenceBackend for DummyChain
§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,
sequence: Sequence,
_: Arc<dyn KVStore>,
) -> Result<LyquidBackendHandle, Error>
fn start_lyquid( &mut self, lyquid: &LyquidID, sequence: Sequence, _: Arc<dyn KVStore>, ) -> Result<LyquidBackendHandle, Error>
Start backend tracking for the given lyquid and return a client handle for call submission.
§fn stop_lyquid(&mut self, lyquid: &LyquidID) -> Result<(), Error>
fn stop_lyquid(&mut self, lyquid: &LyquidID) -> Result<(), Error>
Stop backend tracking for a given lyquid. Read more
Auto Trait Implementations§
impl Freeze for DummyChain
impl !RefUnwindSafe for DummyChain
impl Send for DummyChain
impl Sync for DummyChain
impl Unpin for DummyChain
impl UnsafeUnpin for DummyChain
impl !UnwindSafe for DummyChain
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
§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