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