pub enum FrameType {
Show 22 variants
Hello,
Ready,
RegisterCommand,
RegisterTool,
Subscribe,
CommandResponse,
ToolResult,
InterceptResponse,
ShutdownAck,
Notify,
HostRequest,
ToolDetailResult,
HelloAck,
CommandInvoked,
ToolInvoke,
Event,
Intercept,
Shutdown,
HostResult,
SessionMeta,
ToolDetailInvoke,
Unknown(u16),
}Expand description
Frame types with an explicit Unknown arm so peers
that do not understand a type still skip the frame by length.
Variants§
Hello
Ready
RegisterCommand
RegisterTool
Subscribe
CommandResponse
ToolResult
InterceptResponse
ShutdownAck
Notify
HostRequest
ToolDetailResult
HelloAck
CommandInvoked
ToolInvoke
Event
Intercept
Shutdown
HostResult
SessionMeta
ToolDetailInvoke
Unknown(u16)
Implementations§
Trait Implementations§
impl Copy for FrameType
impl Eq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnsafeUnpin for FrameType
impl UnwindSafe for FrameType
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