1 pub trait ScopeHandle<'scope> {}
3 // @has issue_54705/struct.ScopeFutureContents.html
4 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
5 // "impl<'scope, S> Send for ScopeFutureContents<'scope, S>where S: Sync"
7 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header"]' \
8 // "impl<'scope, S> Sync for ScopeFutureContents<'scope, S>where S: Sync"
9 pub struct ScopeFutureContents<'scope, S>
10 where S: ScopeHandle<'scope>,
13 this: Box<ScopeFuture<'scope, S>>,
16 struct ScopeFuture<'scope, S>
17 where S: ScopeHandle<'scope>,
19 contents: ScopeFutureContents<'scope, S>,
22 unsafe impl<'scope, S> Send for ScopeFuture<'scope, S>
23 where S: ScopeHandle<'scope>,
25 unsafe impl<'scope, S> Sync for ScopeFuture<'scope, S>
26 where S: ScopeHandle<'scope>,