[][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> Sync for PeekResult<'a>

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

impl<'a> Unpin for PeekResult<'a>

impl<'a> RefUnwindSafe for PeekResult<'a>

impl<'a> UnwindSafe for PeekResult<'a>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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