pub enum StdinSource {
CallerStdin,
Inline(String),
File(String),
}Expand description
Parameters for spawning a supervisor process.
Shared by run::execute and start::execute.
Variants§
Trait Implementations§
Source§impl Clone for StdinSource
impl Clone for StdinSource
Source§fn clone(&self) -> StdinSource
fn clone(&self) -> StdinSource
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 StdinSource
impl RefUnwindSafe for StdinSource
impl Send for StdinSource
impl Sync for StdinSource
impl Unpin for StdinSource
impl UnsafeUnpin for StdinSource
impl UnwindSafe for StdinSource
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