pub enum StemError {
StartedLate,
Disarmed,
Truncated,
Gap {
expected: u64,
found: u64,
},
}Expand description
Why a capture could not continue.
Variants§
StartedLate
The capture was started after the console had already produced audio, so the private pipeline would start at a different phase from the console’s and every sample would differ. Start it before the first frame.
Disarmed
The APU’s provenance was disarmed while the capture ran.
Truncated
A frame ran more CPU cycles than the mix trace holds, so cycles were dropped and the stems would be silently short.
Gap
The trace did not start where the previous frame ended: a frame was run without being captured, or the console was reset under the capture.
Trait Implementations§
impl Copy for StemError
impl Eq for StemError
Source§impl Error for StemError
impl Error for StemError
1.30.0 · 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()
impl StructuralPartialEq for StemError
Auto Trait Implementations§
impl Freeze for StemError
impl RefUnwindSafe for StemError
impl Send for StemError
impl Sync for StemError
impl Unpin for StemError
impl UnsafeUnpin for StemError
impl UnwindSafe for StemError
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