pub trait HandleConstraints: ManagedVecItem + TryStaticCast + Debug + Clone + From<RawHandle> + PartialEq + PartialEq<RawHandle> {
    // Required methods
    fn new(handle: RawHandle) -> Self;
    fn to_be_bytes(&self) -> [u8; 4];
    fn get_raw_handle(&self) -> RawHandle;

    // Provided method
    fn cast_or_signal_error<E: ErrorApi, U: TryStaticCast>(self) -> U { ... }
}

Required Methods§

source

fn new(handle: RawHandle) -> Self

source

fn to_be_bytes(&self) -> [u8; 4]

source

fn get_raw_handle(&self) -> RawHandle

Provided Methods§

Implementations on Foreign Types§

source§

impl HandleConstraints for i32

source§

fn new(handle: RawHandle) -> Self

source§

fn to_be_bytes(&self) -> [u8; 4]

source§

fn get_raw_handle(&self) -> RawHandle

Implementors§