Struct cut::SharedSession
source · [−]pub struct SharedSession<S> where
S: SharedProtocol, {
pub(crate) executor: Box<dyn FnOnce(Receiver<(SenderOnce<()>, SenderOnce<S>)>) + Send + 'static, Global>,
}
Fields
executor: Box<dyn FnOnce(Receiver<(SenderOnce<()>, SenderOnce<S>)>) + Send + 'static, Global>
Auto Trait Implementations
impl<S> !RefUnwindSafe for SharedSession<S>
impl<S> Send for SharedSession<S>
impl<S> !Sync for SharedSession<S>
impl<S> Unpin for SharedSession<S>
impl<S> !UnwindSafe for SharedSession<S>
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