pub struct ExecChunk {
pub stream: StreamType,
pub data: Vec<u8>,
}Expand description
A chunk of streaming output from a running command.
Fields§
§stream: StreamTypeWhich stream this chunk belongs to.
data: Vec<u8>Raw output bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExecChunk
impl<'de> Deserialize<'de> for ExecChunk
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 ExecChunk
impl RefUnwindSafe for ExecChunk
impl Send for ExecChunk
impl Sync for ExecChunk
impl Unpin for ExecChunk
impl UnsafeUnpin for ExecChunk
impl UnwindSafe for ExecChunk
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