pub enum FrameKind {
}Expand description
Discriminates the role a ServerFrame plays in the wire protocol.
Variants§
Request
An eval/agent request.
Response
A successful response to a request.
Error
An error response to a request.
Notify
A one-way notification with no reply expected.
StreamStart
The opening frame of a streamed response.
StreamChunk
One chunk of a streamed response.
StreamEnd
The closing frame of a streamed response.
Negotiate
A codec negotiation offer.
Ping
A liveness probe.
Pong
A reply to a FrameKind::Ping.
Lifecycle
A lifecycle control message.
Fields
§
command: LifecycleCommandLifecycle command being issued.
Trigger
A scheduled or event-driven trigger.
Role
A role assignment for multi-hop routing.
Implementations§
Trait Implementations§
impl Eq for FrameKind
impl StructuralPartialEq for FrameKind
Auto Trait Implementations§
impl Freeze for FrameKind
impl RefUnwindSafe for FrameKind
impl Send for FrameKind
impl Sync for FrameKind
impl Unpin for FrameKind
impl UnsafeUnpin for FrameKind
impl UnwindSafe for FrameKind
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