Skip to main content

TxChannel

Struct TxChannel 

Source
pub struct TxChannel<'a, T: ?Sized> { /* private fields */ }
Expand description

TX channel handle.

Implementations§

Source§

impl<'a, T: ?Sized> TxChannel<'a, T>

Source

pub fn id(&self) -> usize

Channel index.

Source

pub fn index(&self) -> usize

Channel index.

Source§

impl<'a, T: TxDevice + ?Sized> TxChannel<'a, T>

Source

pub fn streamer(&self) -> Result<T::TxStreamer, Error>

Create a single-channel TX streamer.

Source

pub fn streamer_with_args(&self, args: Args) -> Result<T::TxStreamer, Error>

Create a single-channel TX streamer, using args.

Source§

impl<'a, T: ChannelInfo + ?Sized> TxChannel<'a, T>

Source

pub fn full_duplex(&self) -> Result<bool, Error>

Full-duplex support for this TX channel.

Source§

impl<'a, T: AntennaControl + ?Sized> TxChannel<'a, T>

Source

pub fn antenna(&self) -> Antenna<'_, T>

Antenna control.

Source§

impl<'a, T: AgcControl + ?Sized> TxChannel<'a, T>

Source

pub fn agc(&self) -> Agc<'_, T>

Automatic gain control.

Source§

impl<'a, T: GainControl + ?Sized> TxChannel<'a, T>

Source

pub fn gain(&self) -> Gain<'_, T>

Gain control.

Source§

impl<'a, T: FrequencyControl + ?Sized> TxChannel<'a, T>

Source

pub fn frequency(&self) -> Frequency<'_, T>

Frequency control.

Source§

impl<'a, T: SampleRateControl + ?Sized> TxChannel<'a, T>

Source

pub fn sample_rate(&self) -> SampleRate<'_, T>

Sample-rate control.

Source§

impl<'a, T: BandwidthControl + ?Sized> TxChannel<'a, T>

Source

pub fn bandwidth(&self) -> Bandwidth<'_, T>

Bandwidth control.

Source§

impl<'a, T: DcOffsetControl + ?Sized> TxChannel<'a, T>

Source

pub fn dc_offset(&self) -> DcOffset<'_, T>

Automatic DC offset correction.

Auto Trait Implementations§

§

impl<'a, T> Freeze for TxChannel<'a, T>
where T: ?Sized,

§

impl<'a, T> RefUnwindSafe for TxChannel<'a, T>
where T: RefUnwindSafe + ?Sized,

§

impl<'a, T> Send for TxChannel<'a, T>
where T: Sync + ?Sized,

§

impl<'a, T> Sync for TxChannel<'a, T>
where T: Sync + ?Sized,

§

impl<'a, T> Unpin for TxChannel<'a, T>
where T: ?Sized,

§

impl<'a, T> UnsafeUnpin for TxChannel<'a, T>
where T: ?Sized,

§

impl<'a, T> UnwindSafe for TxChannel<'a, T>
where T: RefUnwindSafe + ?Sized,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.