pub struct CheckAllowlist { /* private fields */ }Implementations§
Source§impl CheckAllowlist
impl CheckAllowlist
pub fn new(store: Arc<dyn AllowlistStore>) -> Self
pub async fn execute(&self, domain: &str) -> Result<AllowlistEntry, AppError>
Auto Trait Implementations§
impl Freeze for CheckAllowlist
impl !RefUnwindSafe for CheckAllowlist
impl Send for CheckAllowlist
impl Sync for CheckAllowlist
impl Unpin for CheckAllowlist
impl UnsafeUnpin for CheckAllowlist
impl !UnwindSafe for CheckAllowlist
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