pub struct Loss {
pub kind: Kind,
pub rule: String,
pub message: String,
}Expand description
A place where the IR denies something the hook would not deny.
Fields§
§kind: KindThe access the loss applies to.
rule: StringThe rule group id, or default.<kind>/default for the defaults table.
message: StringWhat the hook does and what OS layers do instead.
Trait Implementations§
impl Eq for Loss
impl StructuralPartialEq for Loss
Auto Trait Implementations§
impl Freeze for Loss
impl RefUnwindSafe for Loss
impl Send for Loss
impl Sync for Loss
impl Unpin for Loss
impl UnsafeUnpin for Loss
impl UnwindSafe for Loss
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