[][src]Struct sss_rs::sharer::SecretIterator

pub struct SecretIterator { /* fields omitted */ }

Iterator that iterates over a given Secret, returning smaller segments of it at a time. Returns Option<Result<Vec, Box>> because file reads may fail, and in that case Some(Err(_)) is returned. Iteration can continue, but the behavior is undefined as it may be able to continue reading or may not depending on the initial error. See std::io::Error for possible errors.

Trait Implementations

impl Iterator for SecretIterator[src]

type Item = Result<Vec<u8>, Box<dyn Error>>

The type of the elements being iterated over.

Auto Trait Implementations

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<I> IteratorRandom for I where
    I: Iterator
[src]