pub enum CompileGraphError {
CycleDetected,
NodeOnEdgeNotFound(Edge, NodeID),
NodeIDNotUnique(NodeID),
EdgeIDNotUnique(EdgeID),
}Expand description
An error occurred while attempting to compile the audio graph into a schedule.
Variants§
CycleDetected
A cycle was detected in the graph.
NodeOnEdgeNotFound(Edge, NodeID)
The input data contained an edge referring to a non-existing node.
NodeIDNotUnique(NodeID)
The input data contained multiple nodes with the same ID.
EdgeIDNotUnique(EdgeID)
The input data contained multiple edges with the same ID.
Trait Implementations§
Source§impl Debug for CompileGraphError
impl Debug for CompileGraphError
Source§impl Display for CompileGraphError
impl Display for CompileGraphError
Source§impl Error for CompileGraphError
impl Error for CompileGraphError
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<E: Error> From<CompileGraphError> for StartStreamError<E>
impl<E: Error> From<CompileGraphError> for StartStreamError<E>
Source§fn from(source: CompileGraphError) -> Self
fn from(source: CompileGraphError) -> Self
Converts to this type from the input type.
Source§impl<E: Error> From<CompileGraphError> for UpdateError<E>
impl<E: Error> From<CompileGraphError> for UpdateError<E>
Source§fn from(source: CompileGraphError) -> Self
fn from(source: CompileGraphError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompileGraphError
impl RefUnwindSafe for CompileGraphError
impl Send for CompileGraphError
impl Sync for CompileGraphError
impl Unpin for CompileGraphError
impl UnwindSafe for CompileGraphError
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