pub trait MethodError {
// Required method
fn encode(self) -> Vec<u8> ⓘ;
}
Expand description
Encode an error.
This is useful so that users can use Error
as a variant in their error
types. It should not be necessary to implement this.
pub trait MethodError {
// Required method
fn encode(self) -> Vec<u8> ⓘ;
}
Encode an error.
This is useful so that users can use Error
as a variant in their error
types. It should not be necessary to implement this.