pub trait CustomBinaryViewType: 'static + BinaryViewTypeBase + Sync {
// Required method
fn create_custom_view<'builder>(
&self,
data: &BinaryView,
builder: CustomViewBuilder<'builder, Self>
) -> Result<CustomView<'builder>>;
// Provided method
fn parse_custom_view<'builder>(
&self,
data: &BinaryView,
builder: CustomViewBuilder<'builder, Self>
) -> Result<CustomView<'builder>> { ... }
}
Required Methods§
fn create_custom_view<'builder>( &self, data: &BinaryView, builder: CustomViewBuilder<'builder, Self> ) -> Result<CustomView<'builder>>
Provided Methods§
fn parse_custom_view<'builder>( &self, data: &BinaryView, builder: CustomViewBuilder<'builder, Self> ) -> Result<CustomView<'builder>>
Object Safety§
This trait is not object safe.