[][src]Enum nu::ReturnSuccess

pub enum ReturnSuccess {
    Value(Spanned<Value>),
    Action(CommandAction),
}

Variants

Value(Spanned<Value>)Action(CommandAction)

Methods

impl ReturnSuccess[src]

pub fn change_cwd(path: PathBuf) -> ReturnValue[src]

pub fn value(input: impl Into<Spanned<Value>>) -> ReturnValue[src]

pub fn spanned_value(input: Value, span: Span) -> ReturnValue[src]

Trait Implementations

impl Debug for ReturnSuccess[src]

impl Serialize for ReturnSuccess[src]

impl<'de> Deserialize<'de> for ReturnSuccess[src]

Auto Trait Implementations

Blanket Implementations

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.

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<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]