#[repr(C)]pub struct SoupWebsocketConnectionClass {
pub parent: GObjectClass,
pub message: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection, _: SoupWebsocketDataType, _: *mut GBytes)>,
pub error: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection, _: *mut GError)>,
pub closing: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection)>,
pub closed: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection)>,
pub pong: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection, _: *mut GBytes)>,
}
Fields§
§parent: GObjectClass
§message: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection, _: SoupWebsocketDataType, _: *mut GBytes)>
§error: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection, _: *mut GError)>
§closing: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection)>
§closed: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection)>
§pong: Option<unsafe extern "C" fn(_: *mut SoupWebsocketConnection, _: *mut GBytes)>
Trait Implementations§
Source§impl Clone for SoupWebsocketConnectionClass
impl Clone for SoupWebsocketConnectionClass
Source§fn clone(&self) -> SoupWebsocketConnectionClass
fn clone(&self) -> SoupWebsocketConnectionClass
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 SoupWebsocketConnectionClass
impl Debug for SoupWebsocketConnectionClass
impl Copy for SoupWebsocketConnectionClass
Auto Trait Implementations§
impl Freeze for SoupWebsocketConnectionClass
impl RefUnwindSafe for SoupWebsocketConnectionClass
impl !Send for SoupWebsocketConnectionClass
impl !Sync for SoupWebsocketConnectionClass
impl Unpin for SoupWebsocketConnectionClass
impl UnwindSafe for SoupWebsocketConnectionClass
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