pub struct Fetcher<Ctx: ?Sized> { /* private fields */ }
Expand description
Holds a fetcher’s required matcher type and function.
A fetcher is responsible for extracting values from the context type. Each fetcher has:
- A function that extracts values from the context
- A matcher that determines how to compare these values to the rule conditions
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Ctx> Freeze for Fetcher<Ctx>where
Ctx: ?Sized,
impl<Ctx> !RefUnwindSafe for Fetcher<Ctx>
impl<Ctx> !Send for Fetcher<Ctx>
impl<Ctx> !Sync for Fetcher<Ctx>
impl<Ctx> Unpin for Fetcher<Ctx>where
Ctx: ?Sized,
impl<Ctx> !UnwindSafe for Fetcher<Ctx>
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