pub trait INSData: INSObject {
// Provided methods
fn len(&self) -> usize { ... }
fn bytes(&self) -> &[u8] ⓘ { ... }
fn with_bytes(bytes: &[u8]) -> Id<Self> { ... }
fn from_vec(bytes: Vec<u8>) -> Id<Self> { ... }
}
Provided Methods§
fn len(&self) -> usize
fn bytes(&self) -> &[u8] ⓘ
fn with_bytes(bytes: &[u8]) -> Id<Self>
fn from_vec(bytes: Vec<u8>) -> Id<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.