pub trait HostError {
// Required methods
fn to_debug_string(&mut self, self_: Resource<Error>) -> Result<String>;
fn drop(&mut self, rep: Resource<Error>) -> Result<()>;
}
Required Methods§
sourcefn to_debug_string(&mut self, self_: Resource<Error>) -> Result<String>
fn to_debug_string(&mut self, self_: Resource<Error>) -> Result<String>
Returns a string that’s suitable to assist humans in debugging this error.
The returned string will change across platforms and hosts which means that parsing it, for example, would be a platform-compatibility hazard.