Module pipe

Module pipe 

Source
Expand description

Pipes combinators

Structs§

And
AndExt::and implementation
AndOther
AndExt::and_other implementation
AndSelf
AndExt::and_self implementation
AndSkip
SkipExt::and_skip implementation
AndThen
AndThenExt::and_then implementation
AndThenF
AndThenExt::and_thenf implementation
BoxedPipe
BoxedExt::boxed implementation
Deescalate
ErrExt::deescalate implementation
EitherPipe
EitherExt::either implementation
EitherPipeFull
EitherExt::either_full implementation
Escalate
ErrExt::escalate implementation
InvalidRepetition
Invalid repetition
Map
MapExt::map implementation
Map1
MapExt::map1 implementation
MapErr
MapExt::map_err implementation
MapF
MapExt::mapf implementation
NoMoreUntil
UntilExt::no_more_until implementation
Not
NotExt::not implementation
OkAndThen
AndThenExt::ok_and_then implementation
OkThen
AndThenExt::ok_then implementation
Opt
OptExt::opt implementation
Or
OrExt::or implementation
OrOther
OrExt::or_other implementation
OrSelf
OrExt::or_self implementation
OrSkip
SkipExt::or_skip implementation
Peek
PeekExt::peek implementation
RepeatPipe
RepeatExt::repeat implementation
RepeatUntil
UntilExt::repeat_until implementation
Repetition
Represents a range or a fixed number
Skip
SkipExt::skip implementation
UnpackPipe
UnpackExt::unpack implementation
Until
UntilExt::until implementation
Wrap
WrapExt::wrap implementation

Enums§

Incomplete
Incomplete error
NotError
A pipe that should have failed succeed

Traits§

AndExt
Combinator that chains 2 pipes together
AndThenExt
Combinator that applies a faillible function on the output of a pipe
AnyOf
any_of implementation detail
BoxedExt
Wrap a Pipe into a Box
EitherExt
Either combinator
ErrExt
Changes error behaviour
MapExt
Combinator that transforms a part of a pipe
NotExt
Changes error behaviour
OptExt
Makes a Pipe optional
OrExt
Or combinator
PeekExt
Applies a Pipe without consuming the input
RepeatExt
Combinator that makes repetitions
SkipExt
Combinator that discards output
UnpackExt
Combinator that calls tuplify::Unpack::unpack on it’s output
UntilExt
Until combinator
WrapExt
Wraps the pipe and input/ouput into a closure

Functions§

any_of
Similar to OrExt::or but with many possibilities at once
error
creates a pipe that always return an error