#[repr(C)]pub struct CSubscribe {
pub user_data: Obj,
pub topic: *const c_char,
pub on_event: OnEvent,
pub on_unsubscribe: Option<Cleanup>,
}Fields§
§user_data: Obj§topic: *const c_char§on_event: OnEvent§on_unsubscribe: Option<Cleanup>Auto Trait Implementations§
impl Freeze for CSubscribe
impl RefUnwindSafe for CSubscribe
impl !Send for CSubscribe
impl !Sync for CSubscribe
impl Unpin for CSubscribe
impl UnwindSafe for CSubscribe
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