Struct frida_sys::_GDatagramBasedInterface
source · [−]#[repr(C)]pub struct _GDatagramBasedInterface {
pub g_iface: GTypeInterface,
pub receive_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GInputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>,
pub send_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GOutputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>,
pub create_source: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, cancellable: *mut GCancellable) -> *mut GSource>,
pub condition_check: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition) -> GIOCondition>,
pub condition_wait: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>,
}Fields
g_iface: GTypeInterfacereceive_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GInputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>send_messages: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, messages: *mut GOutputMessage, num_messages: guint, flags: gint, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gint>create_source: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, cancellable: *mut GCancellable) -> *mut GSource>condition_check: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition) -> GIOCondition>condition_wait: Option<unsafe extern "C" fn(datagram_based: *mut GDatagramBased, condition: GIOCondition, timeout: gint64, cancellable: *mut GCancellable, error: *mut *mut GError) -> gboolean>Trait Implementations
sourceimpl Clone for _GDatagramBasedInterface
impl Clone for _GDatagramBasedInterface
sourcefn clone(&self) -> _GDatagramBasedInterface
fn clone(&self) -> _GDatagramBasedInterface
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for _GDatagramBasedInterface
impl Debug for _GDatagramBasedInterface
impl Copy for _GDatagramBasedInterface
Auto Trait Implementations
impl RefUnwindSafe for _GDatagramBasedInterface
impl Send for _GDatagramBasedInterface
impl Sync for _GDatagramBasedInterface
impl Unpin for _GDatagramBasedInterface
impl UnwindSafe for _GDatagramBasedInterface
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more