Expand description
Connectors for extension hostcalls.
Connectors provide capability-gated access to host resources (HTTP, filesystem, etc.) for extensions. Each connector validates requests against policy before execution.
Hostcall ABI types are re-exported from crate::extensions so protocol
serialization stays canonical across runtime and connector boundaries.
Re-exports§
pub use crate::extensions::HostCallError;pub use crate::extensions::HostCallErrorCode;pub use crate::extensions::HostCallPayload;pub use crate::extensions::HostResultPayload;pub use crate::extensions::HostStreamBackpressure;pub use crate::extensions::HostStreamChunk;
Modules§
- http
- HTTP/network connector with policy-gated access.
Traits§
- Connector
- Trait for connectors that handle hostcalls from extensions.
Functions§
- host_
result_ err - Helper to create an error host result.
- host_
result_ err_ with_ details - Helper to create an error host result with details.
- host_
result_ ok - Helper to create a successful host result.