[][src]Enum dqcsim::host::configuration::StreamCaptureMode

pub enum StreamCaptureMode {
    Pass,
    Null,
    Capture(Loglevel),
}

Stream capture mode.

Specifies how a plugin stdout/stderr stream should be captured.

Variants

Pass

Don't capture the stream. That is, let it pass through to DQCsim's stdout/stderr stream unchecked.

Null

Disable the stream by piping it to /dev/null (or by emulating this behavior).

Capture(Loglevel)

Capture the stream to turn each line into a log message with the specified level.

Trait Implementations

impl Clone for StreamCaptureMode[src]

impl Debug for StreamCaptureMode[src]

impl<'de> Deserialize<'de> for StreamCaptureMode[src]

impl From<StreamCaptureMode> for dqcs_loglevel_t[src]

impl FromStr for StreamCaptureMode[src]

type Err = Error

The associated error which can be returned from parsing.

impl Into<Stdio> for StreamCaptureMode[src]

impl<'_> Into<Stdio> for &'_ StreamCaptureMode[src]

impl PartialEq<StreamCaptureMode> for StreamCaptureMode[src]

impl Serialize for StreamCaptureMode[src]

impl StructuralPartialEq for StreamCaptureMode[src]

Auto Trait Implementations

impl RefUnwindSafe for StreamCaptureMode

impl Send for StreamCaptureMode

impl Sync for StreamCaptureMode

impl Unpin for StreamCaptureMode

impl UnwindSafe for StreamCaptureMode

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,