pub enum BlockFamily {
Authorization,
Method,
Parser,
TechniqueLocal,
Surface,
}Expand description
Coarse categorisation of what caused a technique to be blocked.
Variants§
Authorization
Auth gate (401/403/407/511/login-redirect) fired before technique.
Method
Method gate (405 both sides) fired before resource lookup.
Parser
Parser/validator rejection before technique evaluated.
TechniqueLocal
Technique-local: applicability marker missing or mutation destroyed control.
Surface
Surface mismatch: wrong technique family for this response surface.
Trait Implementations§
Source§impl Clone for BlockFamily
impl Clone for BlockFamily
Source§fn clone(&self) -> BlockFamily
fn clone(&self) -> BlockFamily
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 moreSource§impl Debug for BlockFamily
impl Debug for BlockFamily
Source§impl<'de> Deserialize<'de> for BlockFamily
impl<'de> Deserialize<'de> for BlockFamily
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BlockFamily
impl Display for BlockFamily
Source§impl PartialEq for BlockFamily
impl PartialEq for BlockFamily
Source§fn eq(&self, other: &BlockFamily) -> bool
fn eq(&self, other: &BlockFamily) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BlockFamily
impl Serialize for BlockFamily
impl Copy for BlockFamily
impl Eq for BlockFamily
impl StructuralPartialEq for BlockFamily
Auto Trait Implementations§
impl Freeze for BlockFamily
impl RefUnwindSafe for BlockFamily
impl Send for BlockFamily
impl Sync for BlockFamily
impl Unpin for BlockFamily
impl UnsafeUnpin for BlockFamily
impl UnwindSafe for BlockFamily
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