Struct pipewire_sys::pw_proxy_events 
source · #[repr(C)]pub struct pw_proxy_events {
    pub version: u32,
    pub destroy: Option<unsafe extern "C" fn(data: *mut c_void)>,
    pub bound: Option<unsafe extern "C" fn(data: *mut c_void, global_id: u32)>,
    pub removed: Option<unsafe extern "C" fn(data: *mut c_void)>,
    pub done: Option<unsafe extern "C" fn(data: *mut c_void, seq: c_int)>,
    pub error: Option<unsafe extern "C" fn(data: *mut c_void, seq: c_int, res: c_int, message: *const c_char)>,
}Expand description
Proxy events, use \ref pw_proxy_add_listener
Fields§
§version: u32§destroy: Option<unsafe extern "C" fn(data: *mut c_void)>The proxy is destroyed
bound: Option<unsafe extern "C" fn(data: *mut c_void, global_id: u32)>a proxy is bound to a global id
removed: Option<unsafe extern "C" fn(data: *mut c_void)>a proxy is removed from the server. Use pw_proxy_destroy to free the proxy.
done: Option<unsafe extern "C" fn(data: *mut c_void, seq: c_int)>a reply to a sync method completed
error: Option<unsafe extern "C" fn(data: *mut c_void, seq: c_int, res: c_int, message: *const c_char)>an error occurred on the proxy
Trait Implementations§
source§impl Clone for pw_proxy_events
 
impl Clone for pw_proxy_events
source§fn clone(&self) -> pw_proxy_events
 
fn clone(&self) -> pw_proxy_events
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 pw_proxy_events
 
impl Debug for pw_proxy_events
impl Copy for pw_proxy_events
Auto Trait Implementations§
impl RefUnwindSafe for pw_proxy_events
impl Send for pw_proxy_events
impl Sync for pw_proxy_events
impl Unpin for pw_proxy_events
impl UnwindSafe for pw_proxy_events
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