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