Struct nu_plugin_from_sqlite::FromSqlite [−][src]
Fields
state: Vec<u8>
name_tag: Tag
Implementations
impl FromSqlite
[src]
impl FromSqlite
[src]pub fn new() -> FromSqlite
[src]
Trait Implementations
impl Default for FromSqlite
[src]
impl Default for FromSqlite
[src]fn default() -> FromSqlite
[src]
fn default() -> FromSqlite
[src]Returns the “default value” for a type. Read more
impl Plugin for FromSqlite
[src]
impl Plugin for FromSqlite
[src]fn config(&mut self) -> Result<Signature, ShellError>
[src]
fn config(&mut self) -> Result<Signature, ShellError>
[src]The config
method is used to configure a plugin’s user interface / signature. Read more
fn begin_filter(
&mut self,
call_info: CallInfo
) -> Result<Vec<ReturnValue>, ShellError>
[src]
fn begin_filter(
&mut self,
call_info: CallInfo
) -> Result<Vec<ReturnValue>, ShellError>
[src]begin_filter
is the first method to be called if the Signature
of the plugin is configured to be filterable.
Any setup required for the plugin such as parsing arguments from CallInfo
or initializing data structures
can be done here. The CallInfo
parameter will contain data configured in the config
method of the Plugin trait. Read more
fn filter(&mut self, input: Value) -> Result<Vec<ReturnValue>, ShellError>
[src]
fn filter(&mut self, input: Value) -> Result<Vec<ReturnValue>, ShellError>
[src]filter
is called for every Value
that is processed by the plugin.
This method requires the plugin Signature
to be configured as filterable. Read more
fn end_filter(&mut self) -> Result<Vec<ReturnValue>, ShellError>
[src]
fn end_filter(&mut self) -> Result<Vec<ReturnValue>, ShellError>
[src]end_filter
is the last method to be called by the plugin after all Value
s are processed by the plugin.
This method requires the plugin Signature
to be configured as filterable. Read more
fn sink(&mut self, _call_info: CallInfo, _input: Vec<Value, Global>)
[src]
fn sink(&mut self, _call_info: CallInfo, _input: Vec<Value, Global>)
[src]sink
consumes the Value
s that are passed in, preventing further processing.
This method requires the plugin Signature
to be configured without filtering. Read more
fn quit(&mut self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for FromSqlite
impl Send for FromSqlite
impl Sync for FromSqlite
impl Unpin for FromSqlite
impl UnwindSafe for FromSqlite
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SpannedItem for T
[src]
impl<T> SpannedItem for T
[src]impl<T> TaggedItem for T
[src]
impl<T> TaggedItem for T
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,