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
sourceimpl Clone for SoupWebsocketExtensionClass
impl Clone for SoupWebsocketExtensionClass
sourcefn clone(&self) -> SoupWebsocketExtensionClass
fn clone(&self) -> SoupWebsocketExtensionClass
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SoupWebsocketExtensionClass
impl Debug for SoupWebsocketExtensionClass
impl Copy for SoupWebsocketExtensionClass
Auto Trait Implementations
impl RefUnwindSafe for SoupWebsocketExtensionClass
impl !Send for SoupWebsocketExtensionClass
impl !Sync for SoupWebsocketExtensionClass
impl Unpin for SoupWebsocketExtensionClass
impl UnwindSafe for SoupWebsocketExtensionClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more