Pickup

Struct Pickup 

Source
pub struct Pickup<R, P, S>
where R: ReadInput, P: Print, S: Store,
{ pub storage: S, /* private fields */ }

Fields§

§storage: S

Implementations§

Source§

impl<R: ReadInput, P: Print, S: Store> Pickup<R, P, S>

Source

pub fn new(reader: R, printer: P, storage: S) -> Self

Source

pub fn run(&mut self, opts: PickupOpts) -> Result<()>

Auto Trait Implementations§

§

impl<R, P, S> Freeze for Pickup<R, P, S>
where R: Freeze, P: Freeze, S: Freeze,

§

impl<R, P, S> RefUnwindSafe for Pickup<R, P, S>

§

impl<R, P, S> Send for Pickup<R, P, S>
where R: Send, P: Send, S: Send,

§

impl<R, P, S> Sync for Pickup<R, P, S>
where R: Sync, P: Sync, S: Sync,

§

impl<R, P, S> Unpin for Pickup<R, P, S>
where R: Unpin, P: Unpin, S: Unpin,

§

impl<R, P, S> UnwindSafe for Pickup<R, P, S>
where R: UnwindSafe, P: UnwindSafe, S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.