[][src]Struct murmel::p2p::Buffer

pub struct Buffer { /* fields omitted */ }

Methods

impl Buffer[src]

pub fn len(&self) -> usize[src]

not yet consumed length of the buffer

pub fn rollback(&mut self)[src]

rollback to last commit

pub fn commit(&mut self)[src]

checkpoint and drop already read content

Trait Implementations

impl Read for Buffer[src]

impl Write for Buffer[src]

Auto Trait Implementations

impl Send for Buffer

impl Sync for Buffer

impl Unpin for Buffer

impl UnwindSafe for Buffer

impl RefUnwindSafe for Buffer

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<W> WriteExt for W where
    W: Write
[src]

impl<R> ReadExt for R where
    R: Read
[src]

impl<W> WriteBytesExt for W where
    W: Write + ?Sized
[src]

impl<R> ReadBytesExt for R where
    R: Read + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,