MCPcopy Create free account
hub / github.com/hashintel/hash / attach_opaque_with

Method attach_opaque_with

libs/error-stack/src/future.rs:268–277  ·  view source on GitHub ↗
(self, attachment: F)

Source from the content-addressed store, hash-verified

266
267 #[track_caller]
268 fn attach_opaque_with<A, F>(self, attachment: F) -> FutureWithLazyOpaqueAttachment<Self, F>
269 where
270 A: OpaqueAttachment,
271 F: FnOnce() -> A,
272 {
273 FutureWithLazyOpaqueAttachment {
274 future: self,
275 inner: Some(attachment),
276 }
277 }
278
279 #[track_caller]
280 fn change_context<C>(self, context: C) -> FutureWithContext<Self, C>

Callers 7

attach_resultFunction · 0.45
attach_futureFunction · 0.45
attach_resultFunction · 0.45
attach_futureFunction · 0.45
runMethod · 0.45
create_property_typesMethod · 0.45
update_property_typesMethod · 0.45

Calls

no outgoing calls

Tested by 4

attach_resultFunction · 0.36
attach_futureFunction · 0.36
attach_resultFunction · 0.36
attach_futureFunction · 0.36