#[repr(C)]pub struct bufferevent {Show 15 fields
pub ev_base: *mut event_base,
pub be_ops: *mut bufferevent_ops,
pub ev_read: event,
pub ev_write: event,
pub input: *mut evbuffer,
pub output: *mut evbuffer,
pub wm_read: event_watermark,
pub wm_write: event_watermark,
pub readcb: bufferevent_data_cb,
pub writecb: bufferevent_data_cb,
pub errorcb: bufferevent_event_cb,
pub cbarg: *mut c_void,
pub timeout_read: timeval,
pub timeout_write: timeval,
pub enabled: c_short,
}
Fields§
§ev_base: *mut event_base
§be_ops: *mut bufferevent_ops
§ev_read: event
§ev_write: event
§input: *mut evbuffer
§output: *mut evbuffer
§wm_read: event_watermark
§wm_write: event_watermark
§readcb: bufferevent_data_cb
§writecb: bufferevent_data_cb
§errorcb: bufferevent_event_cb
§cbarg: *mut c_void
§timeout_read: timeval
§timeout_write: timeval
§enabled: c_short
Trait Implementations§
Source§impl Clone for bufferevent
impl Clone for bufferevent
Source§fn clone(&self) -> bufferevent
fn clone(&self) -> bufferevent
Returns a duplicate 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 moreimpl Copy for bufferevent
Auto Trait Implementations§
impl Freeze for bufferevent
impl RefUnwindSafe for bufferevent
impl !Send for bufferevent
impl !Sync for bufferevent
impl Unpin for bufferevent
impl UnwindSafe for bufferevent
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