pub enum ResampleError {
Initialize(Box<dyn Error + Send + Sync>),
Process(Box<dyn Error + Send + Sync>),
SampleCountOverflow,
}Available on non-
target_family=wasm only.Variants§
Trait Implementations§
Source§impl Debug for ResampleError
impl Debug for ResampleError
Source§impl Display for ResampleError
impl Display for ResampleError
Source§impl Error for ResampleError
impl Error for ResampleError
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<ResampleError> for MicrophoneError
impl From<ResampleError> for MicrophoneError
Source§fn from(source: ResampleError) -> Self
fn from(source: ResampleError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ResampleError
impl !UnwindSafe for ResampleError
impl Freeze for ResampleError
impl Send for ResampleError
impl Sync for ResampleError
impl Unpin for ResampleError
impl UnsafeUnpin for ResampleError
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