Skip to main content

is_session_rejected

Function is_session_rejected 

Source
pub fn is_session_rejected(error: &Error) -> bool
Expand description

True when the error shows that the service no longer accepts the account’s session: a ServiceRejected for which ServiceRejected::is_session_rejected holds, or an OpenImServiceError with the same code.