#[non_exhaustive]pub enum RequestCheck {
Unlisted,
Passed(String),
Refused(String),
}Expand description
What a host’s request rules say about one request.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unlisted
No entry names the host.
Passed(String)
The rules let it pass; why, for the audit row.
Refused(String)
The rules refuse it; why, naming the method and the rule, never the path, which may carry data.
Trait Implementations§
Source§impl Clone for RequestCheck
impl Clone for RequestCheck
Source§impl Debug for RequestCheck
impl Debug for RequestCheck
impl Eq for RequestCheck
Source§impl PartialEq for RequestCheck
impl PartialEq for RequestCheck
impl StructuralPartialEq for RequestCheck
Auto Trait Implementations§
impl Forget for RequestCheck
impl Freeze for RequestCheck
impl Move for RequestCheck
impl RefUnwindSafe for RequestCheck
impl Send for RequestCheck
impl Sync for RequestCheck
impl Unpin for RequestCheck
impl UnsafeUnpin for RequestCheck
impl UnwindSafe for RequestCheck
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