pub enum Frame {
Show 14 variants
Setup(SetupFrame),
Error(ErrorFrame),
Lease(LeaseFrame),
Keepalive(KeepaliveFrame),
RequestResponse(RequestResponseFrame),
RequestFnf(RequestFnfFrame),
RequestStream(RequestStreamFrame),
RequestChannel(RequestChannelFrame),
RequestN(RequestNFrame),
Cancel(CancelFrame),
Payload(PayloadFrame),
MetadataPush(MetadataPushFrame),
Resume(ResumeFrame),
ResumeOk(ResumeOkFrame),
}
Available on crate feature
frame
only.Expand description
A frame in the RSocket protocol.
A frame is a single message in the RSocket protocol, which can be a request, response or protocol processing.
Variants§
Setup(SetupFrame)
The SETUP frame.
Error(ErrorFrame)
The ERROR frame.
Lease(LeaseFrame)
The LEASE frame.
Keepalive(KeepaliveFrame)
The KEEPALIVE frame.
RequestResponse(RequestResponseFrame)
The REQUEST_RESPONSE frame.
RequestFnf(RequestFnfFrame)
The REQUEST_FNF frame.
RequestStream(RequestStreamFrame)
The REQUEST_STREAM frame.
RequestChannel(RequestChannelFrame)
The REQUEST_CHANNEL frame.
RequestN(RequestNFrame)
The REQUEST_N frame.
Cancel(CancelFrame)
The CANCEL frame.
Payload(PayloadFrame)
The PAYLOAD frame.
MetadataPush(MetadataPushFrame)
The METADATA_PUSH frame.
Resume(ResumeFrame)
The RESUME frame.
ResumeOk(ResumeOkFrame)
The RESUME_OK frame.
Implementations§
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl !Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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