Skip to content

Struct envelope::Rejection

zaun_community_protocol::envelope::Rejection · Struct

pub struct Rejection { … }

A command the host rejects before dispatch; send Rejection::into_response back.

The command’s request_id when it could be read, else None (null).

The error to answer with.

pub fn into_response(self) -> ResponseEnvelope

The response envelope to send.

Clone, Debug

Full rustdoc page