pub trait ReadOperation: Sized {
type Seal: RgbSeal;
// Required method
fn read_operation(
&mut self,
) -> Result<Option<OperationSeals<Self::Seal>>, impl Error + 'static>;
}
Expand description
Provider which reads an operation and its seals from a consignment stream.
Required Associated Types§
Required Methods§
Sourcefn read_operation(
&mut self,
) -> Result<Option<OperationSeals<Self::Seal>>, impl Error + 'static>
fn read_operation( &mut self, ) -> Result<Option<OperationSeals<Self::Seal>>, impl Error + 'static>
Reads an operation and its seals from a consignment stream and initialize the witness reader.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.