ImplResponse

Trait ImplResponse 

Source
pub trait ImplResponse:
    Clone
    + Sized
    + Rc {
Show 18 methods // Required methods fn is_read_only(&self) -> c_int; fn error(&self) -> Errorcode; fn set_error(&self, error: Errorcode); fn status(&self) -> c_int; fn set_status(&self, status: c_int); fn status_text(&self) -> CefStringUserfree; fn set_status_text(&self, status_text: Option<&CefString>); fn mime_type(&self) -> CefStringUserfree; fn set_mime_type(&self, mime_type: Option<&CefString>); fn charset(&self) -> CefStringUserfree; fn set_charset(&self, charset: Option<&CefString>); fn header_by_name(&self, name: Option<&CefString>) -> CefStringUserfree; fn set_header_by_name( &self, name: Option<&CefString>, value: Option<&CefString>, overwrite: c_int, ); fn header_map(&self, header_map: Option<&mut CefStringMultimap>); fn set_header_map(&self, header_map: Option<&mut CefStringMultimap>); fn url(&self) -> CefStringUserfree; fn set_url(&self, url: Option<&CefString>); fn get_raw(&self) -> *mut _cef_response_t;
}

Required Methods§

Source

fn is_read_only(&self) -> c_int

See _cef_response_t::is_read_only for more documentation.

Source

fn error(&self) -> Errorcode

See _cef_response_t::get_error for more documentation.

Source

fn set_error(&self, error: Errorcode)

See _cef_response_t::set_error for more documentation.

Source

fn status(&self) -> c_int

See _cef_response_t::get_status for more documentation.

Source

fn set_status(&self, status: c_int)

See _cef_response_t::set_status for more documentation.

Source

fn status_text(&self) -> CefStringUserfree

See _cef_response_t::get_status_text for more documentation.

Source

fn set_status_text(&self, status_text: Option<&CefString>)

See _cef_response_t::set_status_text for more documentation.

Source

fn mime_type(&self) -> CefStringUserfree

See _cef_response_t::get_mime_type for more documentation.

Source

fn set_mime_type(&self, mime_type: Option<&CefString>)

See _cef_response_t::set_mime_type for more documentation.

Source

fn charset(&self) -> CefStringUserfree

See _cef_response_t::get_charset for more documentation.

Source

fn set_charset(&self, charset: Option<&CefString>)

See _cef_response_t::set_charset for more documentation.

Source

fn header_by_name(&self, name: Option<&CefString>) -> CefStringUserfree

See _cef_response_t::get_header_by_name for more documentation.

Source

fn set_header_by_name( &self, name: Option<&CefString>, value: Option<&CefString>, overwrite: c_int, )

See _cef_response_t::set_header_by_name for more documentation.

Source

fn header_map(&self, header_map: Option<&mut CefStringMultimap>)

See _cef_response_t::get_header_map for more documentation.

Source

fn set_header_map(&self, header_map: Option<&mut CefStringMultimap>)

See _cef_response_t::set_header_map for more documentation.

Source

fn url(&self) -> CefStringUserfree

See _cef_response_t::get_url for more documentation.

Source

fn set_url(&self, url: Option<&CefString>)

See _cef_response_t::set_url for more documentation.

Source

fn get_raw(&self) -> *mut _cef_response_t

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§