#[repr(C)]pub struct switch_pollfd {
pub p: *mut switch_memory_pool_t,
pub desc_type: switch_pollset_type_t,
pub reqevents: i16,
pub rtnevents: i16,
pub desc: switch_descriptor_t,
pub client_data: *mut c_void,
}Fields§
§p: *mut switch_memory_pool_t§desc_type: switch_pollset_type_t§reqevents: i16§rtnevents: i16§desc: switch_descriptor_t§client_data: *mut c_voidTrait Implementations§
Source§impl Clone for switch_pollfd
impl Clone for switch_pollfd
Source§fn clone(&self) -> switch_pollfd
fn clone(&self) -> switch_pollfd
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for switch_pollfd
impl Default for switch_pollfd
impl Copy for switch_pollfd
Auto Trait Implementations§
impl Freeze for switch_pollfd
impl RefUnwindSafe for switch_pollfd
impl !Send for switch_pollfd
impl !Sync for switch_pollfd
impl Unpin for switch_pollfd
impl UnsafeUnpin for switch_pollfd
impl UnwindSafe for switch_pollfd
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