pub struct EncodedExchangeParams<'a> {Show 14 fields
pub executor: &'a Handle,
pub transaction_id: TransactionId,
pub exchange_id: ExchangeId,
pub connector: &'a dyn Connector,
pub interpreter: &'a dyn InterpreterFactory,
pub endpoint_ref: &'a str,
pub credential_ref: Option<&'a str>,
pub session_attachment: Option<Arc<SessionAttachment>>,
pub encoded: EncodedExchange,
pub interpretation_limits: InterpretationLimits,
pub deadline: Duration,
pub cleanup_deadline: Duration,
pub max_encoded_exchange_bytes: usize,
pub unit_tx: Option<Sender<CanonicalUnitEvent>>,
}Expand description
Parameters for a continuation exchange (fresh identities, pre-encoded body).
Fields§
§executor: &'a HandleInjected Tokio handle for owned exchange children (D-032).
transaction_id: TransactionIdTransaction id.
exchange_id: ExchangeIdSingle exchange identity shared with encoder (D-017).
connector: &'a dyn ConnectorConnector instance.
interpreter: &'a dyn InterpreterFactoryInterpreter factory.
endpoint_ref: &'a strEndpoint ref.
credential_ref: Option<&'a str>Credential ref.
session_attachment: Option<Arc<SessionAttachment>>Optional session attachment.
encoded: EncodedExchangeAlready-encoded provider body.
interpretation_limits: InterpretationLimitsInterpretation limits.
deadline: DurationOverall deadline for the exchange.
cleanup_deadline: DurationJoin/abort grace for exchange children after cancel or terminal (D-012).
max_encoded_exchange_bytes: usizeChannel max encoded body size (D-015).
unit_tx: Option<Sender<CanonicalUnitEvent>>Optional live unit sink (D-011); when set, units are forwarded as produced.
Auto Trait Implementations§
impl<'a> !Freeze for EncodedExchangeParams<'a>
impl<'a> !RefUnwindSafe for EncodedExchangeParams<'a>
impl<'a> !UnwindSafe for EncodedExchangeParams<'a>
impl<'a> Send for EncodedExchangeParams<'a>
impl<'a> Sync for EncodedExchangeParams<'a>
impl<'a> Unpin for EncodedExchangeParams<'a>
impl<'a> UnsafeUnpin for EncodedExchangeParams<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more