Skip to main content

ParameterizedSpawn

Trait ParameterizedSpawn 

Source
pub trait ParameterizedSpawn {
    type Input<'a>;
    type Output<'a>;
    type Error;

    // Required method
    fn spawn_with<'a>(
        &mut self,
        input: Self::Input<'a>,
    ) -> Result<Self::Output<'a>, Self::Error>;
}

Required Associated Types§

Source

type Input<'a>

Source

type Output<'a>

Source

type Error

Required Methods§

Source

fn spawn_with<'a>( &mut self, input: Self::Input<'a>, ) -> Result<Self::Output<'a>, Self::Error>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ParameterizedSpawn for Add

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl ParameterizedSpawn for Admin<EndJournal>

Available on non-crate feature lt2018_1 only.
Source§

impl ParameterizedSpawn for Admin<Journal>

Source§

impl ParameterizedSpawn for Admin<ResourceMonitor>

Available on non-crate feature lt2023_1 only.
Source§

impl ParameterizedSpawn for Admin<Restart>

Source§

impl ParameterizedSpawn for Admin<SetLdapUsers>

Available on non-crate feature lt2015_1 only.
Source§

impl ParameterizedSpawn for Admin<Stop>

Source§

impl ParameterizedSpawn for Admin<SysInfo>

Available on non-crate feature lt2023_1 only.
Source§

impl ParameterizedSpawn for Aliases

Source§

impl ParameterizedSpawn for Edit<FileEditMode>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl ParameterizedSpawn for Edit<StreamSpecEditMode>

Available on non-crate feature lt2019_1 only.
Source§

impl ParameterizedSpawn for Edit<Unselected>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl ParameterizedSpawn for Where

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<C: ExclusiveOption> ParameterizedSpawn for Admin<CheckPoint<C>>

Source§

impl<F: ExclusiveOption> ParameterizedSpawn for Annotate<F>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<L: ExclusiveOption, H: ExclusiveOption> ParameterizedSpawn for FileLog<L, H>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<L: ExclusiveOption> ParameterizedSpawn for Changes<L>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<M: ExclusiveOption> ParameterizedSpawn for Admin<ReplicaFilterReconcile<M>>

Available on non-crate feature lt2025_2 only.
Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<M: ExclusiveOption> ParameterizedSpawn for Describe<M>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<M: ExclusiveOption> ParameterizedSpawn for Print<M>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<M: ExclusiveOption> ParameterizedSpawn for Sync<M>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<M> ParameterizedSpawn for Archive<M>
where Archive<M>: SubCommand,

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<S: ExclusiveOption> ParameterizedSpawn for Admin<UpdateSpecDepot<S>>

Source§

impl<T: ExclusiveOption> ParameterizedSpawn for Admin<ResetPassword<T>>

Source§

impl<T: ExclusiveOption> ParameterizedSpawn for Attribute<FromFile, T>

Available on non-crate feature lt2024_2 only.
Source§

impl<T: ExclusiveOption> ParameterizedSpawn for Attribute<FromStdin, T>

Source§

type Input<'a> = (&'a OsStr, Stdio)

Source§

type Output<'a> = Child

Source§

type Error = Error

Source§

impl<T: ExclusiveOption> ParameterizedSpawn for Attribute<Standard, T>

Source§

type Input<'a> = &'a [&'a OsStr]

Source§

type Output<'a> = Child

Source§

type Error = Error