pub struct AgentMuxBrowserProcessHandler {
client: RefCell<Option<Client>>,
state: Arc<AppState>,
ipc_port: u16,
cef_object: *mut RcImpl<_cef_browser_process_handler_t, Self>,
}Fields§
§client: RefCell<Option<Client>>§state: Arc<AppState>§ipc_port: u16§cef_object: *mut RcImpl<_cef_browser_process_handler_t, Self>Implementations§
Trait Implementations§
Source§impl ImplBrowserProcessHandler for AgentMuxBrowserProcessHandler
impl ImplBrowserProcessHandler for AgentMuxBrowserProcessHandler
Source§fn on_context_initialized(&self)
fn on_context_initialized(&self)
See [
_cef_browser_process_handler_t::on_context_initialized] for more documentation.Source§fn default_client(&self) -> Option<Client>
fn default_client(&self) -> Option<Client>
See [
_cef_browser_process_handler_t::get_default_client] for more documentation.fn get_raw(&self) -> *mut _cef_browser_process_handler_t
§fn on_register_custom_preferences(
&self,
type_: PreferencesType,
registrar: Option<&mut PreferenceRegistrar>,
)
fn on_register_custom_preferences( &self, type_: PreferencesType, registrar: Option<&mut PreferenceRegistrar>, )
See [
_cef_browser_process_handler_t::on_register_custom_preferences] for more documentation.§fn on_before_child_process_launch(&self, command_line: Option<&mut CommandLine>)
fn on_before_child_process_launch(&self, command_line: Option<&mut CommandLine>)
See [
_cef_browser_process_handler_t::on_before_child_process_launch] for more documentation.§fn on_already_running_app_relaunch(
&self,
command_line: Option<&mut CommandLine>,
current_directory: Option<&CefStringUtf16>,
) -> i32
fn on_already_running_app_relaunch( &self, command_line: Option<&mut CommandLine>, current_directory: Option<&CefStringUtf16>, ) -> i32
See [
_cef_browser_process_handler_t::on_already_running_app_relaunch] for more documentation.§fn on_schedule_message_pump_work(&self, delay_ms: i64)
fn on_schedule_message_pump_work(&self, delay_ms: i64)
See [
_cef_browser_process_handler_t::on_schedule_message_pump_work] for more documentation.§fn default_request_context_handler(&self) -> Option<RequestContextHandler>
fn default_request_context_handler(&self) -> Option<RequestContextHandler>
See [
_cef_browser_process_handler_t::get_default_request_context_handler] for more documentation.fn init_methods(object: &mut _cef_browser_process_handler_t)
Source§impl Rc for AgentMuxBrowserProcessHandler
impl Rc for AgentMuxBrowserProcessHandler
§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 more§fn has_one_ref(&self) -> bool
fn has_one_ref(&self) -> bool
True if the reference count is exactly 1.§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 AgentMuxBrowserProcessHandler
impl !RefUnwindSafe for AgentMuxBrowserProcessHandler
impl !Send for AgentMuxBrowserProcessHandler
impl !Sync for AgentMuxBrowserProcessHandler
impl Unpin for AgentMuxBrowserProcessHandler
impl !UnwindSafe for AgentMuxBrowserProcessHandler
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
impl<T, U> ConvertReturnValue<U> for Twhere
T: Into<U>,
fn wrap_result(self) -> U
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.