#[repr(C)]pub struct oboe_AudioStreamErrorCallback {
pub vtable_: *const oboe_AudioStreamErrorCallback__bindgen_vtable,
}
Expand description
AudioStreamErrorCallback defines a callback interface for
being alerted when a stream has an error or is disconnected
using onError*
methods.
Note: This callback is only fired when an AudioStreamCallback is set. If you use AudioStream::write() you have to evaluate the return codes of AudioStream::write() to notice errors in the stream.
It is used with AudioStreamBuilder::setErrorCallback().
Fields§
§vtable_: *const oboe_AudioStreamErrorCallback__bindgen_vtable
Trait Implementations§
Auto Trait Implementations§
impl Freeze for oboe_AudioStreamErrorCallback
impl RefUnwindSafe for oboe_AudioStreamErrorCallback
impl !Send for oboe_AudioStreamErrorCallback
impl !Sync for oboe_AudioStreamErrorCallback
impl Unpin for oboe_AudioStreamErrorCallback
impl UnwindSafe for oboe_AudioStreamErrorCallback
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