Struct zmq_sys::zmq_pollitem_t
source · #[repr(C)]pub struct zmq_pollitem_t {
pub socket: *mut c_void,
pub fd: c_int,
pub events: c_short,
pub revents: c_short,
}
Fields
socket: *mut c_void
fd: c_int
events: c_short
revents: c_short
Trait Implementations
sourceimpl Clone for zmq_pollitem_t
impl Clone for zmq_pollitem_t
sourcefn clone(&self) -> zmq_pollitem_t
fn clone(&self) -> zmq_pollitem_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for zmq_pollitem_t
impl Debug for zmq_pollitem_t
sourceimpl Default for zmq_pollitem_t
impl Default for zmq_pollitem_t
impl Copy for zmq_pollitem_t
Auto Trait Implementations
impl RefUnwindSafe for zmq_pollitem_t
impl !Send for zmq_pollitem_t
impl !Sync for zmq_pollitem_t
impl Unpin for zmq_pollitem_t
impl UnwindSafe for zmq_pollitem_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more