pub struct IgnoreVerifyHostnameCallback {}Expand description
Verify host name callback that always returns a success, effectively ignoring hostname validation
Implementations§
Trait Implementations§
Source§impl VerifyHostNameCallback for IgnoreVerifyHostnameCallback
impl VerifyHostNameCallback for IgnoreVerifyHostnameCallback
fn verify_host_name(&self, _host_name: &str) -> bool
Auto Trait Implementations§
impl Freeze for IgnoreVerifyHostnameCallback
impl RefUnwindSafe for IgnoreVerifyHostnameCallback
impl Send for IgnoreVerifyHostnameCallback
impl Sync for IgnoreVerifyHostnameCallback
impl Unpin for IgnoreVerifyHostnameCallback
impl UnsafeUnpin for IgnoreVerifyHostnameCallback
impl UnwindSafe for IgnoreVerifyHostnameCallback
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