pub enum LowerDiagnosticV2 {
InsertedBridge {
role: String,
rx: String,
tx: String,
from: LaneKindV1,
to: LaneKindV1,
},
InsertedRouter {
role: String,
rx: String,
tx: Vec<String>,
consumers: u32,
},
InsertedMerge {
role: String,
rx: Vec<String>,
tx: String,
policy: MergePolicyV1,
},
Rejected {
target: ExecutionTargetV1,
category: LowerDiagnosticCategoryV2,
message: String,
},
}Expand description
Structured lowering diagnostics for v2 lowering.
Variants§
InsertedBridge
A bridge role was inserted to preserve lane-kind constraints.
InsertedRouter
A router role was inserted for fanout.
Fields
InsertedMerge
A merge role was inserted for fan-in.
Fields
§
policy: MergePolicyV1Merge policy.
Rejected
Lowering rejected the authored input for a structured reason.
Fields
§
target: ExecutionTargetV1Target being lowered.
§
category: LowerDiagnosticCategoryV2Rejection category.
Trait Implementations§
Source§impl Clone for LowerDiagnosticV2
impl Clone for LowerDiagnosticV2
Source§fn clone(&self) -> LowerDiagnosticV2
fn clone(&self) -> LowerDiagnosticV2
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 LowerDiagnosticV2
impl Debug for LowerDiagnosticV2
Source§impl<'de> Deserialize<'de> for LowerDiagnosticV2
impl<'de> Deserialize<'de> for LowerDiagnosticV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LowerDiagnosticV2
impl PartialEq for LowerDiagnosticV2
Source§impl Serialize for LowerDiagnosticV2
impl Serialize for LowerDiagnosticV2
impl Eq for LowerDiagnosticV2
impl StructuralPartialEq for LowerDiagnosticV2
Auto Trait Implementations§
impl Freeze for LowerDiagnosticV2
impl RefUnwindSafe for LowerDiagnosticV2
impl Send for LowerDiagnosticV2
impl Sync for LowerDiagnosticV2
impl Unpin for LowerDiagnosticV2
impl UnwindSafe for LowerDiagnosticV2
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