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