pub enum Disposition {
Generated {
unit: Identity<GeneratedUnit>,
},
NotApplicable {
because: OwnerFact,
},
NotRequested {
because: OwnerFact,
},
UnavailableUnderProfile {
profile: Profile,
because: OwnerFact,
},
}Expand description
What happened to one kind that could have been generated.
Silence is not a variant: where a projection is absent, the absence has a name and cites the fact that caused it. There is no refused answer either, because a request that fails a step of the road is refused whole and produces a diagnostic rather than a set.
Variants§
Generated
It was generated, and this is the unit it produced.
Fields
§
unit: Identity<GeneratedUnit>The generated unit’s semantic key.
NotApplicable
It does not apply here, and this is the fact that makes it inapplicable.
NotRequested
Nobody asked for it, and this is the fact that says so.
The profile the request ran under does not offer it.
Trait Implementations§
Source§impl Clone for Disposition
impl Clone for Disposition
Source§fn clone(&self) -> Disposition
fn clone(&self) -> Disposition
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 moreimpl Copy for Disposition
Source§impl Debug for Disposition
impl Debug for Disposition
impl Eq for Disposition
Source§impl Hash for Disposition
impl Hash for Disposition
Source§impl PartialEq for Disposition
impl PartialEq for Disposition
impl StructuralPartialEq for Disposition
Auto Trait Implementations§
impl Freeze for Disposition
impl RefUnwindSafe for Disposition
impl Send for Disposition
impl Sync for Disposition
impl Unpin for Disposition
impl UnsafeUnpin for Disposition
impl UnwindSafe for Disposition
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