struct Refused {
action: ActionKind,
refusal: Refusal,
}Expand description
A refusal, and the kind to name in the event.
The two are separate because they disagree exactly once, and that
disagreement is the point of the module note: Action::Replace(b) at
Site::Object is refused with WrongSite { action: ReplaceObject } —
classify’s value, which the published ReplaceObject cell is compared
against — while the event says action: Replace, which is what the hook
returned.
Fields§
§action: ActionKind§refusal: RefusalImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Refused
impl RefUnwindSafe for Refused
impl Send for Refused
impl Sync for Refused
impl Unpin for Refused
impl UnsafeUnpin for Refused
impl UnwindSafe for Refused
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