pub enum Notification {
Exit,
Initialized,
ShowMessage(ShowMessage),
LogMessage(LogMessage),
PublishDiagnostics(PublishDiagnostics),
TaskStart(TaskStart),
TaskFinish(TaskFinish),
TaskProgress(TaskProgress),
BuildTargetDidChange(BuildTargetDidChange),
Custom(&'static str, Value),
}Variants§
Exit
Initialized
ShowMessage(ShowMessage)
LogMessage(LogMessage)
PublishDiagnostics(PublishDiagnostics)
TaskStart(TaskStart)
TaskFinish(TaskFinish)
TaskProgress(TaskProgress)
BuildTargetDidChange(BuildTargetDidChange)
Custom(&'static str, Value)
Implementations§
Trait Implementations§
Source§impl Clone for Notification
impl Clone for Notification
Source§fn clone(&self) -> Notification
fn clone(&self) -> Notification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Notification
impl Debug for Notification
Source§impl<'de> Deserialize<'de> for Notification
impl<'de> Deserialize<'de> for Notification
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&str> for Notification
impl From<&str> for Notification
Source§impl From<BuildTargetDidChange> for Notification
impl From<BuildTargetDidChange> for Notification
Source§fn from(msg: BuildTargetDidChange) -> Self
fn from(msg: BuildTargetDidChange) -> Self
Converts to this type from the input type.
Source§impl From<LogMessage> for Notification
impl From<LogMessage> for Notification
Source§fn from(msg: LogMessage) -> Self
fn from(msg: LogMessage) -> Self
Converts to this type from the input type.
Source§impl From<Notification> for Message
impl From<Notification> for Message
Source§fn from(notification: Notification) -> Self
fn from(notification: Notification) -> Self
Converts to this type from the input type.
Source§impl From<PublishDiagnostics> for Notification
impl From<PublishDiagnostics> for Notification
Source§fn from(msg: PublishDiagnostics) -> Self
fn from(msg: PublishDiagnostics) -> Self
Converts to this type from the input type.
Source§impl From<ShowMessage> for Notification
impl From<ShowMessage> for Notification
Source§fn from(msg: ShowMessage) -> Self
fn from(msg: ShowMessage) -> Self
Converts to this type from the input type.
Source§impl From<TaskFinish> for Notification
impl From<TaskFinish> for Notification
Source§fn from(msg: TaskFinish) -> Self
fn from(msg: TaskFinish) -> Self
Converts to this type from the input type.
Source§impl From<TaskProgress> for Notification
impl From<TaskProgress> for Notification
Source§fn from(msg: TaskProgress) -> Self
fn from(msg: TaskProgress) -> Self
Converts to this type from the input type.
Source§impl From<TaskStart> for Notification
impl From<TaskStart> for Notification
Auto Trait Implementations§
impl Freeze for Notification
impl RefUnwindSafe for Notification
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnwindSafe for Notification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more