Struct nvim_rs::rpc::handler::Dummy [−][src]
Expand description
The dummy handler defaults to doing nothing with a notification, and returning a generic error for a request. It can be used if a plugin only wants to send requests to neovim and get responses, but not handle any notifications or requests.
Implementations
Trait Implementations
type Writer = Q
type Writer = Q
The type where we write our responses to requests. Handling of incoming requests/notifications is done on the io loop, which passes the parsed messages to the handler. Read more
Handling an rpc notification. Notifications are handled one at a time in the order in which they were received, and will block new requests from being received until handle_notify returns. Read more
Auto Trait Implementations
impl<Q> RefUnwindSafe for Dummy<Q> where
Q: RefUnwindSafe,
impl<Q> UnwindSafe for Dummy<Q> where
Q: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
