Struct gstreamer_rtsp_sys::GstRTSPWatchFuncs
source · #[repr(C)]pub struct GstRTSPWatchFuncs {
pub message_received: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: *mut GstRTSPMessage, _: gpointer) -> GstRTSPResult>,
pub message_sent: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: c_uint, _: gpointer) -> GstRTSPResult>,
pub closed: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPResult>,
pub error: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: GstRTSPResult, _: gpointer) -> GstRTSPResult>,
pub tunnel_start: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPStatusCode>,
pub tunnel_complete: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPResult>,
pub error_full: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: GstRTSPResult, _: *mut GstRTSPMessage, _: c_uint, _: gpointer) -> GstRTSPResult>,
pub tunnel_lost: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPResult>,
pub tunnel_http_response: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: *mut GstRTSPMessage, _: *mut GstRTSPMessage, _: gpointer) -> GstRTSPResult>,
pub _gst_reserved: [gpointer; 3],
}
Fields§
§message_received: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: *mut GstRTSPMessage, _: gpointer) -> GstRTSPResult>
§message_sent: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: c_uint, _: gpointer) -> GstRTSPResult>
§closed: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPResult>
§error: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: GstRTSPResult, _: gpointer) -> GstRTSPResult>
§tunnel_start: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPStatusCode>
§tunnel_complete: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPResult>
§error_full: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: GstRTSPResult, _: *mut GstRTSPMessage, _: c_uint, _: gpointer) -> GstRTSPResult>
§tunnel_lost: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: gpointer) -> GstRTSPResult>
§tunnel_http_response: Option<unsafe extern "C" fn(_: *mut GstRTSPWatch, _: *mut GstRTSPMessage, _: *mut GstRTSPMessage, _: gpointer) -> GstRTSPResult>
§_gst_reserved: [gpointer; 3]
Trait Implementations§
source§impl Clone for GstRTSPWatchFuncs
impl Clone for GstRTSPWatchFuncs
source§fn clone(&self) -> GstRTSPWatchFuncs
fn clone(&self) -> GstRTSPWatchFuncs
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 GstRTSPWatchFuncs
impl Debug for GstRTSPWatchFuncs
impl Copy for GstRTSPWatchFuncs
Auto Trait Implementations§
impl Freeze for GstRTSPWatchFuncs
impl RefUnwindSafe for GstRTSPWatchFuncs
impl !Send for GstRTSPWatchFuncs
impl !Sync for GstRTSPWatchFuncs
impl Unpin for GstRTSPWatchFuncs
impl UnwindSafe for GstRTSPWatchFuncs
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§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
)