#[non_exhaustive]pub enum RenderStatus {
Complete,
Cancelled,
TailLimit,
}Expand description
Whether rendering completed, stopped at a caller cancellation boundary, or ended a tail at its maximum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Complete
All planned audio and tail have been processed.
Cancelled
The caller cancelled before the next processing block.
TailLimit
All planned audio has been processed, but a TailPolicy::UntilSilence tail reached
RenderOptions::max_tail_seconds before the output stayed silent for the hold: also
when the maximum is shorter than the hold, however quiet the output was.
Trait Implementations§
Source§impl Clone for RenderStatus
impl Clone for RenderStatus
Source§fn clone(&self) -> RenderStatus
fn clone(&self) -> RenderStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderStatus
Source§impl Debug for RenderStatus
impl Debug for RenderStatus
impl Eq for RenderStatus
Source§impl PartialEq for RenderStatus
impl PartialEq for RenderStatus
impl StructuralPartialEq for RenderStatus
Auto Trait Implementations§
impl Forget for RenderStatus
impl Freeze for RenderStatus
impl Move for RenderStatus
impl RefUnwindSafe for RenderStatus
impl Send for RenderStatus
impl Sync for RenderStatus
impl Unpin for RenderStatus
impl UnsafeUnpin for RenderStatus
impl UnwindSafe for RenderStatus
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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