pub struct TlsVerificationDisabledRule { /* private fields */ }Expand description
Comprehensive detection of disabled TLS certificate verification across multiple HTTP/TLS libraries.
Covered libraries:
- native-tls: danger_accept_invalid_certs, danger_accept_invalid_hostnames
- rustls: .dangerous(), DangerousClientConfigBuilder, ServerCertVerified::assertion()
- reqwest: danger_accept_invalid_certs(true), danger_accept_invalid_hostnames(true)
- hyper-tls: native-tls connector with verification disabled
- OpenSSL: SSL_VERIFY_NONE
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TlsVerificationDisabledRule
impl RefUnwindSafe for TlsVerificationDisabledRule
impl Send for TlsVerificationDisabledRule
impl Sync for TlsVerificationDisabledRule
impl Unpin for TlsVerificationDisabledRule
impl UnsafeUnpin for TlsVerificationDisabledRule
impl UnwindSafe for TlsVerificationDisabledRule
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more