pub enum FramePreflight<'a> {
Ready(DecodedRequest<'a>),
Rejected {
request_id: u64,
status: StatusCode,
used: u32,
},
Unusable(UnusableFrame),
}Variants§
Ready(DecodedRequest<'a>)
The complete frame is validated and may proceed to semantic dispatch.
Rejected
A recoverable protocol error was written to the response port.
Unusable(UnusableFrame)
No response bytes were written and the chain must complete with used length zero.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FramePreflight<'a>
impl<'a> !Send for FramePreflight<'a>
impl<'a> !Sync for FramePreflight<'a>
impl<'a> !UnwindSafe for FramePreflight<'a>
impl<'a> Freeze for FramePreflight<'a>
impl<'a> Unpin for FramePreflight<'a>
impl<'a> UnsafeUnpin for FramePreflight<'a>
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