pub enum BindingProblem {
RequiredUnbound,
TwoDocuments,
NotOneAuthor,
TargetUnbound,
NotSelf,
WrongSelf,
}Expand description
Why a binding is invalid (§2.3), in the order checked.
Variants§
RequiredUnbound
No binding, and the role is required.
TwoDocuments
The requirement names two or more desired resources of the author’s declaration (text 0.6, F-218): one role per document type (§2.1), so there is no one slice to bind. Checked alone.
NotOneAuthor
More than one binding, or one with *, or one that is no address.
TargetUnbound
A target parameter params does not bind.
NotSelf
A target parameter bound to anything but self.system or
self.service.
WrongSelf
Of two target parameters, one bound to the other’s self.
Implementations§
Trait Implementations§
Source§impl Clone for BindingProblem
impl Clone for BindingProblem
impl Copy for BindingProblem
Source§impl Debug for BindingProblem
impl Debug for BindingProblem
impl Eq for BindingProblem
Source§impl Hash for BindingProblem
impl Hash for BindingProblem
Source§impl PartialEq for BindingProblem
impl PartialEq for BindingProblem
impl StructuralPartialEq for BindingProblem
Auto Trait Implementations§
impl Forget for BindingProblem
impl Freeze for BindingProblem
impl Move for BindingProblem
impl RefUnwindSafe for BindingProblem
impl Send for BindingProblem
impl Sync for BindingProblem
impl Unpin for BindingProblem
impl UnsafeUnpin for BindingProblem
impl UnwindSafe for BindingProblem
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
Converts
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> ⓘ
Converts
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