pub struct SourceMatcher { /* private fields */ }Expand description
A parsed, validated untrusted-source matcher (issue #859). Its
path_patterns reuse the segment-aware CalleePattern engine: a leading
*. matches any object prefix (*.query matches req.query and
ctx.req.query); a bare path matches exactly.
Trait Implementations§
Source§impl Clone for SourceMatcher
impl Clone for SourceMatcher
Auto Trait Implementations§
impl Freeze for SourceMatcher
impl RefUnwindSafe for SourceMatcher
impl Send for SourceMatcher
impl Sync for SourceMatcher
impl Unpin for SourceMatcher
impl UnsafeUnpin for SourceMatcher
impl UnwindSafe for SourceMatcher
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