pub struct LeoDebug {
pub(crate) paths: Vec<String>,
pub(crate) block_height: u32,
pub(crate) tui: bool,
pub(crate) compiler_options: BuildOptions,
}
Expand description
Debugs an Aleo program through the interpreter.
Fields§
§paths: Vec<String>
§block_height: u32
§tui: bool
§compiler_options: BuildOptions
Trait Implementations§
Source§impl Args for LeoDebug
impl Args for LeoDebug
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moreSource§impl Command for LeoDebug
impl Command for LeoDebug
Source§type Input = <LeoBuild as Command>::Output
type Input = <LeoBuild as Command>::Output
If the current command requires running another command beforehand
and needs its output result, this is where the result type is defined.
Example: type Input: ::Out
Source§type Output = ()
type Output = ()
Defines the output of this command, which may be used as
Input
for another
command. If this command is not used as a prelude for another command,
this field may be left empty.Source§fn log_span(&self) -> Span
fn log_span(&self) -> Span
Adds a span to the logger via
tracing::span
.
Because of the specifics of the macro implementation, it is not possible
to set the span name with a non-literal i.e. a dynamic variable even if this
variable is a &’static str.Source§fn prelude(&self, context: Context) -> Result<Self::Input>
fn prelude(&self, context: Context) -> Result<Self::Input>
Runs the prelude and returns the Input of the current command.
Source§fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>
fn apply(self, context: Context, _: Self::Input) -> Result<Self::Output>
Runs the main operation of this command. This function is run within
context of ‘execute’ function, which sets logging and timers.
Source§impl FromArgMatches for LeoDebug
impl FromArgMatches for LeoDebug
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl Parser for LeoDebug
impl Parser for LeoDebug
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error. Read more
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err on error.
Auto Trait Implementations§
impl Freeze for LeoDebug
impl RefUnwindSafe for LeoDebug
impl Send for LeoDebug
impl Sync for LeoDebug
impl Unpin for LeoDebug
impl UnwindSafe for LeoDebug
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