Skip to main content

IsSetData

pub trait IsSetData<'a> {
    // Required method
    fn get(self) -> Option<&'a [u8]>;
}

Required Methods§

Source

fn get(self) -> Option<&'a [u8]>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a> IsSetData<'a> for DataEmpty

Source§

impl<'a> IsSetData<'a> for DataValue<'a>