Expand description
Interfaces and components for internal usage.
Re-exports§
pub use abi_stable;
Modules§
- Service
Stable_ trait - This module is generated by the
#[sabi_trait]
attribute on ServiceStable - Validator_
trait - This module is generated by the
#[sabi_trait]
attribute on Validator
Structs§
- Pico
Context - Context of current instance. Produced by picodata.
- Service
Id - Unique service identifier.
- Service
Proxy - Implementation of
ServiceStable
- Service
Registry - Registry for services. Used by picodata to create instances of services.
- Service
Stable_ TO - The trait object for ServiceStable.
- Validator_
TO - The trait object for Validator.
Traits§
- Service
- Service trait. Implement it in your code to create a service.
- Service
Stable - Safe trait for sending a service trait object between ABI boundary.
Define interface like
Service
trait but using safe types fromabi_stable
crate. - Validator
- Config validator stable trait.
The reason for the existence of this trait is that
abi_stable
crate doesn’t support closures.
Type Aliases§
- Callback
Result - Error
Box - Error type, return it from your callbacks.
- FnService
Registrar - Service
Box - Final safe service trait object type. Can be used on both sides of ABI.
- Service
Stable_ CTO - A type alias for the const-constructible
ServiceStable_TO
. - Validator
Box - Validator_
CTO - A type alias for the const-constructible
Validator_TO
.