Struct nvimpam_lib::handler::NeovimHandler [−][src]
The handler containing the sending end of a channel. The receiving end is the main event loop.
Methods
impl NeovimHandler
[src]
impl NeovimHandler
pub fn parse_lines_event(&mut self, args: Vec<Value>) -> Result<Event, Error>
[src]
pub fn parse_lines_event(&mut self, args: Vec<Value>) -> Result<Event, Error>
Parse a nvim_buf_lines_event notification into a LinesEvent event
pub fn parse_changedtick_event(
&mut self,
args: Vec<Value>
) -> Result<Event, Error>
[src]
pub fn parse_changedtick_event(
&mut self,
args: Vec<Value>
) -> Result<Event, Error>
Parse a nvim_buf_changedtick_event notification into a ChangedTickEvent event
pub fn parse_detach_event(&mut self, args: Vec<Value>) -> Result<Event, Error>
[src]
pub fn parse_detach_event(&mut self, args: Vec<Value>) -> Result<Event, Error>
Parse a nvim_buf_detach_event notification into a DetachEvent event
Trait Implementations
impl Handler for NeovimHandler
[src]
impl Handler for NeovimHandler
fn handle_notify(&mut self, name: &str, args: Vec<Value>)
[src]
fn handle_notify(&mut self, name: &str, args: Vec<Value>)
fn handle_request(
&mut self,
_name: &str,
_args: Vec<Value>
) -> Result<Value, Value>
[src]
fn handle_request(
&mut self,
_name: &str,
_args: Vec<Value>
) -> Result<Value, Value>
As of now, our handler cannot handle requests (only notifications). It doesn't need to.
Auto Trait Implementations
impl Send for NeovimHandler
impl Send for NeovimHandler
impl !Sync for NeovimHandler
impl !Sync for NeovimHandler