Trait Rewindable

Source
pub trait Rewindable {
    // Required method
    fn rewind(&mut self, bytes: &[u8]) -> Result<()>;
}

Required Methods§

Source

fn rewind(&mut self, bytes: &[u8]) -> Result<()>

Implementors§

Source§

impl<S: Stream + Rewindable, D: TlsDriver> Rewindable for UpgradableStream<S, D>
where D::Stream: Rewindable,

Source§

impl<S: Stream> Rewindable for RewindStream<S>