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