Skip to main content

TxChannelCreator

Trait TxChannelCreator 

Source
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§

Source

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§

Source§

impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 0>
where Dm: DriverMode,

Available on crate feature unstable only.
Source§

impl<'ch, Dm> TxChannelCreator<'ch, Dm> for ChannelCreator<'ch, Dm, 1>
where Dm: DriverMode,

Available on crate feature unstable only.