Struct lsp_types::MessageType
source · [−]pub struct MessageType(_);
Implementations
sourceimpl MessageType
impl MessageType
sourcepub const ERROR: MessageType = _
pub const ERROR: MessageType = _
An error message.
sourcepub const WARNING: MessageType = _
pub const WARNING: MessageType = _
A warning message.
sourcepub const INFO: MessageType = _
pub const INFO: MessageType = _
An information message;
sourcepub const LOG: MessageType = _
pub const LOG: MessageType = _
A log message.
Trait Implementations
sourceimpl Clone for MessageType
impl Clone for MessageType
sourcefn clone(&self) -> MessageType
fn clone(&self) -> MessageType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MessageType
impl Debug for MessageType
sourceimpl<'de> Deserialize<'de> for MessageType
impl<'de> Deserialize<'de> for MessageType
sourcefn 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
sourceimpl PartialEq<MessageType> for MessageType
impl PartialEq<MessageType> for MessageType
sourcefn eq(&self, other: &MessageType) -> bool
fn eq(&self, other: &MessageType) -> bool
sourceimpl Serialize for MessageType
impl Serialize for MessageType
sourceimpl TryFrom<&str> for MessageType
impl TryFrom<&str> for MessageType
impl Copy for MessageType
impl Eq for MessageType
impl StructuralEq for MessageType
impl StructuralPartialEq for MessageType
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more