[][src]Struct grin_wallet_impls::PathToSlatepack

pub struct PathToSlatepack<'a> {
    pub pathbuf: PathBuf,
    pub packer: &'a Slatepacker<'a>,
    pub armor_output: bool,
}

Fields

pathbuf: PathBufpacker: &'a Slatepacker<'a>armor_output: bool

Implementations

impl<'a> PathToSlatepack<'a>[src]

pub fn new(
    pathbuf: PathBuf,
    packer: &'a Slatepacker<'a>,
    armor_output: bool
) -> Self
[src]

Create with pathbuf and recipients

pub fn get_slatepack_file_contents(&self) -> Result<Vec<u8>, Error>[src]

pub fn get_slatepack(&self, decrypt: bool) -> Result<Slatepack, Error>[src]

Trait Implementations

impl<'a> SlateGetter for PathToSlatepack<'a>[src]

impl<'a> SlatePutter for PathToSlatepack<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PathToSlatepack<'a>

impl<'a> Send for PathToSlatepack<'a>

impl<'a> Sync for PathToSlatepack<'a>

impl<'a> Unpin for PathToSlatepack<'a>

impl<'a> UnwindSafe for PathToSlatepack<'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> SafeBorrow<T> for T where
    T: ?Sized

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T> UnsafeAny for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,