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