pub enum FrameType {
Show 30 variants
Connect,
ConnectAck,
ConnectError,
Disconnect,
Subscribe,
SubscribeAck,
SubscribeError,
Unsubscribe,
Publish,
PublishAck,
PublishError,
ConversationOpen,
ConversationMessage,
ConversationClose,
ConversationError,
Accept,
Defer,
Reject,
Ping,
Pong,
Push,
PushReply,
WorkerRegister,
WorkerRegisterAck,
Deliver,
LinkOpen,
LinkOpenAck,
LinkMessage,
DisconnectReason,
Unknown(u8),
}Expand description
Protocol frame categories and their stable wire discriminants.
Variants§
Connect
Connection request.
ConnectAck
Successful connection response.
ConnectError
Failed connection response.
Disconnect
Connection close notification.
Subscribe
Channel subscription request.
SubscribeAck
Successful subscription response.
SubscribeError
Failed subscription response.
Unsubscribe
Channel unsubscription request.
Publish
Channel publish request.
PublishAck
Successful publish response.
PublishError
Failed publish response.
ConversationOpen
Conversation lifecycle open.
ConversationMessage
Conversation message delivery.
ConversationClose
Conversation lifecycle close.
ConversationError
Conversation processing error.
Accept
In-band backpressure acceptance.
Defer
In-band backpressure deferral.
Reject
In-band backpressure rejection.
Ping
Connection keepalive ping.
Pong
Connection keepalive pong.
Push
Server-initiated push of an opaque payload to a connected client.
PushReply
Client-initiated correlated reply to a server push.
WorkerRegister
Worker self-registration announcing identity and routing dimensions.
WorkerRegisterAck
Server acknowledgement of a worker registration (accepted or rejected).
Deliver
Server-to-client delivery of a subscribed channel message.
LinkOpen
A machine opening one end of a link on an application stream.
LinkOpenAck
The server’s answer to a FrameType::LinkOpen.
LinkMessage
One sealed message crossing an open link.
DisconnectReason
Server-to-client close carrying a stable reason (ACCESS-005 R5),
written only on a connection at REVOCATION_CLOSE_VERSION or later.
Unknown(u8)
Forward-compatible frame type not known to this implementation.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.