pub enum TransmitError {
Bandwidth {
hertz: u32,
},
PayloadTooLong {
bytes: usize,
},
}Expand description
Why a packet cannot be described to the chain.
Variants§
Bandwidth
A bandwidth the transmit chain does not run at.
PayloadTooLong
A packet longer than the length register can describe.
Trait Implementations§
Source§impl Clone for TransmitError
impl Clone for TransmitError
Source§fn clone(&self) -> TransmitError
fn clone(&self) -> TransmitError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransmitError
Source§impl Debug for TransmitError
impl Debug for TransmitError
Source§impl Display for TransmitError
impl Display for TransmitError
impl Eq for TransmitError
Source§impl Error for TransmitError
impl Error for TransmitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for TransmitError
impl PartialEq for TransmitError
impl StructuralPartialEq for TransmitError
Auto Trait Implementations§
impl Freeze for TransmitError
impl RefUnwindSafe for TransmitError
impl Send for TransmitError
impl Sync for TransmitError
impl Unpin for TransmitError
impl UnsafeUnpin for TransmitError
impl UnwindSafe for TransmitError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more