pub struct AgentMuxClient {
inner: Arc<Mutex<AgentMuxHandler>>,
is_browser_pane: bool,
cef_object: *mut RcImpl<_cef_client_t, Self>,
}Fields§
§inner: Arc<Mutex<AgentMuxHandler>>§is_browser_pane: bool§cef_object: *mut RcImpl<_cef_client_t, Self>Implementations§
Source§impl AgentMuxClient
impl AgentMuxClient
pub fn new(inner: Arc<Mutex<AgentMuxHandler>>, is_browser_pane: bool) -> Client
Trait Implementations§
Source§impl Clone for AgentMuxClient
impl Clone for AgentMuxClient
Source§impl ImplClient for AgentMuxClient
impl ImplClient for AgentMuxClient
Source§fn display_handler(&self) -> Option<DisplayHandler>
fn display_handler(&self) -> Option<DisplayHandler>
See [
_cef_client_t::get_display_handler] for more documentation.Source§fn keyboard_handler(&self) -> Option<KeyboardHandler>
fn keyboard_handler(&self) -> Option<KeyboardHandler>
See [
_cef_client_t::get_keyboard_handler] for more documentation.Source§fn life_span_handler(&self) -> Option<LifeSpanHandler>
fn life_span_handler(&self) -> Option<LifeSpanHandler>
See [
_cef_client_t::get_life_span_handler] for more documentation.Source§fn load_handler(&self) -> Option<LoadHandler>
fn load_handler(&self) -> Option<LoadHandler>
See [
_cef_client_t::get_load_handler] for more documentation.Source§fn request_handler(&self) -> Option<RequestHandler>
fn request_handler(&self) -> Option<RequestHandler>
See [
_cef_client_t::get_request_handler] for more documentation.Source§fn drag_handler(&self) -> Option<DragHandler>
fn drag_handler(&self) -> Option<DragHandler>
See [
_cef_client_t::get_drag_handler] for more documentation.Source§fn focus_handler(&self) -> Option<FocusHandler>
fn focus_handler(&self) -> Option<FocusHandler>
See [
_cef_client_t::get_focus_handler] for more documentation.fn get_raw(&self) -> *mut _cef_client_t
§fn audio_handler(&self) -> Option<AudioHandler>
fn audio_handler(&self) -> Option<AudioHandler>
See [
_cef_client_t::get_audio_handler] for more documentation.§fn command_handler(&self) -> Option<CommandHandler>
fn command_handler(&self) -> Option<CommandHandler>
See [
_cef_client_t::get_command_handler] for more documentation.See [
_cef_client_t::get_context_menu_handler] for more documentation.§fn dialog_handler(&self) -> Option<DialogHandler>
fn dialog_handler(&self) -> Option<DialogHandler>
See [
_cef_client_t::get_dialog_handler] for more documentation.§fn download_handler(&self) -> Option<DownloadHandler>
fn download_handler(&self) -> Option<DownloadHandler>
See [
_cef_client_t::get_download_handler] for more documentation.§fn find_handler(&self) -> Option<FindHandler>
fn find_handler(&self) -> Option<FindHandler>
See [
_cef_client_t::get_find_handler] for more documentation.§fn frame_handler(&self) -> Option<FrameHandler>
fn frame_handler(&self) -> Option<FrameHandler>
See [
_cef_client_t::get_frame_handler] for more documentation.§fn permission_handler(&self) -> Option<PermissionHandler>
fn permission_handler(&self) -> Option<PermissionHandler>
See [
_cef_client_t::get_permission_handler] for more documentation.§fn jsdialog_handler(&self) -> Option<JsdialogHandler>
fn jsdialog_handler(&self) -> Option<JsdialogHandler>
See [
_cef_client_t::get_jsdialog_handler] for more documentation.§fn print_handler(&self) -> Option<PrintHandler>
fn print_handler(&self) -> Option<PrintHandler>
See [
_cef_client_t::get_print_handler] for more documentation.§fn render_handler(&self) -> Option<RenderHandler>
fn render_handler(&self) -> Option<RenderHandler>
See [
_cef_client_t::get_render_handler] for more documentation.§fn on_process_message_received(
&self,
browser: Option<&mut Browser>,
frame: Option<&mut Frame>,
source_process: ProcessId,
message: Option<&mut ProcessMessage>,
) -> i32
fn on_process_message_received( &self, browser: Option<&mut Browser>, frame: Option<&mut Frame>, source_process: ProcessId, message: Option<&mut ProcessMessage>, ) -> i32
See [
_cef_client_t::on_process_message_received] for more documentation.fn init_methods(object: &mut _cef_client_t)
Source§impl Rc for AgentMuxClient
impl Rc for AgentMuxClient
§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 AgentMuxClient
impl !RefUnwindSafe for AgentMuxClient
impl !Send for AgentMuxClient
impl !Sync for AgentMuxClient
impl Unpin for AgentMuxClient
impl !UnwindSafe for AgentMuxClient
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.