Skip to main content

gproxy_protocol/transform/identity/
mod.rs

1//! Flow-local, typed identities used by pairwise protocol transforms.
2//!
3//! This module deliberately contains no wire types. A converter gives it a
4//! source dialect, a role and a logical position, and gets back an immutable
5//! target identifier. The same flow can then attach source identifiers that
6//! arrive in a later stream event without changing the identifier already
7//! emitted to a client.
8
9mod allocator;
10mod error;
11mod state;
12pub(crate) mod tool_alias;
13mod types;
14
15pub use allocator::{CallResultLink, IdSyntax, IdentityFlow, IdentityHandle, TargetIdPolicy};
16pub use error::{IdentityError, IdentityRoleName};
17pub use state::{
18    IdentityStateRecord, IdentityStateSnapshot, IdentityStateStore, IdentityTarget,
19    LateIdentityFacts, OpaqueField, OpaqueSignature,
20};
21pub use types::{
22    DialectId, IdNamespace, IdentityRole, KnownIdPrefix, OutputItemKind, SourceIdentity,
23};