struct StreamOutput<S>(S);
Expand description
A specialized stream for mapping map streams ((&[u8], u64)
) to streams
used by raw fsts ((&[u8], Output)
).
If this were iterators, we could use iter::Map
, but doing this on streams
requires HKT, so we need to write out the monomorphization ourselves.
Tuple Fields§
§0: S
Trait Implementations§
Source§impl<'a, S> Streamer<'a> for StreamOutput<S>
impl<'a, S> Streamer<'a> for StreamOutput<S>
Auto Trait Implementations§
impl<S> Freeze for StreamOutput<S>where
S: Freeze,
impl<S> RefUnwindSafe for StreamOutput<S>where
S: RefUnwindSafe,
impl<S> Send for StreamOutput<S>where
S: Send,
impl<S> Sync for StreamOutput<S>where
S: Sync,
impl<S> Unpin for StreamOutput<S>where
S: Unpin,
impl<S> UnwindSafe for StreamOutput<S>where
S: UnwindSafe,
Blanket Implementations§
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