Struct fluence_sdk_main::mounted_binary::StringResult[][src]

pub struct StringResult {
    pub ret_code: i32,
    pub error: String,
    pub stdout: String,
    pub stderr: String,
}

The same as the Result, but stdout and stderr are utf8 strings.

Fields

ret_code: i32

Return process exit code or host execution error code, where SUCCESS_CODE means success.

error: String

Contains the string representation of an error, if ret_code != SUCCESS_CODE.

stdout: String

The data that the process wrote to stdout.

stderr: String

The data that the process wrote to stderr.

Trait Implementations

impl Clone for StringResult[src]

impl Debug for StringResult[src]

impl Default for StringResult[src]

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

impl Eq for StringResult[src]

impl PartialEq<StringResult> for StringResult[src]

impl Serialize for StringResult[src]

impl StructuralEq for StringResult[src]

impl StructuralPartialEq for StringResult[src]

Auto Trait Implementations

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.