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