#[repr(i32)]pub enum TxAckStatus {
Ignored = 0,
Ok = 1,
TooLate = 2,
TooEarly = 3,
CollisionPacket = 4,
CollisionBeacon = 5,
TxFreq = 6,
TxPower = 7,
GpsUnlocked = 8,
QueueFull = 9,
InternalError = 10,
DutyCycleOverflow = 11,
}Variants§
Ignored = 0
Ignored (when a previous item was already emitted).
Ok = 1
Packet has been programmed for downlink.
TooLate = 2
Rejected because it was already too late to program this packet for downlink.
TooEarly = 3
Rejected because downlink packet timestamp is too much in advance.
CollisionPacket = 4
Rejected because there was already a packet programmed in requested timeframe.
CollisionBeacon = 5
Rejected because there was already a beacon planned in requested timeframe.
TxFreq = 6
Rejected because requested frequency is not supported by TX RF chain.
TxPower = 7
Rejected because requested power is not supported by gateway.
GpsUnlocked = 8
Rejected because GPS is unlocked, so GPS timestamp cannot be used.
QueueFull = 9
Downlink queue is full.
InternalError = 10
Internal error.
DutyCycleOverflow = 11
Duty-cycle overflow.
Implementations§
Source§impl TxAckStatus
impl TxAckStatus
Source§impl TxAckStatus
impl TxAckStatus
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for TxAckStatus
impl Clone for TxAckStatus
Source§fn clone(&self) -> TxAckStatus
fn clone(&self) -> TxAckStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TxAckStatus
impl Debug for TxAckStatus
Source§impl Default for TxAckStatus
impl Default for TxAckStatus
Source§fn default() -> TxAckStatus
fn default() -> TxAckStatus
§impl<'de> Deserialize<'de> for TxAckStatus
impl<'de> Deserialize<'de> for TxAckStatus
§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl From<TxAckStatus> for i32
impl From<TxAckStatus> for i32
Source§fn from(value: TxAckStatus) -> i32
fn from(value: TxAckStatus) -> i32
Source§impl Hash for TxAckStatus
impl Hash for TxAckStatus
Source§impl Into<String> for TxAckStatus
impl Into<String> for TxAckStatus
Source§impl Ord for TxAckStatus
impl Ord for TxAckStatus
Source§fn cmp(&self, other: &TxAckStatus) -> Ordering
fn cmp(&self, other: &TxAckStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for TxAckStatus
impl PartialEq for TxAckStatus
Source§impl PartialOrd for TxAckStatus
impl PartialOrd for TxAckStatus
§impl Serialize for TxAckStatus
impl Serialize for TxAckStatus
Source§impl TryFrom<i32> for TxAckStatus
impl TryFrom<i32> for TxAckStatus
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<TxAckStatus, UnknownEnumValue>
fn try_from(value: i32) -> Result<TxAckStatus, UnknownEnumValue>
impl Copy for TxAckStatus
impl Eq for TxAckStatus
impl StructuralPartialEq for TxAckStatus
Auto Trait Implementations§
impl Freeze for TxAckStatus
impl RefUnwindSafe for TxAckStatus
impl Send for TxAckStatus
impl Sync for TxAckStatus
impl Unpin for TxAckStatus
impl UnwindSafe for TxAckStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request