Enum xio_common::Message
source · pub enum Message {
Request(Request),
Response(Response),
Notification(Notification),
}
Variants
Trait Implementations
sourceimpl HasCommandId for Message
impl HasCommandId for Message
fn command_id(&self) -> u16
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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