Trait combine::error::StreamErrorInto [−][src]
pub trait StreamErrorInto<Item, Range>: Sized { fn into_other_error<T, Item2, Range2>(self) -> T
where
T: StreamError<Item2, Range2>,
Item2: From<Item>,
Range2: From<Range>; }
Expand description
Defines a conversion between two stream error types.
Like StreamError::into_other
but with a more general signature
(This will take the place of into_other
on breaking release of combine)
Required methods
fn into_other_error<T, Item2, Range2>(self) -> T where
T: StreamError<Item2, Range2>,
Item2: From<Item>,
Range2: From<Range>,
[src]Implementors
This is supported on crate feature
std
only.fn into_other_error<T, Item2, Range2>(self) -> T where
T: StreamError<Item2, Range2>,
Item2: From<Item>,
Range2: From<Range>,
[src]fn into_other_error<T, Item2, Range2>(self) -> T where
T: StreamError<Item2, Range2>,
Item2: From<Item>,
Range2: From<Range>,
[src]fn into_other_error<T, Item2, Range2>(self) -> T where
T: StreamError<Item2, Range2>,
Item2: From<Item>,
Range2: From<Range>,
[src]