Struct pipewire_sys::pw_protocol_client
source · #[repr(C)]pub struct pw_protocol_client {
pub link: spa_list,
pub protocol: *mut pw_protocol,
pub core: *mut pw_core,
pub connect: Option<unsafe extern "C" fn(client: *mut pw_protocol_client, props: *const spa_dict, done_callback: Option<unsafe extern "C" fn(data: *mut c_void, result: c_int)>, data: *mut c_void) -> c_int>,
pub connect_fd: Option<unsafe extern "C" fn(client: *mut pw_protocol_client, fd: c_int, close: bool) -> c_int>,
pub steal_fd: Option<unsafe extern "C" fn(client: *mut pw_protocol_client) -> c_int>,
pub disconnect: Option<unsafe extern "C" fn(client: *mut pw_protocol_client)>,
pub destroy: Option<unsafe extern "C" fn(client: *mut pw_protocol_client)>,
pub set_paused: Option<unsafe extern "C" fn(client: *mut pw_protocol_client, paused: bool) -> c_int>,
}
Fields§
§link: spa_list
< link in protocol client_list
protocol: *mut pw_protocol
< the owner protocol
core: *mut pw_core
§connect: Option<unsafe extern "C" fn(client: *mut pw_protocol_client, props: *const spa_dict, done_callback: Option<unsafe extern "C" fn(data: *mut c_void, result: c_int)>, data: *mut c_void) -> c_int>
§connect_fd: Option<unsafe extern "C" fn(client: *mut pw_protocol_client, fd: c_int, close: bool) -> c_int>
§steal_fd: Option<unsafe extern "C" fn(client: *mut pw_protocol_client) -> c_int>
§disconnect: Option<unsafe extern "C" fn(client: *mut pw_protocol_client)>
§destroy: Option<unsafe extern "C" fn(client: *mut pw_protocol_client)>
§set_paused: Option<unsafe extern "C" fn(client: *mut pw_protocol_client, paused: bool) -> c_int>
Auto Trait Implementations§
impl RefUnwindSafe for pw_protocol_client
impl !Send for pw_protocol_client
impl !Sync for pw_protocol_client
impl Unpin for pw_protocol_client
impl UnwindSafe for pw_protocol_client
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