pub struct ReadResult {
pub state: StreamState,
pub read: usize,
}
Expand description
Indicates the amount of data read and the status of an AudioSource
.
Fields§
§state: StreamState
§read: usize
Implementations§
Trait Implementations§
Source§impl Debug for ReadResult
impl Debug for ReadResult
Source§impl PartialEq for ReadResult
impl PartialEq for ReadResult
impl Eq for ReadResult
impl StructuralPartialEq for ReadResult
Auto Trait Implementations§
impl Freeze for ReadResult
impl RefUnwindSafe for ReadResult
impl Send for ReadResult
impl Sync for ReadResult
impl Unpin for ReadResult
impl UnwindSafe for ReadResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more