Enum libpulse_binding::stream::PeekResult
source · Expand description
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
Auto Trait Implementations
impl<'a> RefUnwindSafe for PeekResult<'a>
impl<'a> Send for PeekResult<'a>
impl<'a> Sync for PeekResult<'a>
impl<'a> Unpin for PeekResult<'a>
impl<'a> UnwindSafe for PeekResult<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more