pub enum ExcludeError {
MalformedId(String),
NotSourceMember {
artifacts: Vec<String>,
printed: usize,
nearest: BTreeMap<String, Vec<String>>,
},
PartialEnumeration {
facet: String,
reason: String,
},
AmbiguousArtifact {
ambiguous: BTreeMap<String, Vec<String>>,
},
Store(StoreError),
}Expand description
Why record_exclusions could not complete.
Variants§
MalformedId(String)
The binding id is not the canonical <mem>/<stem> shape.
NotSourceMember
One or more artifacts are not members of the binding’s enumerable source
S(D) — the gate refuses the whole call (no partial write). Names each.
Fields
PartialEnumeration
The enumeration of S(D) is known-incomplete (a malformed or
retired-dialect scope pattern), so membership cannot be decided: the
gate would refuse genuinely in-scope artifacts and state the short
count as if it were the population. Refused whole, nothing written.
Fields
AmbiguousArtifact
A source-relative id resolves under MORE THAN ONE of the binding’s primary sources, so recording it would pick a source the caller never named. Refused whole, nothing written; the canonical ids are the recovery, and either one is unambiguous.
Fields
Store(StoreError)
Reading or writing the durable advance store failed.
Trait Implementations§
Source§impl Debug for ExcludeError
impl Debug for ExcludeError
Source§impl Display for ExcludeError
impl Display for ExcludeError
Source§impl Error for ExcludeError
impl Error for ExcludeError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for ExcludeError
impl !UnwindSafe for ExcludeError
impl Freeze for ExcludeError
impl Send for ExcludeError
impl Sync for ExcludeError
impl Unpin for ExcludeError
impl UnsafeUnpin for ExcludeError
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> Fruit for T
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