pub enum NuCommand {
config,
begin_filter {
params: CallInfo,
},
filter {
params: Value,
},
end_filter,
sink {
params: (CallInfo, Vec<Value>),
},
quit,
}
Variants
config
begin_filter
Fields
params: CallInfo
filter
Fields
params: Value
end_filter
sink
quit
Trait Implementations
sourceimpl<'de> Deserialize<'de> for NuCommand
impl<'de> Deserialize<'de> for NuCommand
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for NuCommand
impl Send for NuCommand
impl Sync for NuCommand
impl Unpin for NuCommand
impl UnwindSafe for NuCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more