pub enum CommandStdin {
None,
Open,
Closed,
}Expand description
A command’s stdin.
Variants§
None
It reads /dev/null.
Open
It takes what’s sent to it, until its close.
Closed
Closed: it reads no more than it was sent.
Trait Implementations§
Source§impl Clone for CommandStdin
impl Clone for CommandStdin
impl Copy for CommandStdin
Source§impl Debug for CommandStdin
impl Debug for CommandStdin
Source§impl<'de> Deserialize<'de> for CommandStdin
impl<'de> Deserialize<'de> for CommandStdin
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
impl Eq for CommandStdin
Source§impl PartialEq for CommandStdin
impl PartialEq for CommandStdin
Source§impl Serialize for CommandStdin
impl Serialize for CommandStdin
impl StructuralPartialEq for CommandStdin
Auto Trait Implementations§
impl Forget for CommandStdin
impl Freeze for CommandStdin
impl RefUnwindSafe for CommandStdin
impl Send for CommandStdin
impl Sync for CommandStdin
impl Unpin for CommandStdin
impl UnsafeUnpin for CommandStdin
impl UnwindSafe for CommandStdin
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