pub struct Response(/* private fields */);Expand description
See _cef_response_t for more documentation.
Trait Implementations§
Source§impl ConvertParam<*mut _cef_response_t> for &Response
impl ConvertParam<*mut _cef_response_t> for &Response
fn into_raw(self) -> *mut _cef_response_t
Source§impl ConvertParam<*mut _cef_response_t> for &mut Response
impl ConvertParam<*mut _cef_response_t> for &mut Response
fn into_raw(self) -> *mut _cef_response_t
Source§impl ConvertReturnValue<Response> for *mut _cef_response_t
impl ConvertReturnValue<Response> for *mut _cef_response_t
fn wrap_result(self) -> Response
Source§impl ImplResponse for Response
impl ImplResponse for Response
Source§fn is_read_only(&self) -> c_int
fn is_read_only(&self) -> c_int
See
_cef_response_t::is_read_only for more documentation.Source§fn error(&self) -> Errorcode
fn error(&self) -> Errorcode
See
_cef_response_t::get_error for more documentation.Source§fn set_error(&self, error: Errorcode)
fn set_error(&self, error: Errorcode)
See
_cef_response_t::set_error for more documentation.Source§fn status(&self) -> c_int
fn status(&self) -> c_int
See
_cef_response_t::get_status for more documentation.Source§fn set_status(&self, status: c_int)
fn set_status(&self, status: c_int)
See
_cef_response_t::set_status for more documentation.Source§fn status_text(&self) -> CefStringUserfree
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>)
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
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>)
fn set_mime_type(&self, mime_type: Option<&CefString>)
See
_cef_response_t::set_mime_type for more documentation.Source§fn charset(&self) -> CefStringUserfree
fn charset(&self) -> CefStringUserfree
See
_cef_response_t::get_charset for more documentation.Source§fn set_charset(&self, charset: Option<&CefString>)
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
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,
)
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>)
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>)
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
fn url(&self) -> CefStringUserfree
See
_cef_response_t::get_url for more documentation.Source§fn set_url(&self, url: Option<&CefString>)
fn set_url(&self, url: Option<&CefString>)
See
_cef_response_t::set_url for more documentation.fn get_raw(&self) -> *mut _cef_response_t
Source§impl Rc for Response
impl Rc for Response
Source§fn as_base(&self) -> &_cef_base_ref_counted_t
fn as_base(&self) -> &_cef_base_ref_counted_t
Get the reference of cef_base_ref_counted_t.
Source§unsafe fn release(&self) -> bool
unsafe fn release(&self) -> bool
Decrease reference count by 1 and release the value if the count meets 0.
Reuturn
True if it is released. Read moreSource§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.Source§fn has_at_least_one_ref(&self) -> bool
fn has_at_least_one_ref(&self) -> bool
True if the reference count is larger than 0.Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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