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