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 Forget for SourceMatcher
impl Freeze for SourceMatcherwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<CalleePattern>: Freeze,
PhantomData<String>: Freeze,
impl Move for SourceMatcher
impl RefUnwindSafe for SourceMatcher
impl Send for SourceMatcherwhere
RawVecInner: Send,
impl Sync for SourceMatcherwhere
RawVecInner: Sync,
impl Unpin for SourceMatcher
impl UnsafeUnpin for SourceMatcherwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<CalleePattern>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SourceMatcherwhere
RawVecInner: UnwindSafe,
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