pub struct ProcessStreamParams { /* private fields */ }
Available on crate feature
process
only.Expand description
Parameters for creating a ProcessStream
.
Implementations§
Source§impl ProcessStreamParams
impl ProcessStreamParams
Sourcepub fn new<C>(command: C) -> Result<Self>where
C: SpawnCommand,
pub fn new<C>(command: C) -> Result<Self>where
C: SpawnCommand,
Creates a new ProcessStreamParams
.
Sourcepub fn content_length<L>(self, content_length: L) -> Self
pub fn content_length<L>(self, content_length: L) -> Self
Set the content length of the stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessStreamParams
impl !RefUnwindSafe for ProcessStreamParams
impl Send for ProcessStreamParams
impl Sync for ProcessStreamParams
impl Unpin for ProcessStreamParams
impl !UnwindSafe for ProcessStreamParams
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