pub enum AudioStreamState {
Ok,
Err,
Silence,
Other(String),
}Expand description
Represents the state of an audio stream after processing. This indicates whether the stream processed normally or encountered issues.
Variants§
Ok
Stream processing was successful.
Err
An internal error occurred; input buffer is filled with zeros.
Silence
The stream is silent; input buffer is filled with zeros.
Other(String)
Other error condition with a descriptive message; input buffer is filled with zeros.
Trait Implementations§
Source§impl Clone for AudioStreamState
impl Clone for AudioStreamState
Source§fn clone(&self) -> AudioStreamState
fn clone(&self) -> AudioStreamState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioStreamState
impl Debug for AudioStreamState
Source§impl PartialEq for AudioStreamState
impl PartialEq for AudioStreamState
impl Eq for AudioStreamState
impl StructuralPartialEq for AudioStreamState
Auto Trait Implementations§
impl Freeze for AudioStreamState
impl RefUnwindSafe for AudioStreamState
impl Send for AudioStreamState
impl Sync for AudioStreamState
impl Unpin for AudioStreamState
impl UnwindSafe for AudioStreamState
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