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