[][src]Enum papyrus::repl::Signal

pub enum Signal {
    None,
    Exit,
    ReEvaluate(String),
}

Return signals from evaluating. Sometimes there are extra signals that result from evaluating, such as the signal to exit the repl. These signals are enumerated here.

Variants

None

No signal was sent.

Exit

A signal to exit the repl has been sent.

ReEvaluate(String)

Signal to run the evaluation loop again with the inner value as the line input.

This is usually signaled when EditReplace is instigated. Re-evaulation is signalled rather than handled as the input may be not enough to complete a full repl cycle.

Trait Implementations

impl Debug for Signal[src]

impl PartialEq<Signal> for Signal[src]

impl StructuralPartialEq for Signal[src]

Auto Trait Implementations

impl RefUnwindSafe for Signal

impl Send for Signal

impl Sync for Signal

impl Unpin for Signal

impl UnwindSafe for Signal

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<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<E> SpecializationError for E[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.

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