pub fn not_ready(cause: NotReadyCause, message: impl Into<String>) -> RpcError
A refusal for a request this node cannot serve now but will: Unavailable with a NOT_READY ErrorInfo whose cause metadata is cause.
Unavailable
NOT_READY
ErrorInfo
cause