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