Struct cffi::ArcMarshaler [−][src]
pub struct ArcMarshaler<T: ?Sized>(_);
Trait Implementations
impl<T: ?Sized> FromForeign<*const T, Arc<T>> for ArcMarshaler<T>
[src]
impl<T: ?Sized> FromForeign<*const T, Arc<T>> for ArcMarshaler<T>
[src]impl<T: ?Sized> InputType for ArcMarshaler<T>
[src]
impl<T: ?Sized> InputType for ArcMarshaler<T>
[src]type Foreign = *const T
type ForeignTraitObject = ()
impl<T: ?Sized> ReturnType for ArcMarshaler<T>
[src]
impl<T: ?Sized> ReturnType for ArcMarshaler<T>
[src]type Foreign = *const T
type ForeignTraitObject = TraitObject<T>
fn foreign_default() -> Self::Foreign
[src]
fn foreign_default_trait_object() -> Self::ForeignTraitObject
[src]
impl<T: ?Sized> ToForeign<Arc<T>, *const T> for ArcMarshaler<T>
[src]
impl<T: ?Sized> ToForeign<Arc<T>, *const T> for ArcMarshaler<T>
[src]type Error = Infallible
fn to_foreign(local: Arc<T>) -> Result<*const T, Self::Error>
[src]
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for ArcMarshaler<T> where
T: RefUnwindSafe,
impl<T: ?Sized> RefUnwindSafe for ArcMarshaler<T> where
T: RefUnwindSafe,
impl<T: ?Sized> Send for ArcMarshaler<T> where
T: Send,
impl<T: ?Sized> Send for ArcMarshaler<T> where
T: Send,
impl<T: ?Sized> Sync for ArcMarshaler<T> where
T: Sync,
impl<T: ?Sized> Sync for ArcMarshaler<T> where
T: Sync,
impl<T: ?Sized> Unpin for ArcMarshaler<T> where
T: Unpin,
impl<T: ?Sized> Unpin for ArcMarshaler<T> where
T: Unpin,
impl<T: ?Sized> UnwindSafe for ArcMarshaler<T> where
T: UnwindSafe,
impl<T: ?Sized> UnwindSafe for ArcMarshaler<T> where
T: UnwindSafe,