#[non_exhaustive]pub struct FlossOutputLimited {
pub args: Vec<OsString>,
pub program: OsString,
pub status: ExitStatus,
pub stderr: Vec<u8>,
pub stderr_truncated: bool,
pub stdout: Vec<u8>,
pub stdout_truncated: bool,
}Expand description
限量读取输出时的结果(stdout/stderr 可能被截断)。
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.args: Vec<OsString>§program: OsString§status: ExitStatus§stderr: Vec<u8>§stderr_truncated: bool§stdout: Vec<u8>§stdout_truncated: boolTrait Implementations§
Source§impl Clone for FlossOutputLimited
impl Clone for FlossOutputLimited
Source§fn clone(&self) -> FlossOutputLimited
fn clone(&self) -> FlossOutputLimited
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 moreAuto Trait Implementations§
impl Freeze for FlossOutputLimited
impl RefUnwindSafe for FlossOutputLimited
impl Send for FlossOutputLimited
impl Sync for FlossOutputLimited
impl Unpin for FlossOutputLimited
impl UnwindSafe for FlossOutputLimited
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