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