F828Protocol

Struct F828Protocol 

Source
pub struct F828Protocol;
Expand description

The protocol implementation for 828.

Implementations§

Source§

impl F828Protocol

Source

pub const OPT_IFACE_MODES: &[V1OptIfaceMode]

The available modes of optical interface.

Trait Implementations§

Source§

impl Default for F828Protocol

Source§

fn default() -> F828Protocol

Returns the “default value” for a type. Read more
Source§

impl MotuVersion1ClockSpecification for F828Protocol

Source§

const CLK_OFFSET: u32 = 2_816u32

Source§

const CLK_RATE_MASK: u32 = 4u32

Source§

const CLK_RATE_SHIFT: usize = 2usize

Source§

const CLK_RATE_VALS: &'static [u8]

Source§

const CLK_RATES: &'static [ClkRate]

Source§

const CLK_SRC_MASK: u32 = 35u32

Source§

const CLK_SRC_SHIFT: usize = 0usize

Source§

const CLK_SRC_VALS: &'static [u8]

Source§

const CLK_SRCS: &'static [V1ClkSrc]

Source§

impl MotuVersion1MonitorInputSpecification for F828Protocol

Source§

impl MotuWhollyCacheableParamsOperation<F828OpticalIfaceParameters> for F828Protocol

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut F828OpticalIfaceParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl MotuWhollyCacheableParamsOperation<F828OutputParameters> for F828Protocol

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut F828OutputParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl MotuWhollyCacheableParamsOperation<F828StreamInputParameters> for F828Protocol

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut F828StreamInputParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl MotuWhollyCacheableParamsOperation<Version1MonitorInputParameters> for F828Protocol

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut Version1MonitorInputParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl MotuWhollyUpdatableParamsOperation<F828OpticalIfaceParameters> for F828Protocol

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &F828OpticalIfaceParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl MotuWhollyUpdatableParamsOperation<F828OutputParameters> for F828Protocol

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &F828OutputParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl MotuWhollyUpdatableParamsOperation<F828StreamInputParameters> for F828Protocol

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &F828StreamInputParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
Source§

impl MotuWhollyUpdatableParamsOperation<Version1MonitorInputParameters> for F828Protocol

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Version1MonitorInputParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.

Auto Trait Implementations§

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<O> MotuWhollyCacheableParamsOperation<Version1ClockParameters> for O

Source§

fn cache_wholly( req: &mut FwReq, node: &mut FwNode, params: &mut Version1ClockParameters, timeout_ms: u32, ) -> Result<(), Error>

Cache whole parameters.
Source§

impl<O> MotuWhollyUpdatableParamsOperation<Version1ClockParameters> for O

Source§

fn update_wholly( req: &mut FwReq, node: &mut FwNode, params: &Version1ClockParameters, timeout_ms: u32, ) -> Result<(), Error>

Update whole parameters.
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.