pub fn is_access_denied_for_dependency_exception(&self) -> bool {
        matches!(
            &self.kind,
            AcceptHandshakeErrorKind::AccessDeniedForDependencyException(_)
        )
    }
/// Returns `true` if the error kind is `AcceptHandshakeErrorKind::AccessDeniedForDependencyException`.
Returns `true` if the error kind is `AcceptHandshakeErrorKind::AccessDeniedForDependencyException`.
Returns ` true ` if the error kind is ` AcceptHandshakeErrorKind :: AccessDeniedForDependencyException ` .
pub fn is_access_denied_for_dependency_exception(&self) -> bool {
        matches!(
            &self.kind,
            AcceptHandshakeErrorKind::AccessDeniedForDependencyException(_)
        )
    }
pub fn is_access_denied_for_dependency_exception ( & self ) -> bool { matches ! ( self kind AcceptHandshakeErrorKind AccessDeniedForDependencyException ( ) ) }
Returns `true` if the error kind is `AcceptHandshakeErrorKind::AccessDeniedForDependencyException`.
Returns ` true ` if the error kind is ` AcceptHandshakeErrorKind :: AccessDeniedForDependencyException ` .
&self
&self