Struct binate::frame::codec::RequestResponseFrame [−][src]
pub struct RequestResponseFrame { /* fields omitted */ }
This is supported on crate feature
frame
only.Expand description
The request_response frame.
Frame Contents
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Stream ID |
+-----------+-+-+-+-------------+-------------------------------+
|Frame Type |0|M|F| Flags |
+-------------------------------+
Metadata & Request Data
Implementations
Create a new RequestResponse
frame.
stream_id
MUST be <=MAX_U31
.- flag
follows
means more fragments follow this fragment.
Returns true if this frame has the FOLLOWS flag set.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RequestResponseFrame
impl Send for RequestResponseFrame
impl Sync for RequestResponseFrame
impl Unpin for RequestResponseFrame
impl UnwindSafe for RequestResponseFrame
Blanket Implementations
Mutably borrows from an owned value. Read more