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

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

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

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

Data available, with slice into memory returned by PA.

Trait Implementations

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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