pub struct V0Command {
command: Command,
}
Fields§
§command: Command
Implementations§
source§impl V0Command
impl V0Command
pub fn new(command: Command) -> Self
pub fn node(self) -> NodeCommand
pub fn utxo(self) -> UtxOCommand
pub fn message(self) -> MessageCommand
pub fn block(self) -> BlockCommand
pub fn vote(self) -> VoteCommand
pub fn transaction(self) -> TransactionCommand
pub fn leadership_log<S: Into<String>>(self, host: S) -> Self
pub fn tip<S: Into<String>>(self, host: S) -> Self
pub fn account_stats<S: Into<String>, P: Into<String>>( self, address: S, host: P ) -> Self
pub fn shutdown<S: Into<String>>(self, host: S) -> Self
pub fn settings<S: Into<String>>(self, host: S) -> Self
pub fn stake_pools<S: Into<String>>(self, host: S) -> Self
pub fn stake_pool<S: Into<String>, P: Into<String>>( self, stake_pool_id: S, host: P ) -> Self
pub fn build(self) -> Command
Auto Trait Implementations§
impl !RefUnwindSafe for V0Command
impl Send for V0Command
impl Sync for V0Command
impl Unpin for V0Command
impl !UnwindSafe for V0Command
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request