Enum rodio::StreamError
source · [−]pub enum StreamError {
PlayStreamError(PlayStreamError),
DefaultStreamConfigError(DefaultStreamConfigError),
BuildStreamError(BuildStreamError),
SupportedStreamConfigsError(SupportedStreamConfigsError),
NoDevice,
}
Variants
PlayStreamError(PlayStreamError)
DefaultStreamConfigError(DefaultStreamConfigError)
BuildStreamError(BuildStreamError)
SupportedStreamConfigsError(SupportedStreamConfigsError)
NoDevice
Trait Implementations
sourceimpl Debug for StreamError
impl Debug for StreamError
sourceimpl Display for StreamError
impl Display for StreamError
sourceimpl Error for StreamError
impl Error for StreamError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<BuildStreamError> for StreamError
impl From<BuildStreamError> for StreamError
sourcefn from(err: BuildStreamError) -> Self
fn from(err: BuildStreamError) -> Self
Converts to this type from the input type.
sourceimpl From<DefaultStreamConfigError> for StreamError
impl From<DefaultStreamConfigError> for StreamError
sourcefn from(err: DefaultStreamConfigError) -> Self
fn from(err: DefaultStreamConfigError) -> Self
Converts to this type from the input type.
sourceimpl From<PlayStreamError> for StreamError
impl From<PlayStreamError> for StreamError
sourcefn from(err: PlayStreamError) -> Self
fn from(err: PlayStreamError) -> Self
Converts to this type from the input type.
sourceimpl From<SupportedStreamConfigsError> for StreamError
impl From<SupportedStreamConfigsError> for StreamError
sourcefn from(err: SupportedStreamConfigsError) -> Self
fn from(err: SupportedStreamConfigsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for StreamError
impl Send for StreamError
impl Sync for StreamError
impl Unpin for StreamError
impl UnwindSafe for StreamError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more