Struct ic_agent::agent::AgentConfig
source · pub struct AgentConfig {
pub nonce_factory: Arc<dyn NonceGenerator>,
pub identity: Arc<dyn Identity>,
pub ingress_expiry_duration: Option<Duration>,
pub transport: Option<Arc<dyn ReplicaV2Transport>>,
}Expand description
A configuration for an agent.
Fields§
§nonce_factory: Arc<dyn NonceGenerator>See with_nonce_factory.
identity: Arc<dyn Identity>See with_identity.
ingress_expiry_duration: Option<Duration>See with_ingress_expiry.
transport: Option<Arc<dyn ReplicaV2Transport>>The with_transport.