[−][src]Struct nvimpam_lib::handler::NeovimHandler
The handler containing the sending end of a channel. The receiving end is
the main event loop.
Methods
impl NeovimHandler[src]
impl NeovimHandlerpub 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 NeovimHandlerfn 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 NeovimHandlerimpl !Sync for NeovimHandler
impl !Sync for NeovimHandlerBlanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> From for T[src]
impl<T> From for Timpl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more