pub trait TxChannelCreator<'ch, Dm>where
Dm: DriverMode,{
// Required method
fn configure_tx(
self,
config: &TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, ConfigError>
where Self: Sized;
}Expand description
Creates a TX channel
Required Methods§
Sourcefn configure_tx(
self,
config: &TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, ConfigError>where
Self: Sized,
fn configure_tx(
self,
config: &TxChannelConfig,
) -> Result<Channel<'ch, Dm, Tx>, ConfigError>where
Self: Sized,
Configure the TX channel
§Errors
Returns errors under the same conditions as Channel<Tx>::apply_config.
Implementors§
impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>where
Dm: DriverMode,
Available on crate feature
unstable only.impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>where
Dm: DriverMode,
Available on crate feature
unstable only.