[][src]Struct itmsink::cli::Cli

pub struct Cli {
    pub verbosity: u64,
    pub input: Option<PathBuf>,
    pub outputs: Vec<Output>,
}

ITM protocol parser.

Fields

verbosity: u64

Pass many times for more log output

input: Option<PathBuf>

Read raw data from INPUT instead of STDIN

outputs: Vec<Output>

Output specification in form of "ports[:path]"; "ports" is a comma-separated list of stimulus port numbers, or "all" to select all ports; "path" is a file path for the output, or STDOUT if omitted

Implementations

impl Cli[src]

pub fn run(&self) -> Result<()>[src]

Runs the program.

Trait Implementations

impl Debug for Cli[src]

impl StructOpt for Cli[src]

Auto Trait Implementations

impl RefUnwindSafe for Cli

impl Send for Cli

impl Sync for Cli

impl Unpin for Cli

impl UnwindSafe for Cli

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.