Skip to main content

Crate cordis

Crate cordis 

Source
Expand description

Public facade for the Cordis Rust framework.

Structs§

AggregateError
The parallel dispatcher waits for every listener and reports all failures.
Associated
A typed base service with dynamically associated base.member properties.
Context
A cloneable view into a Cordis runtime and one of its fibers.
DispatchTarget
EffectHandle
EffectMeta
User-facing effect tree metadata.
EffectScope
Collector passed to an effect setup callback.
EventInvocation
EventOptions
FiberHandle
FiberId
FiberSnapshot
IsolationKey
Logger
LoggerService
Message
Plugin
PluginBuilder
PluginId
ServiceGuard
ServiceRef
TrackedService
A service value together with the caller context and its provider context.

Enums§

CordisError
Errors produced by the core runtime.
EventOutcome
FiberState
LogLevel
LogType
LogValue

Traits§

CallableService
Trait for services whose invocation depends on the caller context.
Exporter
ExtendableService
Trait for creating unregistered service extensions that retain call-site metadata.

Functions§

color
color_code
format_message
shared
Erases a concrete value while retaining shared ownership.
value_ref
Borrows a concrete value from a type-erased value.

Type Aliases§

AccessorGetter
AccessorSetter
Disposer
A boxed asynchronous cleanup callback.
EventArgs
EventCallback
EventFuture
EventValue
Next
Result
The common Cordis result type.
SharedValue
A type-erased, thread-safe value used at dynamic Cordis boundaries.