pub trait RaxKey<RHS = Self>:
Clone
+ Default
+ Debug {
type Output: RaxKey;
// Required methods
fn encode(self) -> Self::Output;
fn to_buf(&self) -> (*const u8, usize);
unsafe fn from_buf(ptr: *const u8, len: usize) -> RHS;
}Required Associated Types§
Required Methods§
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.