pub trait TryIntoRlpEncodable {
// Required method
fn try_rlp_encode(&self) -> Result<Vec<u8>>;
}Expand description
Trait for types that can be RLP-encoded, possibly after a fallible conversion.
Types that directly implement [Encodable] can opt in via RlpEncodable
to get a blanket implementation. Types like [AnyHeader] that require
conversion provide their own implementation.