pub enum BashOutputResult {
Output {
output: String,
running: bool,
exit_code: Option<i32>,
stdout: String,
stderr: String,
total_bytes_stdout: u64,
total_bytes_stderr: u64,
next_since_byte: u64,
},
Error(BashError),
}Variants§
Trait Implementations§
Source§impl Clone for BashOutputResult
impl Clone for BashOutputResult
Source§fn clone(&self) -> BashOutputResult
fn clone(&self) -> BashOutputResult
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 BashOutputResult
impl Debug for BashOutputResult
Source§impl<'de> Deserialize<'de> for BashOutputResult
impl<'de> Deserialize<'de> for BashOutputResult
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
Source§impl From<BashError> for BashOutputResult
impl From<BashError> for BashOutputResult
Auto Trait Implementations§
impl Freeze for BashOutputResult
impl RefUnwindSafe for BashOutputResult
impl Send for BashOutputResult
impl Sync for BashOutputResult
impl Unpin for BashOutputResult
impl UnsafeUnpin for BashOutputResult
impl UnwindSafe for BashOutputResult
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