[][src]Trait rubble::uuid::IsUuid

pub trait IsUuid: for<'a> FromBytes<'a> + ToBytes + Copy {
const KIND: UuidKind;
}

Marker for UUID types.

This is useful when being generic over the specific type of UUID used. It also brings in the ToBytes and FromBytes trait bounds that are likely needed as well.

Associated Constants

const KIND: UuidKind

Loading content...

Implementors

impl IsUuid for Uuid[src]

impl IsUuid for Uuid16[src]

impl IsUuid for Uuid32[src]

Loading content...