#[non_exhaustive]pub enum GraphStateError {
Topology,
ClipChain {
bus: usize,
error: ChainStateError,
},
TrackBus {
bus: usize,
error: ChainStateError,
},
Master(ChainStateError),
Alignment {
bus: usize,
error: StateError,
},
}Expand description
Where an AudioGraph refused a saved state, and why. The graph is
left as it was.
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.
Topology
The state was saved by a graph with another number of buses.
ClipChain
A bus’s clip chain refused its part.
TrackBus
A track bus refused its part.
Master(ChainStateError)
The master chain refused its part.
Alignment
The audio a bus’s alignment holds does not fit it: the buses’ latencies differ from the saving graph’s.
Trait Implementations§
Source§impl Clone for GraphStateError
impl Clone for GraphStateError
impl Copy for GraphStateError
Source§impl Debug for GraphStateError
impl Debug for GraphStateError
Source§impl Display for GraphStateError
impl Display for GraphStateError
impl Eq for GraphStateError
Source§impl Error for GraphStateError
impl Error for GraphStateError
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()
Source§impl PartialEq for GraphStateError
impl PartialEq for GraphStateError
impl StructuralPartialEq for GraphStateError
Auto Trait Implementations§
impl Freeze for GraphStateError
impl RefUnwindSafe for GraphStateError
impl Send for GraphStateError
impl Sync for GraphStateError
impl Unpin for GraphStateError
impl UnsafeUnpin for GraphStateError
impl UnwindSafe for GraphStateError
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