CustomBinaryView

Trait CustomBinaryView 

Source
pub unsafe trait CustomBinaryView:
    'static
    + BinaryViewBase
    + Sync
    + Sized {
    type Args: Send;

    // Required methods
    fn new(handle: &BinaryView, args: &Self::Args) -> Result<Self>;
    fn init(&mut self, args: Self::Args) -> Result<()>;

    // Provided method
    fn on_after_snapshot_data_applied(&mut self) { ... }
}

Required Associated Types§

Required Methods§

Source

fn new(handle: &BinaryView, args: &Self::Args) -> Result<Self>

Source

fn init(&mut self, args: Self::Args) -> Result<()>

Provided Methods§

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.

Implementors§