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