(self, attachment: F)
| 244 | |
| 245 | #[track_caller] |
| 246 | fn attach_with<A, F>(self, attachment: F) -> FutureWithLazyAttachment<Self, F> |
| 247 | where |
| 248 | A: Attachment, |
| 249 | F: FnOnce() -> A, |
| 250 | { |
| 251 | FutureWithLazyAttachment { |
| 252 | future: self, |
| 253 | inner: Some(attachment), |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | fn attach_opaque<A>(self, attachment: A) -> FutureWithOpaqueAttachment<Self, A> |
| 258 | where |
no outgoing calls