pub trait ContextExt {
// Required methods
fn set_errno<'life0, 'async_trait>(
&'life0 mut self,
code: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn errno_address<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = u32> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn set_errno<'life0, 'async_trait>(
&'life0 mut self,
code: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_errno<'life0, 'async_trait>(
&'life0 mut self,
code: i32,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets the task’s errno value to the given code.