Struct gnunet_sys::GNUNET_SCHEDULER_TaskContext [−][src]
Context information passed to each scheduler task.
Fields
reason: GNUNET_SCHEDULER_Reason
Reason why the task is run now
fds_len: c_uint
Length of the following array.
fds: *const GNUNET_SCHEDULER_FdInfo
Array of length @e fds_len with information about ready FDs. Note that we use the same format regardless of the internal event loop that was used. The given array should only contain information about file descriptors relevant to the current task.
read_ready: *const GNUNET_NETWORK_FDSet
Set of file descriptors ready for reading; note that additional bits may be set that were not in the original request. @deprecated
write_ready: *const GNUNET_NETWORK_FDSet
Set of file descriptors ready for writing; note that additional bits may be set that were not in the original request. @deprecated
Trait Implementations
impl Clone for GNUNET_SCHEDULER_TaskContext
[src]
fn clone(&self) -> GNUNET_SCHEDULER_TaskContext
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GNUNET_SCHEDULER_TaskContext
[src]
impl Debug for GNUNET_SCHEDULER_TaskContext
[src]
Auto Trait Implementations
impl RefUnwindSafe for GNUNET_SCHEDULER_TaskContext
impl !Send for GNUNET_SCHEDULER_TaskContext
impl !Sync for GNUNET_SCHEDULER_TaskContext
impl Unpin for GNUNET_SCHEDULER_TaskContext
impl UnwindSafe for GNUNET_SCHEDULER_TaskContext
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,