Trait zebra_rpc::methods::errors::OkOrServerError
source · pub(crate) trait OkOrServerError<T> {
// Required method
fn ok_or_server_error<S: ToString>(self, message: S) -> Result<T, Error>;
}
Required Methods§
fn ok_or_server_error<S: ToString>(self, message: S) -> Result<T, Error>
Object Safety§
This trait is not object safe.