pub struct ChannelDescriptor {
pub kind: ChannelKind,
pub tool_mode: ToolExecutionMode,
pub capabilities: ChannelCapabilities,
pub limits: ChannelLimits,
}Expand description
Data-only Channel descriptor used before live binding construction.
Fields§
§kind: ChannelKindKind.
tool_mode: ToolExecutionModeTool mode.
capabilities: ChannelCapabilitiesCapabilities.
limits: ChannelLimitsLimits.
Implementations§
Source§impl ChannelDescriptor
impl ChannelDescriptor
Sourcepub fn validate(&self) -> Result<(), ChannelCapabilityError>
pub fn validate(&self) -> Result<(), ChannelCapabilityError>
Validate capability combinations (startup matrix).
Trait Implementations§
Source§impl Clone for ChannelDescriptor
impl Clone for ChannelDescriptor
Source§fn clone(&self) -> ChannelDescriptor
fn clone(&self) -> ChannelDescriptor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelDescriptor
impl Debug for ChannelDescriptor
impl Eq for ChannelDescriptor
Source§impl PartialEq for ChannelDescriptor
impl PartialEq for ChannelDescriptor
impl StructuralPartialEq for ChannelDescriptor
Auto Trait Implementations§
impl Freeze for ChannelDescriptor
impl RefUnwindSafe for ChannelDescriptor
impl Send for ChannelDescriptor
impl Sync for ChannelDescriptor
impl Unpin for ChannelDescriptor
impl UnsafeUnpin for ChannelDescriptor
impl UnwindSafe for ChannelDescriptor
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