pub enum ExactSessionError {
Output(ExactOutputError),
TrackActive,
NoTrack,
Finished,
FrameCountOverflow,
}Expand description
Failure preparing or producing the unmodified source stream.
Variants§
Output(ExactOutputError)
Source/output representation or a supplied block is ineligible.
TrackActive
Seal the active source before starting another or finishing.
NoTrack
Source blocks and endings require an active source occurrence.
Finished
A finished session cannot accept further source audio.
FrameCountOverflow
The stream exceeded its representable cumulative frame count.
Trait Implementations§
Source§impl Debug for ExactSessionError
impl Debug for ExactSessionError
Source§impl Display for ExactSessionError
impl Display for ExactSessionError
Source§impl Error for ExactSessionError
impl Error for ExactSessionError
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<ExactOutputError> for ExactSessionError
impl From<ExactOutputError> for ExactSessionError
Source§fn from(error: ExactOutputError) -> Self
fn from(error: ExactOutputError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExactSessionError
impl RefUnwindSafe for ExactSessionError
impl Send for ExactSessionError
impl Sync for ExactSessionError
impl Unpin for ExactSessionError
impl UnwindSafe for ExactSessionError
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