Struct gen_lsp_server::RawNotification [−][src]
Fields
method: String
params: Value
Methods
impl RawNotification
[src]
impl RawNotification
pub fn new<N>(params: &N::Params) -> RawNotification where
N: Notification,
N::Params: Serialize,
[src]
pub fn new<N>(params: &N::Params) -> RawNotification where
N: Notification,
N::Params: Serialize,
pub fn cast<N>(self) -> Result<N::Params, RawNotification> where
N: Notification,
N::Params: DeserializeOwned,
[src]
pub fn cast<N>(self) -> Result<N::Params, RawNotification> where
N: Notification,
N::Params: DeserializeOwned,
Trait Implementations
impl Debug for RawNotification
[src]
impl Debug for RawNotification
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for RawNotification
[src]
impl Clone for RawNotification
fn clone(&self) -> RawNotification
[src]
fn clone(&self) -> RawNotification
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for RawNotification
impl Send for RawNotification
impl Sync for RawNotification
impl Sync for RawNotification