#[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 _libsoup_reserved1: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved2: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved3: Option<unsafe extern "C" fn()>,
pub _libsoup_reserved4: Option<unsafe extern "C" fn()>,
}
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>
§_libsoup_reserved1: Option<unsafe extern "C" fn()>
§_libsoup_reserved2: Option<unsafe extern "C" fn()>
§_libsoup_reserved3: Option<unsafe extern "C" fn()>
§_libsoup_reserved4: Option<unsafe extern "C" fn()>
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