pub trait OptStrings: MaybeStrings + PropertiesBackend {
type Offsets<'a>: GetIndex<Output = u64> + 'a
where Self: 'a;
// Required methods
fn message(&self) -> PropertiesResult<'_, &[u8], Self>;
fn message_offset(&self) -> PropertiesResult<'_, Self::Offsets<'_>, Self>;
fn tag_name(&self) -> PropertiesResult<'_, &[u8], Self>;
fn tag_name_offset(&self) -> PropertiesResult<'_, Self::Offsets<'_>, Self>;
}
Expand description
Trait implemented by all implementors of MaybeStrings
but NoStrings
Required Associated Types§
Required Methods§
fn message(&self) -> PropertiesResult<'_, &[u8], Self>
fn message_offset(&self) -> PropertiesResult<'_, Self::Offsets<'_>, Self>
fn tag_name(&self) -> PropertiesResult<'_, &[u8], Self>
fn tag_name_offset(&self) -> PropertiesResult<'_, Self::Offsets<'_>, Self>
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.