Skip to main content

Module endpoint

Module endpoint 

Source
Expand description

Library-first endpoint API for embedding FIPS in applications.

This module exposes a no-system-TUN runtime shape for apps that want to own peer admission and local routing policy while reusing FIPS connectivity.

Re-exports§

pub use crate::node::FipsEndpointDirectDeliveryError;
pub use crate::node::FipsEndpointDirectPacketBatch;
pub use crate::node::FipsEndpointDirectPacketRun;
pub use crate::node::FipsEndpointDirectSink;

Structs§

FipsEndpoint
A running embedded FIPS endpoint.
FipsEndpointBuilder
Builder for an embedded FIPS endpoint.
FipsEndpointMessage
Source-attributed endpoint data delivered to an embedded application.
FipsEndpointOutboundDatagram
One owned outbound FSP DataPacket service payload.
FipsEndpointPeer
Authenticated FIPS peer state visible to an embedded application.
FipsEndpointRelayStatus
Live Nostr relay state visible to an embedded application.
FipsEndpointServiceDatagram
Authenticated FSP DataPacket service payload delivered to an embedder.
UpdatePeersOutcome
Reports what changed in response to FipsEndpoint::update_peers.

Enums§

FipsEndpointError
Errors returned by the endpoint API.

Type Aliases§

FipsEndpointData
Endpoint data bytes delivered by FIPS.