Struct cros_async::audio_streams_async::IoSourceWrapper
source · pub struct IoSourceWrapper<T: IntoAsync + Send> {
source: IoSource<T>,
}
Expand description
A wrapper around IoSource that is compatible with the audio_streams traits.
Fields§
§source: IoSource<T>
Trait Implementations§
source§impl<T: IntoAsync + Send> ReadAsync for IoSourceWrapper<T>
impl<T: IntoAsync + Send> ReadAsync for IoSourceWrapper<T>
source§impl<T: IntoAsync + Send> WriteAsync for IoSourceWrapper<T>
impl<T: IntoAsync + Send> WriteAsync for IoSourceWrapper<T>
impl<T: IntoAsync + Send> ReadWriteAsync for IoSourceWrapper<T>
Auto Trait Implementations§
impl<T> !RefUnwindSafe for IoSourceWrapper<T>
impl<T> Send for IoSourceWrapper<T>
impl<T> Sync for IoSourceWrapper<T>where
T: Sync,
impl<T> Unpin for IoSourceWrapper<T>where
T: Unpin,
impl<T> !UnwindSafe for IoSourceWrapper<T>
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