Struct cut::PartialSession
source · [−]pub struct PartialSession<C, A> where
A: Protocol,
C: Context, {
pub(crate) executor: Box<dyn FnOnce(<C as Context>::Endpoints, App<'static, ProviderEndpointF, A>) + Send + 'static, Global>,
}
Fields
executor: Box<dyn FnOnce(<C as Context>::Endpoints, App<'static, ProviderEndpointF, A>) + Send + 'static, Global>
Auto Trait Implementations
impl<C, A> !RefUnwindSafe for PartialSession<C, A>
impl<C, A> Send for PartialSession<C, A>
impl<C, A> !Sync for PartialSession<C, A>
impl<C, A> Unpin for PartialSession<C, A>
impl<C, A> !UnwindSafe for PartialSession<C, A>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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