pub struct HandleStreamingExec;Trait Implementations§
Source§impl<Context, CommandPath, Args, Input> Handler<Context, StreamingExec<CommandPath, Args>, Input> for HandleStreamingExec
impl<Context, CommandPath, Args, Input> Handler<Context, StreamingExec<CommandPath, Args>, Input> for HandleStreamingExec
type Output = Either<ChildStdout, Empty>
async fn handle( context: &Context, _tag: PhantomData<StreamingExec<CommandPath, Args>>, input: Input, ) -> Result<Either<ChildStdout, Empty>, Context::Error>
impl<Context, CommandPath, Args, Input> IsProviderFor<HandlerComponent, Context, (StreamingExec<CommandPath, Args>, Input)> for HandleStreamingExec
Auto Trait Implementations§
impl Freeze for HandleStreamingExec
impl RefUnwindSafe for HandleStreamingExec
impl Send for HandleStreamingExec
impl Sync for HandleStreamingExec
impl Unpin for HandleStreamingExec
impl UnsafeUnpin for HandleStreamingExec
impl UnwindSafe for HandleStreamingExec
Blanket Implementations§
impl<A> Async for A
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more