ferron
1.1.0
Module split_
stream_
by_
map
Module Items
Structs
Enums
Traits
In ferron::
ferron_
util
ferron
::
ferron_util
Module
split_stream_by_map
Copy item path
Source
Structs
§
Left
Split
ByMap
A struct that implements
Stream
which returns the inner values where the predicate returns
Either::Left(..)
when using
split_by_map
Right
Split
ByMap
A struct that implements
Stream
which returns the inner values where the predicate returns
Either::Right(..)
when using
split_by_map
Split
ByMap
🔒
Enums
§
Either
Combines two different futures, streams, or sinks having the same associated types into a single type.
Traits
§
Split
Stream
ByMap
Ext
This extension trait provides the functionality for splitting a stream by a predicate of type
Fn(Self::Item) -> Either<L,R>
. The resulting streams will yield types
L
and
R
respectively