Module api

Source
Expand description

Thin IPC-facing Network service adapter.

This module defines a minimal NetworkService trait and postcard-encoded request/response types for the “network” IPC service. Implementations should delegate to crate::network::NetworkBackend (or similar), keeping business logic out of IPC.

Structs§

BytesResponse
Response payloads (postcard-encoded).
DefaultNetworkService
Default network service using DefaultNetworkBackend.
FetchRequest
Request payloads (postcard-encoded).
MockNetworkService
Mock network service using MockNetworkBackend.
ReadFileRequest

Constants§

METHOD_FETCH
Method identifiers supported by the network service.
METHOD_READ_FILE
SERVICE_NAME
Service name used for routing and authorization.

Traits§

NetworkService
IPC-facing network service trait. Methods mirror crate::network APIs.