pub struct ChannelBinding {
pub id: ChannelId,
pub kind: ChannelKind,
pub tool_mode: ToolExecutionMode,
pub connector_factory: Arc<dyn ConnectorFactory>,
pub encoder: Arc<dyn OutboundDialectEncoder>,
pub interpreter: Arc<dyn InterpreterFactory>,
pub endpoint_ref: String,
pub credential_ref: Option<String>,
pub defaults: ChannelDefaults,
pub capabilities: ChannelCapabilities,
pub limits: ChannelLimits,
}Expand description
One Channel’s static binding (factories realized at runtime start).
Fields§
§id: ChannelIdChannel identity.
kind: ChannelKindExternal agent vs direct LLM.
tool_mode: ToolExecutionModeTool execution mode.
connector_factory: Arc<dyn ConnectorFactory>Matched Connector factory (one instance per Channel at start).
encoder: Arc<dyn OutboundDialectEncoder>Outbound dialect encoder.
interpreter: Arc<dyn InterpreterFactory>Interpreter factory for this Channel’s output dialect.
endpoint_ref: StringTransport endpoint reference for OpenConnection.
credential_ref: Option<String>Optional credential reference for open.
defaults: ChannelDefaultsChannel defaults for effective config merge.
capabilities: ChannelCapabilitiesDeclared capabilities.
limits: ChannelLimitsPer-Channel limits.
Implementations§
Source§impl ChannelBinding
impl ChannelBinding
Sourcepub fn descriptor(&self) -> ChannelDescriptor
pub fn descriptor(&self) -> ChannelDescriptor
View as a data-only descriptor for capability validation.
Auto Trait Implementations§
impl !RefUnwindSafe for ChannelBinding
impl !UnwindSafe for ChannelBinding
impl Freeze for ChannelBinding
impl Send for ChannelBinding
impl Sync for ChannelBinding
impl Unpin for ChannelBinding
impl UnsafeUnpin for ChannelBinding
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