Trait epee_encoding::EpeeValue
source · pub trait EpeeValue: Sized + Sealed {
const MARKER: Marker;
// Required methods
fn read<R: Read>(r: &mut R, marker: &Marker) -> Result<Self>;
fn write<W: Write>(&self, w: &mut W) -> Result<()>;
// Provided method
fn should_write(&self) -> bool { ... }
}
Expand description
A trait for epee values, this trait is sealed as all possible epee values are
defined in the lib, to make an EpeeValue
outside the lib you will need to
use the trait EpeeObject
.