[−][src]Struct rodio::OutputStream
cpal::Stream
container. Also see the more useful OutputStreamHandle
.
If this is dropped playback will end & attached OutputStreamHandle
s will no longer work.
Implementations
impl OutputStream
[src]
pub fn try_from_device(
device: &Device
) -> Result<(Self, OutputStreamHandle), StreamError>
[src]
device: &Device
) -> Result<(Self, OutputStreamHandle), StreamError>
Returns a new stream & handle using the given output device.
pub fn try_default() -> Result<(Self, OutputStreamHandle), StreamError>
[src]
Return a new stream & handle using the default output device.
Auto Trait Implementations
impl !RefUnwindSafe for OutputStream
impl !Send for OutputStream
impl !Sync for OutputStream
impl Unpin for OutputStream
impl !UnwindSafe for OutputStream
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,