Struct jormungandr_automation::jcli::JCli
source · pub struct JCli {
exe: PathBuf,
}
Fields§
§exe: PathBuf
Implementations§
source§impl JCli
impl JCli
pub fn new(exe: PathBuf) -> Self
pub fn path(&self) -> &Path
pub fn genesis(&self) -> Genesis
pub fn key(&self) -> Key
pub fn address(&self) -> Address
pub fn rest(&self) -> Rest
pub fn transaction(&self) -> Transaction
pub fn certificate(&self) -> Certificate
pub fn votes(&self) -> Votes
pub fn fragment_sender<'a>( &self, jormungandr: &'a JormungandrProcess ) -> FragmentSender<'a>
pub fn transaction_builder(&self, genesis_hash: Hash) -> TransactionBuilder
pub fn certificate_builder(&self) -> CertificateBuilder
pub fn fragments_checker<'a>( &self, jormungandr: &'a JormungandrProcess ) -> FragmentsCheck<'a>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for JCli
impl Send for JCli
impl Sync for JCli
impl Unpin for JCli
impl UnwindSafe for JCli
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