Struct ic_agent::agent::AgentConfig [−][src]
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>identity: Arc<dyn Identity>ingress_expiry_duration: Option<Duration>transport: Option<Arc<dyn ReplicaV2Transport>>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl !UnwindSafe for AgentConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
