Skip to main content

ToParseErrorMessage

Trait ToParseErrorMessage 

Source
pub trait ToParseErrorMessage {
    // Required method
    fn to_parse_error_message(self) -> String;
}
Available on crate features rest-client or rpc-client only.
Expand description

Trait for converting parse errors into a String message.

Required Methods§

Source

fn to_parse_error_message(self) -> String

Converts a parse error into a human-readable message.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToParseErrorMessage for &'static str

Source§

impl ToParseErrorMessage for ()

Source§

impl ToParseErrorMessage for Infallible

Source§

impl ToParseErrorMessage for String

Implementors§