pub struct OkAndThen<O, R, P, P1>(/* private fields */);Expand description
AndThenExt::ok_and_then implementation
Trait Implementations§
Auto Trait Implementations§
impl<O, R, P, P1> Freeze for OkAndThen<O, R, P, P1>
impl<O, R, P, P1> RefUnwindSafe for OkAndThen<O, R, P, P1>
impl<O, R, P, P1> Send for OkAndThen<O, R, P, P1>
impl<O, R, P, P1> Sync for OkAndThen<O, R, P, P1>
impl<O, R, P, P1> Unpin for OkAndThen<O, R, P, P1>
impl<O, R, P, P1> UnwindSafe for OkAndThen<O, R, P, P1>
Blanket Implementations§
Source§impl<I, O, E, R, P> AndExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> AndExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§impl<I, O, E, R, P> AndThenExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> AndThenExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§fn and_then<O2, F>(self, f: F) -> AndThen<O, Self, F>
fn and_then<O2, F>(self, f: F) -> AndThen<O, Self, F>
Applies the given closure on the output of the pipe Read more
Source§fn and_thenf<O2, F>(self, f: F) -> AndThenF<O, Self, F>
fn and_thenf<O2, F>(self, f: F) -> AndThenF<O, Self, F>
Applies the given closure on the output of a pipe Read more
Source§fn ok_and_then<O2, R2, F>(self, other: F) -> OkAndThen<O, R, Self, F>
fn ok_and_then<O2, R2, F>(self, other: F) -> OkAndThen<O, R, Self, F>
Applies the given closure to the output and remaining input of a pipe Read more
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<I, O, E, R, P> EitherExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> EitherExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§fn either<O2, P>(self, p: P) -> EitherPipe<O, O2, Self, P>
fn either<O2, P>(self, p: P) -> EitherPipe<O, O2, Self, P>
Source§fn either_full<O2, R2, P>(self, p: P) -> EitherPipeFull<O, O2, Self, P>
fn either_full<O2, R2, P>(self, p: P) -> EitherPipeFull<O, O2, Self, P>
Source§impl<I, O, E, R, P> ErrExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> ErrExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§fn deescalate(self) -> Deescalate<Self>where
Self: Sized,
fn deescalate(self) -> Deescalate<Self>where
Self: Sized,
makes fatal errors non fatal
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 moreSource§impl<I, O, E, R, P> MapExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> MapExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§fn map1<F>(self, f: F) -> Map1<Self, F, O>
fn map1<F>(self, f: F) -> Map1<Self, F, O>
Maps the output of a pipe
O to O2 by applying a function to it.
The result is mapped into a tuple Read moreSource§fn mapf<O2, F>(self, f: F) -> MapF<Self, F, O>
fn mapf<O2, F>(self, f: F) -> MapF<Self, F, O>
Maps the output of a pipe
O to O2 by applying a function to it.
The result is mapped into a tuple Read moreSource§impl<I, O, E, R, P> OrExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> OrExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§impl<I, O, E, R, P> SkipExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
impl<I, O, E, R, P> SkipExt<I, O, E, R> for Pwhere
P: Pipe<I, O, E, R>,
Source§impl<I, O, E, P> UntilExt<I, O, E> for Pwhere
P: Pipe<I, O, E>,
impl<I, O, E, P> UntilExt<I, O, E> for Pwhere
P: Pipe<I, O, E>,
Source§fn no_more_until<O2, P>(self, p: P) -> NoMoreUntil<Self, P, O, O2>
fn no_more_until<O2, P>(self, p: P) -> NoMoreUntil<Self, P, O, O2>
Applies
self until p succeeds, self is applied 0 or more times