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

Interface FrameImpl

libs/error-stack/src/frame/frame_impl.rs:9–19  ·  view source on GitHub ↗

Internal representation of a [`Frame`].

Source from the content-addressed store, hash-verified

7
8/// Internal representation of a [`Frame`].
9pub(super) trait FrameImpl: Send + Sync + 'static {
10 fn kind(&self) -> FrameKind<'_>;
11
12 fn as_any(&self) -> &dyn Any;
13
14 fn as_any_mut(&mut self) -> &mut dyn Any;
15
16 /// Provide values which can then be requested.
17 #[cfg(nightly)]
18 fn provide<'a>(&'a self, request: &mut Request<'a>);
19}
20
21impl fmt::Debug for Box<dyn FrameImpl> {
22 fn fmt(&self, _: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers

nothing calls this directly

Implementers 1

frame_impl.rslibs/error-stack/src/frame/frame_impl.

Calls

no outgoing calls

Tested by

no test coverage detected