pub struct DfuOutput {
pub exit_code: Option<i64>,
pub stdout: String,
pub stderr: String,
}Expand description
Captured output of one box-side dfu-util run.
Fields§
§exit_code: Option<i64>dfu-util exit code (0 on the success envelope).
stdout: StringCaptured stdout.
stderr: StringCaptured stderr (dfu-util writes progress here).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DfuOutput
impl<'de> Deserialize<'de> for DfuOutput
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
Auto Trait Implementations§
impl Freeze for DfuOutput
impl RefUnwindSafe for DfuOutput
impl Send for DfuOutput
impl Sync for DfuOutput
impl Unpin for DfuOutput
impl UnsafeUnpin for DfuOutput
impl UnwindSafe for DfuOutput
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