pub struct SsrfGuard { /* private fields */ }Expand description
SSRF guard — validates a URL before any network call.
Implementations§
Source§impl SsrfGuard
impl SsrfGuard
Sourcepub fn with_config(config: SsrfConfig) -> Self
pub fn with_config(config: SsrfConfig) -> Self
Creates a guard with a custom configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SsrfGuard
impl RefUnwindSafe for SsrfGuard
impl Send for SsrfGuard
impl Sync for SsrfGuard
impl Unpin for SsrfGuard
impl UnsafeUnpin for SsrfGuard
impl UnwindSafe for SsrfGuard
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