[][src]Struct sn0int::args::Run

pub struct Run {
    pub module: String,
    pub file: bool,
    pub threads: usize,
    pub verbose: u64,
    pub stdin: bool,
    pub grants: Vec<String>,
    pub grant_full_keyring: bool,
    pub deny_keyring: bool,
    pub exit_on_error: bool,
    pub options: Vec<Opt>,
    pub target: Option<String>,
}

Fields

module: String

Execute a module that has been installed

file: bool

Run a module from a path

threads: usize

Run modules concurrently

verbose: u64

Verbose logging, once to print inserts even if they don't add new data, twice to activate the debug() function

stdin: bool

Expose stdin to modules

grants: Vec<String>

Automatically grant access to a keyring namespace

grant_full_keyring: bool

Automatically grant access to all requested keys

deny_keyring: bool

Automatically deny access to all requested keys

exit_on_error: bool

Exit on first error and set exit code

options: Vec<Opt>

Set an option

target: Option<String>

Narrow down targeted entities

Trait Implementations

impl<'a> From<&'a Run> for Params<'a>[src]

impl Debug for Run[src]

impl StructOpt for Run[src]

Auto Trait Implementations

impl Send for Run

impl Sync for Run

impl Unpin for Run

impl UnwindSafe for Run

impl RefUnwindSafe for Run

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> IntoSql for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T