#[repr(C)]
pub struct aws_http_request_handler_options { pub self_size: usize, pub server_connection: *mut aws_http_connection, pub user_data: *mut c_void, pub on_request_headers: aws_http_on_incoming_headers_fn, pub on_request_header_block_done: aws_http_on_incoming_header_block_done_fn, pub on_request_body: aws_http_on_incoming_body_fn, pub on_request_done: aws_http_on_incoming_request_done_fn, pub on_complete: aws_http_on_stream_complete_fn, pub on_destroy: aws_http_on_stream_destroy_fn, }

Fields

self_size: usizeserver_connection: *mut aws_http_connection

Required.

user_data: *mut c_void

user_data passed to callbacks. Optional.

on_request_headers: aws_http_on_incoming_headers_fn

Invoked repeatedly times as headers are received. Optional. See aws_http_on_incoming_headers_fn.

on_request_header_block_done: aws_http_on_incoming_header_block_done_fn

Invoked when the request header block has been completely read. Optional. See aws_http_on_incoming_header_block_done_fn.

on_request_body: aws_http_on_incoming_body_fn

Invoked as body data is received. Optional. See aws_http_on_incoming_body_fn.

on_request_done: aws_http_on_incoming_request_done_fn

Invoked when request has been completely read. Optional. See aws_http_on_incoming_request_done_fn.

on_complete: aws_http_on_stream_complete_fn

Invoked when request/response stream is complete, whether successful or unsuccessful Optional. See aws_http_on_stream_complete_fn.

on_destroy: aws_http_on_stream_destroy_fn

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.