Skip to main content

TryIntoPattern

Trait TryIntoPattern 

Source
pub trait TryIntoPattern: TryIntoPatternPriv { }
Available on crate feature http only.
Expand description

Private trait used by this module to easily create patterns from owned or static byte-like objects.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TryIntoPattern for &'static [u8]

Source§

impl TryIntoPattern for &'static str

Source§

impl TryIntoPattern for String

Source§

impl TryIntoPattern for Vec<u8>

Implementors§