Struct aggligator_util::transport::ConnectorBuilder
source · pub struct ConnectorBuilder { /* private fields */ }Expand description
Builds a customized Connector.
Implementations§
source§impl ConnectorBuilder
impl ConnectorBuilder
sourcepub fn task(&mut self) -> &mut Task<IoTxBox, IoRxBox, LinkTagBox>
pub fn task(&mut self) -> &mut Task<IoTxBox, IoRxBox, LinkTagBox>
Accesses the connection manager task.
sourcepub fn set_reconnect_delay(&mut self, reconnect_delay: Duration)
pub fn set_reconnect_delay(&mut self, reconnect_delay: Duration)
Sets the reconnect delay for failed links.
sourcepub fn wrap(&mut self, wrapper: impl ConnectingWrapper)
pub fn wrap(&mut self, wrapper: impl ConnectingWrapper)
Adds a connection wrapper to the wrapper stack.