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