Struct soup3_sys::SoupWebsocketExtensionClass
source · #[repr(C)]pub struct SoupWebsocketExtensionClass {
pub parent_class: GObjectClass,
pub name: *const c_char,
pub configure: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension, _: SoupWebsocketConnectionType, _: *mut GHashTable, _: *mut *mut GError) -> gboolean>,
pub get_request_params: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension) -> *mut c_char>,
pub get_response_params: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension) -> *mut c_char>,
pub process_outgoing_message: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension, _: *mut u8, _: *mut GBytes, _: *mut *mut GError) -> *mut GBytes>,
pub process_incoming_message: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension, _: *mut u8, _: *mut GBytes, _: *mut *mut GError) -> *mut GBytes>,
pub padding: [gpointer; 6],
}
Fields§
§parent_class: GObjectClass
§name: *const c_char
§configure: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension, _: SoupWebsocketConnectionType, _: *mut GHashTable, _: *mut *mut GError) -> gboolean>
§get_request_params: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension) -> *mut c_char>
§get_response_params: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension) -> *mut c_char>
§process_outgoing_message: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension, _: *mut u8, _: *mut GBytes, _: *mut *mut GError) -> *mut GBytes>
§process_incoming_message: Option<unsafe extern "C" fn(_: *mut SoupWebsocketExtension, _: *mut u8, _: *mut GBytes, _: *mut *mut GError) -> *mut GBytes>
§padding: [gpointer; 6]
Trait Implementations§
source§impl Clone for SoupWebsocketExtensionClass
impl Clone for SoupWebsocketExtensionClass
source§fn clone(&self) -> SoupWebsocketExtensionClass
fn clone(&self) -> SoupWebsocketExtensionClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SoupWebsocketExtensionClass
impl Debug for SoupWebsocketExtensionClass
impl Copy for SoupWebsocketExtensionClass
Auto Trait Implementations§
impl Freeze for SoupWebsocketExtensionClass
impl RefUnwindSafe for SoupWebsocketExtensionClass
impl !Send for SoupWebsocketExtensionClass
impl !Sync for SoupWebsocketExtensionClass
impl Unpin for SoupWebsocketExtensionClass
impl UnwindSafe for SoupWebsocketExtensionClass
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)