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