Enum xsynth_render::XSynthRenderError
source · pub enum XSynthRenderError {
SfLoadingFailed(LoadSfError),
MidiLoadingFailed(MIDILoadError),
}
Expand description
Errors that can be generated when rendering a MIDI.
Variants§
SfLoadingFailed(LoadSfError)
MidiLoadingFailed(MIDILoadError)
Trait Implementations§
source§impl Debug for XSynthRenderError
impl Debug for XSynthRenderError
source§impl Display for XSynthRenderError
impl Display for XSynthRenderError
source§impl Error for XSynthRenderError
impl Error for XSynthRenderError
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<LoadSfError> for XSynthRenderError
impl From<LoadSfError> for XSynthRenderError
source§fn from(source: LoadSfError) -> Self
fn from(source: LoadSfError) -> Self
Converts to this type from the input type.
source§impl From<MIDILoadError> for XSynthRenderError
impl From<MIDILoadError> for XSynthRenderError
source§fn from(e: MIDILoadError) -> Self
fn from(e: MIDILoadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for XSynthRenderError
impl !RefUnwindSafe for XSynthRenderError
impl Send for XSynthRenderError
impl Sync for XSynthRenderError
impl Unpin for XSynthRenderError
impl !UnwindSafe for XSynthRenderError
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