ShortUuid

Trait ShortUuid 

Source
pub trait ShortUuid {
    // Required methods
    fn from_short(uuid: u16) -> Uuid;
    fn from_string(uuid_str: &str) -> Uuid;
}

Required Methods§

Source

fn from_short(uuid: u16) -> Uuid

Source

fn from_string(uuid_str: &str) -> Uuid

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.

Implementations on Foreign Types§

Source§

impl ShortUuid for Uuid

Source§

fn from_short(uuid: u16) -> Uuid

Source§

fn from_string(uuid_str: &str) -> Uuid

Implementors§