pub trait DecodeExt<E>: Stream<Item = RawOperation> {
// Provided method
fn decode(self) -> Decode<Self, E>
where E: Extensions,
Self: Sized { ... }
}Expand description
An extension trait for Streams that provides a convenient decode
method.
Provided Methods§
Sourcefn decode(self) -> Decode<Self, E>where
E: Extensions,
Self: Sized,
fn decode(self) -> Decode<Self, E>where
E: Extensions,
Self: Sized,
Decode byte streams into p2panda operations.