[][src]Struct cffi::ArcMarshaler

pub struct ArcMarshaler<T: ?Sized>(_);

Trait Implementations

impl<T> FromForeign<*const T, Arc<T>> for ArcMarshaler<T>[src]

type Error = Box<dyn Error>

impl<T> InputType for ArcMarshaler<T>[src]

impl<T> ReturnType for ArcMarshaler<T>[src]

impl<T> ToForeign<Arc<T>, *const T> for ArcMarshaler<T>[src]

type Error = Infallible

impl<T: ?Sized> ToForeign<Result<Arc<T>, Box<dyn Error + 'static>>, *const T> for ArcMarshaler<T>[src]

type Error = Box<dyn Error>

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for ArcMarshaler<T> where
    T: RefUnwindSafe

impl<T: ?Sized> Send for ArcMarshaler<T> where
    T: Send

impl<T: ?Sized> Sync for ArcMarshaler<T> where
    T: Sync

impl<T: ?Sized> Unpin for ArcMarshaler<T> where
    T: Unpin

impl<T: ?Sized> UnwindSafe for ArcMarshaler<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.