Trait assembly_fdb::ro::TryFromHandle

source ·
pub trait TryFromHandle<'a, T>: Sized {
    type Error;

    // Required method
    fn try_from(h: Handle<'a, T>) -> Result<Self, Self::Error>;
}
Expand description

Try from a handle

Required Associated Types§

source

type Error

Error type

Required Methods§

source

fn try_from(h: Handle<'a, T>) -> Result<Self, Self::Error>

Conversion function

Object Safety§

This trait is not object safe.

Implementors§