pub trait CaptureDataSet: CopperListTuple {
const RECONSTRUCTION: &'static [bool];
// Required methods
fn stream_schema() -> ApplicationSchema;
fn encode_capture<E: Encoder>(
&self,
encoder: &mut E,
) -> Result<(), EncodeError>;
fn validate_capture(&self) -> Result<()>;
fn restore_sender_metadata(&mut self, captured: &Self);
}Expand description
Generated from RON. Slot dispatch and storage are fixed at compile time.
Required Associated Constants§
Sourceconst RECONSTRUCTION: &'static [bool]
const RECONSTRUCTION: &'static [bool]
Per-output flags: true for reconstructed outputs, false for captured outputs.
Required Methods§
fn stream_schema() -> ApplicationSchema
fn encode_capture<E: Encoder>(&self, encoder: &mut E) -> Result<(), EncodeError>
fn validate_capture(&self) -> Result<()>
fn restore_sender_metadata(&mut self, captured: &Self)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".