pub trait AsLabel {
// Required method
fn as_label(&self) -> &[u8];
}Expand description
Trascript labels.
We prefer if labels are &'static [u8] but of course
users might require labels provided by another langauge.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".