[][src]Enum dw1000::hl::Error

pub enum Error<SPI> where
    SPI: Transfer<u8> + Write<u8>, 
{ Spi(Error<SPI>), Fcs, Phy, BufferTooSmall { required_len: usize, }, ReedSolomon, FrameWaitTimeout, Overrun, PreambleDetectionTimeout, SfdTimeout, Frame(DecodeError), DelayedSendTooLate, DelayedSendPowerUpWarning, Ssmarshal(Error), }

An error that can occur when sending or receiving data

Variants

Spi(Error<SPI>)

Error occured while using SPI bus

Fcs

Receiver FCS error

Phy

PHY header error

BufferTooSmall

Buffer too small

Fields of BufferTooSmall

required_len: usize

Indicates how large a buffer would have been required

ReedSolomon

Receiver Reed Solomon Frame Sync Loss

FrameWaitTimeout

Receiver Frame Wait Timeout

Overrun

Receiver Overrun

PreambleDetectionTimeout

Preamble Detection Timeout

SfdTimeout

Receiver SFD Timeout

Frame(DecodeError)

Frame could not be decoded

DelayedSendTooLate

A delayed frame could not be sent in time

Please note that the frame was still sent. Replies could still arrive, and if it was a ranging frame, the resulting range measurement will be wrong.

DelayedSendPowerUpWarning

Transmitter could not power up in time for delayed send

The frame was still transmitted, but the first bytes of the preamble were likely corrupted.

Ssmarshal(Error)

An error occured while serializing or deserializing data

Trait Implementations

impl<SPI> Debug for Error<SPI> where
    SPI: Transfer<u8> + Write<u8>,
    <SPI as Transfer<u8>>::Error: Debug,
    <SPI as Write<u8>>::Error: Debug
[src]

impl<SPI> From<Error<SPI>> for Error<SPI> where
    SPI: Transfer<u8> + Write<u8>, 
[src]

impl<SPI> From<Error> for Error<SPI> where
    SPI: Transfer<u8> + Write<u8>, 
[src]

Auto Trait Implementations

impl<SPI> Send for Error<SPI> where
    <SPI as Transfer<u8>>::Error: Send,
    <SPI as Write<u8>>::Error: Send

impl<SPI> Sync for Error<SPI> where
    <SPI as Transfer<u8>>::Error: Sync,
    <SPI as Write<u8>>::Error: Sync

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]