pub enum MessageTypes {
Request,
Response,
Notification,
Error,
}
Variants§
Trait Implementations§
Source§impl Debug for MessageTypes
impl Debug for MessageTypes
Source§impl Display for MessageTypes
Implements the Display
trait for the MessageTypes
enum,
allowing it to be converted into a human-readable string.
impl Display for MessageTypes
Implements the Display
trait for the MessageTypes
enum,
allowing it to be converted into a human-readable string.
Source§impl PartialEq for MessageTypes
impl PartialEq for MessageTypes
impl StructuralPartialEq for MessageTypes
Auto Trait Implementations§
impl Freeze for MessageTypes
impl RefUnwindSafe for MessageTypes
impl Send for MessageTypes
impl Sync for MessageTypes
impl Unpin for MessageTypes
impl UnwindSafe for MessageTypes
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