pub enum RealtimeSynthError {
NoOutputDevice,
DefaultOutputConfig(DefaultStreamConfigError),
ThreadPoolBuild(ThreadPoolBuildError),
ChannelThreadSpawn(Error),
StreamThreadSpawn(Error),
StreamThreadInit,
EventSenderInit(Error),
BufferedRendererThreadSpawn(Error),
BuildStream(BuildStreamError),
PlayStream(PlayStreamError),
UnsupportedSampleFormat(SampleFormat),
}Variants§
NoOutputDevice
DefaultOutputConfig(DefaultStreamConfigError)
ThreadPoolBuild(ThreadPoolBuildError)
ChannelThreadSpawn(Error)
StreamThreadSpawn(Error)
StreamThreadInit
EventSenderInit(Error)
BufferedRendererThreadSpawn(Error)
BuildStream(BuildStreamError)
PlayStream(PlayStreamError)
UnsupportedSampleFormat(SampleFormat)
Trait Implementations§
Source§impl Debug for RealtimeSynthError
impl Debug for RealtimeSynthError
Source§impl Display for RealtimeSynthError
impl Display for RealtimeSynthError
Source§impl Error for RealtimeSynthError
impl Error for RealtimeSynthError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<BuildStreamError> for RealtimeSynthError
impl From<BuildStreamError> for RealtimeSynthError
Source§fn from(source: BuildStreamError) -> Self
fn from(source: BuildStreamError) -> Self
Converts to this type from the input type.
Source§impl From<DefaultStreamConfigError> for RealtimeSynthError
impl From<DefaultStreamConfigError> for RealtimeSynthError
Source§fn from(source: DefaultStreamConfigError) -> Self
fn from(source: DefaultStreamConfigError) -> Self
Converts to this type from the input type.
Source§impl From<PlayStreamError> for RealtimeSynthError
impl From<PlayStreamError> for RealtimeSynthError
Source§fn from(source: PlayStreamError) -> Self
fn from(source: PlayStreamError) -> Self
Converts to this type from the input type.
Source§impl From<ThreadPoolBuildError> for RealtimeSynthError
impl From<ThreadPoolBuildError> for RealtimeSynthError
Source§fn from(source: ThreadPoolBuildError) -> Self
fn from(source: ThreadPoolBuildError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RealtimeSynthError
impl !RefUnwindSafe for RealtimeSynthError
impl Send for RealtimeSynthError
impl Sync for RealtimeSynthError
impl Unpin for RealtimeSynthError
impl UnsafeUnpin for RealtimeSynthError
impl !UnwindSafe for RealtimeSynthError
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
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more