Struct RunQueryConsensusStateCommand

Source
pub struct RunQueryConsensusStateCommand;

Trait Implementations§

Source§

impl<App, Args, Build, Chain, Counterparty> CommandRunner<App, Args> for RunQueryConsensusStateCommand
where App: CanLoadBuilder<Builder = Build> + CanProduceOutput<Counterparty::ConsensusState> + CanParseArg<Args, (Char<'c'>, Char<'h'>, Char<'a'>, Char<'i'>, Char<'n'>, Char<'_'>, Char<'i'>, Char<'d'>), Parsed = Chain::ChainId> + CanParseArg<Args, (Char<'c'>, Char<'l'>, Char<'i'>, Char<'e'>, Char<'n'>, Char<'t'>, Char<'_'>, Char<'i'>, Char<'d'>), Parsed = Chain::ClientId> + CanParseArg<Args, (Char<'q'>, Char<'u'>, Char<'e'>, Char<'r'>, Char<'y'>, Char<'_'>, Char<'h'>, Char<'e'>, Char<'i'>, Char<'g'>, Char<'h'>, Char<'t'>), Parsed = Option<Chain::Height>> + CanParseArg<Args, (Char<'c'>, Char<'o'>, Char<'n'>, Char<'s'>, Char<'e'>, Char<'n'>, Char<'s'>, Char<'u'>, Char<'s'>, Char<'_'>, Char<'h'>, Char<'e'>, Char<'i'>, Char<'g'>, Char<'h'>, Char<'t'>), Parsed = Option<Counterparty::Height>> + CanRaiseError<Build::Error> + CanRaiseError<Chain::Error> + CanRaiseError<String>, Build: CanBuildChain<0, Chain = Chain> + HasChainTypeAt<1, Chain = Counterparty>, Chain: CanQueryChainHeight + CanQueryConsensusState<Counterparty> + CanQueryConsensusStateHeights<Counterparty>, Counterparty: HasHeightType + HasConsensusStateType<Chain>, Args: Async,

Source§

async fn run_command(app: &App, args: &Args) -> Result<App::Output, App::Error>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<A> Async for A
where A: Send + Sync + 'static,