[][src]Struct cffi::StrMarshaler

pub struct StrMarshaler<'a>(_);

Trait Implementations

impl<'a> FromForeign<Slice<u8>, &'a str> for StrMarshaler<'a>[src]

type Error = Box<dyn Error>

impl<'a> FromForeign<Slice<u8>, Option<&'a str>> for StrMarshaler<'a>[src]

type Error = Box<dyn Error>

impl<'_> InputType for StrMarshaler<'_>[src]

type Foreign = Slice<u8>

impl<'_> ReturnType for StrMarshaler<'_>[src]

impl<'a> ToForeign<&'a str, Slice<u8>> for StrMarshaler<'a>[src]

type Error = Box<dyn Error>

Auto Trait Implementations

impl<'a> RefUnwindSafe for StrMarshaler<'a>

impl<'a> Send for StrMarshaler<'a>

impl<'a> Sync for StrMarshaler<'a>

impl<'a> Unpin for StrMarshaler<'a>

impl<'a> UnwindSafe for StrMarshaler<'a>

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.