Enum chirpstack_api::gw::TxAckStatus
source · #[repr(i32)]
pub enum TxAckStatus {
Ignored,
Ok,
TooLate,
TooEarly,
CollisionPacket,
CollisionBeacon,
TxFreq,
TxPower,
GpsUnlocked,
QueueFull,
InternalError,
}
Variants§
Ignored
Ignored (when a previous item was already emitted).
Ok
Packet has been programmed for downlink.
TooLate
Rejected because it was already too late to program this packet for downlink.
TooEarly
Rejected because downlink packet timestamp is too much in advance.
CollisionPacket
Rejected because there was already a packet programmed in requested timeframe.
CollisionBeacon
Rejected because there was already a beacon planned in requested timeframe.
TxFreq
Rejected because requested frequency is not supported by TX RF chain.
TxPower
Rejected because requested power is not supported by gateway.
GpsUnlocked
Rejected because GPS is unlocked, so GPS timestamp cannot be used.
QueueFull
Downlink queue is full.
InternalError
Internal error.
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<TxAckStatus> for TxAckStatus
impl PartialEq<TxAckStatus> for TxAckStatus
source§fn eq(&self, other: &TxAckStatus) -> bool
fn eq(&self, other: &TxAckStatus) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TxAckStatus> for TxAckStatus
impl PartialOrd<TxAckStatus> for TxAckStatus
source§fn partial_cmp(&self, other: &TxAckStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &TxAckStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more§impl Serialize for TxAckStatus
impl Serialize for TxAckStatus
impl Copy for TxAckStatus
impl Eq for TxAckStatus
impl StructuralEq for TxAckStatus
impl StructuralPartialEq for TxAckStatus
Auto Trait Implementations§
impl RefUnwindSafe for TxAckStatus
impl Send for TxAckStatus
impl Sync for TxAckStatus
impl Unpin for TxAckStatus
impl UnwindSafe for TxAckStatus
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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