pub enum Reason {
Function,
Host,
Task,
NotData,
Opaque,
JsonValue,
OptionalJson,
SharedKey,
}Expand description
What the part a judgment refuses is.
Variants§
Function
A function.
Host
A host type where host values may not stand.
Task
A task.
NotData
Some other type that is not data.
Opaque
An opaque type where no opaque part may stand.
JsonValue
json.Value held by an Option that crosses a boundary, which a
judgment that starts held by one, as a type parameter’s may, reports.
OptionalJson
An Option<json.Value> that crosses a boundary.
A declaration two of whose names share the relaxed key the judgment matches names by.
Trait Implementations§
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Forget for Reason
impl Freeze for Reason
impl Move for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
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