pub enum ModuleBoundaryInputError {
Show 14 variants
EmptyLocationPath,
ZeroLocationLine,
ZeroLocationColumn,
EmptyEntityLabel {
ordinal: u32,
},
EmptyComponentMembers,
DuplicateComponentMember {
ordinal: u32,
},
EmptyComponentPartitions,
DuplicateComponentPartition {
ordinal: u32,
},
ComponentPartitionsExceedMembers {
members: usize,
partitions: usize,
},
AcyclicComponentHasMultipleMembers {
members: usize,
},
MisplacedSymbolPartitionsAreEqual {
ordinal: u32,
},
MisplacedSymbolHasNoOutgoingEdges {
ordinal: u32,
},
MisplacedSymbolForeignEdgesExceedTotal {
foreign_edges: u32,
total_outgoing_edges: u32,
},
EmptyInputTarget,
}Expand description
Why a graph-neutral module-boundary value was refused.
Variants§
EmptyLocationPath
A location was written without a source path.
ZeroLocationLine
A location line was zero; lines are one-based.
ZeroLocationColumn
A location column was zero; columns are one-based.
EmptyEntityLabel
An entity was written without a qualified label.
EmptyComponentMembers
A component listed no member.
DuplicateComponentMember
Two component members shared one ordinal.
EmptyComponentPartitions
A component listed no declared partition.
DuplicateComponentPartition
Two component partitions shared one ordinal.
ComponentPartitionsExceedMembers
More partitions were listed than the component has members.
Fields
AcyclicComponentHasMultipleMembers
A component with several members was reported acyclic.
MisplacedSymbolPartitionsAreEqual
A misplacement named one partition as both declared and candidate.
MisplacedSymbolHasNoOutgoingEdges
A misplacement was reported for a symbol with no outgoing edge.
MisplacedSymbolForeignEdgesExceedTotal
More foreign edges were counted than the symbol has outgoing edges.
Fields
EmptyInputTarget
An input was written without a root target label.
Trait Implementations§
Source§impl Clone for ModuleBoundaryInputError
impl Clone for ModuleBoundaryInputError
Source§fn clone(&self) -> ModuleBoundaryInputError
fn clone(&self) -> ModuleBoundaryInputError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ModuleBoundaryInputError
Source§impl Debug for ModuleBoundaryInputError
impl Debug for ModuleBoundaryInputError
Source§impl Display for ModuleBoundaryInputError
impl Display for ModuleBoundaryInputError
impl Eq for ModuleBoundaryInputError
Source§impl Error for ModuleBoundaryInputError
impl Error for ModuleBoundaryInputError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for ModuleBoundaryInputError
impl PartialEq for ModuleBoundaryInputError
impl StructuralPartialEq for ModuleBoundaryInputError
Auto Trait Implementations§
impl Freeze for ModuleBoundaryInputError
impl RefUnwindSafe for ModuleBoundaryInputError
impl Send for ModuleBoundaryInputError
impl Sync for ModuleBoundaryInputError
impl Unpin for ModuleBoundaryInputError
impl UnsafeUnpin for ModuleBoundaryInputError
impl UnwindSafe for ModuleBoundaryInputError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more