pub trait Encodable {
type Encoded;
// Required method
fn encode(&self, encoding: UiTransactionEncoding) -> Self::Encoded;
}
Expand description
Represents types that can be encoded into one of several encoding formats
pub trait Encodable {
type Encoded;
// Required method
fn encode(&self, encoding: UiTransactionEncoding) -> Self::Encoded;
}
Represents types that can be encoded into one of several encoding formats