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§
- Bytes
Response - Response payloads (postcard-encoded).
- Default
Network Service - Default network service using
DefaultNetworkBackend. - Fetch
Request - Request payloads (postcard-encoded).
- Mock
Network Service - Mock network service using
MockNetworkBackend. - Read
File Request
Constants§
- METHOD_
FETCH - Method identifiers supported by the network service.
- METHOD_
READ_ FILE - SERVICE_
NAME - Service name used for routing and authorization.
Traits§
- Network
Service - IPC-facing network service trait. Methods mirror
crate::networkAPIs.