[−][src]Struct serde_spaniel::rustyline::RustyLinePrompt
Prompt based on RustyLine
Implementations
impl RustyLinePrompt<Editor<SimpleHelper>, SimpleHelper>
[src]
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> RustyLinePrompt<T, H>
[src]
pub fn with_editor(mut editor: T) -> Self
[src]
Constructs a new RustyLinePrompt
with the editor T
.
Trait Implementations
impl Default for RustyLinePrompt<Editor<SimpleHelper>, SimpleHelper>
[src]
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> Drop for RustyLinePrompt<T, H>
[src]
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptRequester for RustyLinePrompt<T, H>
[src]
pub fn is_interactive(&self) -> bool
[src]
pub fn request(
&mut self,
_kind: RequestKind,
prompt: &str,
variants: &'static [&'static str]
) -> Result<String>
[src]
&mut self,
_kind: RequestKind,
prompt: &str,
variants: &'static [&'static str]
) -> Result<String>
pub fn report(&mut self, _kind: ReportKind, msg: &str) -> Result<()>
[src]
impl<T: BorrowMut<Editor<H>>, H: SpanielHelper> PromptResponder for RustyLinePrompt<T, H>
[src]
Auto Trait Implementations
impl<T, H> RefUnwindSafe for RustyLinePrompt<T, H> where
H: RefUnwindSafe,
T: RefUnwindSafe,
[src]
H: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, H> Send for RustyLinePrompt<T, H> where
H: Send,
T: Send,
[src]
H: Send,
T: Send,
impl<T, H> Sync for RustyLinePrompt<T, H> where
H: Sync,
T: Sync,
[src]
H: Sync,
T: Sync,
impl<T, H> Unpin for RustyLinePrompt<T, H> where
H: Unpin,
T: Unpin,
[src]
H: Unpin,
T: Unpin,
impl<T, H> UnwindSafe for RustyLinePrompt<T, H> where
H: UnwindSafe,
T: UnwindSafe,
[src]
H: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,