[][src]Struct serde_spaniel::stdio::ReadWritePrompt

pub struct ReadWritePrompt<R, W> { /* fields omitted */ }

Prompt which reads and writes via std::io traits.

Implementations

impl<'a> ReadWritePrompt<Stdin, Stdout>[src]

pub fn new_stdio() -> Self[src]

impl<R: BufRead, W: Write> ReadWritePrompt<R, W>[src]

pub fn new_requester(read: R, write: W, is_interactive: bool) -> Self[src]

impl<W: Write> ReadWritePrompt<(), W>[src]

pub fn new_responder(write: W) -> Self[src]

Trait Implementations

impl<'a, R: BufRead, W: Write> PromptRequester for ReadWritePrompt<R, W>[src]

impl<'a, R, W: Write> PromptResponder for ReadWritePrompt<R, W>[src]

Auto Trait Implementations

impl<R, W> RefUnwindSafe for ReadWritePrompt<R, W> where
    R: RefUnwindSafe,
    W: RefUnwindSafe
[src]

impl<R, W> Send for ReadWritePrompt<R, W> where
    R: Send,
    W: Send
[src]

impl<R, W> Sync for ReadWritePrompt<R, W> where
    R: Sync,
    W: Sync
[src]

impl<R, W> Unpin for ReadWritePrompt<R, W> where
    R: Unpin,
    W: Unpin
[src]

impl<R, W> UnwindSafe for ReadWritePrompt<R, W> where
    R: UnwindSafe,
    W: UnwindSafe
[src]

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.