pub enum SerialDeployError {
InvalidTechniqueId(String),
EmptyTechnique(String),
UnknownRow {
deployer: String,
row_id: RowInstanceId,
},
DuplicateEventId {
deployer: String,
event_id: SerialEventId,
},
VoiceCountMismatch {
deployer: String,
expected: usize,
actual: usize,
},
InvalidRotationCoverage(usize),
NotInterlocking {
deployer: String,
},
NotCombinatorial {
source_row_id: RowInstanceId,
partner_row_id: RowInstanceId,
block_size: usize,
},
Partition(String),
Plan(String),
}Expand description
Failure while composing one inspectable serial deployment plan.
Variants§
InvalidTechniqueId(String)
The supplied technique id was empty or used an invalid character.
EmptyTechnique(String)
The technique attempted to build without any deployers.
UnknownRow
A deployer named a row instance missing from the deployment input.
DuplicateEventId
A deployer attempted to reuse an event id already emitted earlier.
VoiceCountMismatch
A deployer requiring one voice per block or form received the wrong count.
Fields
InvalidRotationCoverage(usize)
Aggregate-rotation block lengths failed to cover exactly one row.
NotInterlocking
The caller requested an interlocking deployment without an interlocking witness.
NotCombinatorial
The requested simultaneous forms were not combinatorial at the block size.
Partition(String)
Building or validating a pitch-serial partition failed.
Plan(String)
Final immutable serial-plan validation failed.
Trait Implementations§
Source§impl Clone for SerialDeployError
impl Clone for SerialDeployError
Source§fn clone(&self) -> SerialDeployError
fn clone(&self) -> SerialDeployError
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 moreSource§impl Debug for SerialDeployError
impl Debug for SerialDeployError
Source§impl Display for SerialDeployError
impl Display for SerialDeployError
impl Eq for SerialDeployError
Source§impl Error for SerialDeployError
impl Error for SerialDeployError
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 SerialDeployError
impl PartialEq for SerialDeployError
impl StructuralPartialEq for SerialDeployError
Auto Trait Implementations§
impl Freeze for SerialDeployError
impl RefUnwindSafe for SerialDeployError
impl Send for SerialDeployError
impl Sync for SerialDeployError
impl Unpin for SerialDeployError
impl UnsafeUnpin for SerialDeployError
impl UnwindSafe for SerialDeployError
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