Enum quilkin::filters::capture::Strategy [−][src]
pub enum Strategy {
Prefix(Prefix),
Suffix(Suffix),
Regex(Regex),
}
Expand description
Strategy to apply for acquiring a set of bytes in the UDP packet
Variants
Prefix(Prefix)
Looks for the set of bytes at the beginning of the packet
Suffix(Suffix)
Look for the set of bytes at the end of the packet
Regex(Regex)
Look for the set of bytes at the end of the packet
Implementations
Trait Implementations
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
The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the $ref
keyword. Read more
Auto Trait Implementations
impl RefUnwindSafe for Strategy
impl UnwindSafe for Strategy
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more