[][src]Trait gpgme::data::IntoData

pub trait IntoData<'a> {
    type Output: BorrowMut<Data<'a>>;
    fn into_data(self) -> Result<Self::Output>;
}

Associated Types

type Output: BorrowMut<Data<'a>>

Loading content...

Required methods

fn into_data(self) -> Result<Self::Output>

Loading content...

Implementations on Foreign Types

impl<'a> IntoData<'a> for &'a [u8][src]

type Output = Data<'a>

impl<'a> IntoData<'a> for &'a Vec<u8>[src]

type Output = Data<'a>

impl<'a> IntoData<'a> for &'a mut Vec<u8>[src]

type Output = Data<'a>

impl IntoData<'static> for Vec<u8>[src]

type Output = Data<'static>

impl<'a> IntoData<'a> for &'a str[src]

type Output = Data<'a>

impl IntoData<'static> for String[src]

type Output = Data<'static>

impl<'a> IntoData<'a> for &'a File[src]

type Output = Data<'a>

impl<'a> IntoData<'a> for &'a mut File[src]

type Output = Data<'a>

impl IntoData<'static> for File[src]

type Output = Data<'static>

Loading content...

Implementors

impl<'a> IntoData<'a> for Data<'a>[src]

type Output = Self

impl<'a, 'b> IntoData<'a> for &'b mut Data<'a>[src]

type Output = Self

Loading content...