pub enum Output {
Response {
id: String,
tag: Option<String>,
status: u16,
headers: HashMap<String, Value>,
body: Option<Value>,
body_base64: Option<String>,
body_file: Option<String>,
body_parse_failed: bool,
trace: Trace,
},
Error {
id: Option<String>,
tag: Option<String>,
error: String,
error_code: String,
hint: Option<String>,
retryable: bool,
trace: Trace,
},
DryRun {
method: String,
url: String,
headers: HashMap<String, Value>,
body: Option<Value>,
trace: Trace,
},
ChunkStart {
id: String,
tag: Option<String>,
status: u16,
headers: HashMap<String, Value>,
content_length_bytes: Option<u64>,
},
ChunkData {
id: String,
data: Option<String>,
data_base64: Option<String>,
},
ChunkEnd {
id: String,
tag: Option<String>,
body_file: Option<String>,
trace: Trace,
},
Config(RuntimeConfig),
Pong {
trace: PongTrace,
},
Close {
message: String,
trace: CloseTrace,
},
Log {
event: String,
fields: HashMap<String, Value>,
},
}Variants§
Response
Fields
Error
Fields
DryRun
ChunkStart
Fields
ChunkData
ChunkEnd
Config(RuntimeConfig)
Pong
Close
Log
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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