pub struct MountedBinaryStringResult {
pub ret_code: i32,
pub error: String,
pub stdout: String,
pub stderr: String,
}
Expand description
The same as the MountedBinaryResult, 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§
Source§impl Clone for MountedBinaryStringResult
impl Clone for MountedBinaryStringResult
Source§fn clone(&self) -> MountedBinaryStringResult
fn clone(&self) -> MountedBinaryStringResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MountedBinaryStringResult
impl Debug for MountedBinaryStringResult
Source§impl Default for MountedBinaryStringResult
impl Default for MountedBinaryStringResult
Source§fn default() -> MountedBinaryStringResult
fn default() -> MountedBinaryStringResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MountedBinaryStringResult
impl<'de> Deserialize<'de> for MountedBinaryStringResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MountedBinaryStringResult
impl StructuralPartialEq for MountedBinaryStringResult
Auto Trait Implementations§
impl Freeze for MountedBinaryStringResult
impl RefUnwindSafe for MountedBinaryStringResult
impl Send for MountedBinaryStringResult
impl Sync for MountedBinaryStringResult
impl Unpin for MountedBinaryStringResult
impl UnwindSafe for MountedBinaryStringResult
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