[][src]Enum libpulse_binding::stream::PeekResult

pub enum PeekResult<'a> {
    Empty,
    Hole(usize),
    Data(&'a [u8]),
}

Result type for the Stream::Peek method. See documentation of the method itself for more information.

Variants

Empty

No data (Null data pointer and size of 0 returned by PA).

Hole(usize)

Data hole with given size (Null pointer with non-zero size returned by PA).

Data(&'a [u8])

Data available, with slice into memory returned by PA.

Trait Implementations

impl<'a> Debug for PeekResult<'a>[src]

Auto Trait Implementations

impl<'a> Send for PeekResult<'a>

impl<'a> Sync for PeekResult<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.