Trait winnow::stream::UpdateSlice

source ·
pub trait UpdateSlice: Stream {
    // Required method
    fn update_slice(self, inner: Self::Slice) -> Self;
}
Expand description

Convert a Stream into an appropriate Output type

Required Methods§

source

fn update_slice(self, inner: Self::Slice) -> Self

Convert an Output type to be used as Stream

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> UpdateSlice for &'a str

source§

fn update_slice(self, inner: Self::Slice) -> Self

source§

impl<'a, T> UpdateSlice for &'a [T]
where T: Clone + Debug,

source§

fn update_slice(self, inner: Self::Slice) -> Self

Implementors§

source§

impl<'a> UpdateSlice for &'a BStr

source§

impl<'a> UpdateSlice for &'a Bytes

source§

impl<I> UpdateSlice for Located<I>
where I: UpdateSlice,

source§

impl<I> UpdateSlice for Partial<I>
where I: UpdateSlice,

source§

impl<I, S> UpdateSlice for Stateful<I, S>
where I: UpdateSlice, S: Clone + Debug,