pub struct RegisteredChannel {
pub channel: Box<dyn ConstraintChannel>,
pub enabled: bool,
pub config: ChannelConfig,
}Expand description
A channel registered in the runtime registry.
Fields§
§channel: Box<dyn ConstraintChannel>The constraint channel implementation.
enabled: boolWhether this channel is currently enabled.
config: ChannelConfigPer-channel configuration.
Auto Trait Implementations§
impl Freeze for RegisteredChannel
impl !RefUnwindSafe for RegisteredChannel
impl Send for RegisteredChannel
impl Sync for RegisteredChannel
impl Unpin for RegisteredChannel
impl UnsafeUnpin for RegisteredChannel
impl !UnwindSafe for RegisteredChannel
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