#[repr(u8)]pub enum MsgKind {
Request = 1,
Response = 2,
StreamChunk = 3,
StreamEnd = 4,
Cancel = 5,
Log = 6,
}Expand description
Message types for the virtqueue wire protocol.
Variants§
Request = 1
A function call request (FunctionCall payload follows).
Response = 2
A function call response (FunctionCallResult payload follows).
StreamChunk = 3
A stream data chunk.
StreamEnd = 4
End-of-stream marker.
Cancel = 5
Cancel a pending request.
Log = 6
A guest log message (GuestLogData payload follows).
Trait Implementations§
impl Copy for MsgKind
impl Eq for MsgKind
impl StructuralPartialEq for MsgKind
Auto Trait Implementations§
impl Freeze for MsgKind
impl RefUnwindSafe for MsgKind
impl Send for MsgKind
impl Sync for MsgKind
impl Unpin for MsgKind
impl UnsafeUnpin for MsgKind
impl UnwindSafe for MsgKind
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