pub enum ParticipantDispatch {
NotParticipant,
Respond(Frame),
RespondThenClose(Frame),
Fatal(ParticipantDispatchError),
}Expand description
Result of dispatching one generic frame through participant transport.
Variants§
NotParticipant
The generic frame belongs to another protocol.
Respond(Frame)
Exact encoded response selected by the shared gate or semantic handler.
RespondThenClose(Frame)
Exact crate-owned pre-semantic rejection, followed by connection close.
Fatal(ParticipantDispatchError)
No truthful participant response exists; the connection must fail closed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParticipantDispatch
impl RefUnwindSafe for ParticipantDispatch
impl Send for ParticipantDispatch
impl Sync for ParticipantDispatch
impl Unpin for ParticipantDispatch
impl UnsafeUnpin for ParticipantDispatch
impl UnwindSafe for ParticipantDispatch
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