[][src]Struct timbre::ReadResult

pub struct ReadResult {
    pub state: StreamState,
    pub read: usize,
}

Indicates the amount of data read and the status of an AudioSource.

Fields

state: StreamStateread: usize

Implementations

impl ReadResult[src]

pub fn good(read: usize) -> Self[src]

pub fn underrun(read: usize) -> Self[src]

pub fn finished(read: usize) -> Self[src]

Trait Implementations

impl Debug for ReadResult[src]

impl Eq for ReadResult[src]

impl PartialEq<ReadResult> for ReadResult[src]

impl StructuralEq for ReadResult[src]

impl StructuralPartialEq for ReadResult[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument 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.