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