Struct fluence_app_service::WithContext
source · pub struct WithContext<'c, T> {
pub context: &'c ConfigContext,
pub data: T,
}
Fields§
§context: &'c ConfigContext
§data: T
Auto Trait Implementations§
impl<'c, T> RefUnwindSafe for WithContext<'c, T>where T: RefUnwindSafe,
impl<'c, T> Send for WithContext<'c, T>where T: Send,
impl<'c, T> Sync for WithContext<'c, T>where T: Sync,
impl<'c, T> Unpin for WithContext<'c, T>where T: Unpin,
impl<'c, T> UnwindSafe for WithContext<'c, T>where T: UnwindSafe,
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
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.