pub struct InheritedIo {
pub input: InputPolicy,
}Expand description
Inherited terminal stdio mode.
Fields§
§input: InputPolicyStandard input policy. Defaults to inheriting parent stdin.
Implementations§
Source§impl InheritedIo
impl InheritedIo
Sourcepub fn with_input(self, input: InputPolicy) -> Self
pub fn with_input(self, input: InputPolicy) -> Self
Set the stdin policy while stdout/stderr remain inherited.
Trait Implementations§
Source§impl Clone for InheritedIo
impl Clone for InheritedIo
Source§fn clone(&self) -> InheritedIo
fn clone(&self) -> InheritedIo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InheritedIo
impl Debug for InheritedIo
Source§impl Default for InheritedIo
impl Default for InheritedIo
impl Eq for InheritedIo
Source§impl PartialEq for InheritedIo
impl PartialEq for InheritedIo
impl StructuralPartialEq for InheritedIo
Auto Trait Implementations§
impl Freeze for InheritedIo
impl RefUnwindSafe for InheritedIo
impl Send for InheritedIo
impl Sync for InheritedIo
impl Unpin for InheritedIo
impl UnsafeUnpin for InheritedIo
impl UnwindSafe for InheritedIo
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