Enum adsb_deku::DF[][src]

pub enum DF {
    ShortAirAirSurveillance {
        vs: u8,
        cc: u8,
        unused: u8,
        sl: u8,
        unused1: u8,
        ri: u8,
        unused2: u8,
        altitude: AC13Field,
        parity: ICAO,
    },
    SurveillanceAltitudeReply {
        fs: FlightStatus,
        dr: DownlinkRequest,
        um: UtilityMessage,
        ac: AC13Field,
        ap: ICAO,
    },
    SurveillanceIdentityReply {
        fs: FlightStatus,
        dr: DownlinkRequest,
        um: UtilityMessage,
        id: IdentityCode,
        ap: ICAO,
    },
    AllCallReply {
        capability: Capability,
        icao: ICAO,
        p_icao: ICAO,
    },
    LongAirAir {
        vs: u8,
        spare1: u8,
        sl: u8,
        spare2: u8,
        ri: u8,
        spare3: u8,
        altitude: AC13Field,
        mv: Vec<u8>,
        parity: ICAO,
    },
    ADSB(ADSB),
    TisB {
        cf: ControlField,
        pi: ICAO,
    },
    ExtendedQuitterMilitaryApplication {
        af: u8,
    },
    CommBAltitudeReply {
        flight_status: FlightStatus,
        dr: DownlinkRequest,
        um: UtilityMessage,
        alt: u32,
        mb: Vec<u8>,
        parity: ICAO,
    },
    CommBIdentityReply {
        fs: FlightStatus,
        dr: DownlinkRequest,
        um: UtilityMessage,
        id: u32,
        message_comm_b: String,
        parity: ICAO,
    },
    CommDExtendedLengthMessage {
        spare: u8,
        ke: KE,
        nd: u8,
        md: Vec<u8>,
        parity: ICAO,
    },
}
Expand description

Downlink Format (3.1.2.3.2.1.2)

Variants

ShortAirAirSurveillance

0: (Mode S) Short Air-Air Surveillance, Downlink Format 0 (3.1.2.8.2)

Fields of ShortAirAirSurveillance

vs: u8

VS: Vertical Status

cc: u8

CC:

unused: u8

Spare

sl: u8

SL: Sensitivity level, ACAS

unused1: u8

Spare

ri: u8

RI: Reply Information

unused2: u8

Spare

altitude: AC13Field

AC: altitude code

parity: ICAO

AP: address, parity

SurveillanceAltitudeReply

4: (Mode S) Surveillance Altitude Reply, Downlink Format 4 (3.1.2.6.5)

Fields of SurveillanceAltitudeReply

fs: FlightStatus

FS: Flight Status

dr: DownlinkRequest

DR: DownlinkRequest

um: UtilityMessage

UM: Utility Message

ac: AC13Field

AC: AltitudeCode

ap: ICAO

AP: Address/Parity

SurveillanceIdentityReply

5: (Mode S) Surveillance Identity Reply (3.1.2.6.7)

Fields of SurveillanceIdentityReply

fs: FlightStatus

FS: Flight Status

dr: DownlinkRequest

DR: Downlink Request

um: UtilityMessage

UM: UtilityMessage

id: IdentityCode

ID: Identity

ap: ICAO

AP: Address/Parity

AllCallReply

11: (Mode S) All-call reply, Downlink format 11 (2.1.2.5.2.2)

Fields of AllCallReply

capability: Capability

CA: Capability

icao: ICAO

AA: Address Announced

p_icao: ICAO

PI: Parity/Interrogator identifier

LongAirAir

16: (Mode S) Long Air-Air Surveillance Downlink Format 16 (3.1.2.8.3)

Fields of LongAirAir

vs: u8spare1: u8sl: u8spare2: u8ri: u8spare3: u8altitude: AC13Field

AC: altitude code

mv: Vec<u8>

MV: message, acas

parity: ICAO

AP: address, parity

ADSB(ADSB)

17: Extended Squitter, Downlink Format 17 (3.1.2.8.6)

Civil aircraft ADS-B message

Tuple Fields of ADSB

0: ADSB
TisB

18: Extended Squitter/Supplementary, Downlink Format 18 (3.1.2.8.7)

Non-Transponder-based ADS-B Transmitting Subsystems and TIS-B Transmitting equipment. Equipment that cannot be interrogated.

reference: Aeronautical Telecommunications Volume IV: Surveillance and Collision Avoidance Systems, Fifth Edition

Fields of TisB

cf: ControlField

Enum containing message

pi: ICAO

PI: parity/interrogator identifier

ExtendedQuitterMilitaryApplication

19: Extended Squitter Military Application, Downlink Format 19 (3.1.2.8.8)

Fields of ExtendedQuitterMilitaryApplication

af: u8

Reserved

CommBAltitudeReply

20: COMM-B Altitude Reply (3.1.2.6.6)

TODO: Test me

Fields of CommBAltitudeReply

flight_status: FlightStatus

FS: Flight Status

dr: DownlinkRequest

DR: Downlink Request

um: UtilityMessage

UM: Utility Message

alt: u32

AC: Altitude Code

mb: Vec<u8>

MB Message, Comm-B

parity: ICAO

AP: address/parity

CommBIdentityReply

21: COMM-B Reply, Downlink Format 21 (3.1.2.6.8)

Fields of CommBIdentityReply

fs: FlightStatus

FS: Flight Status

dr: DownlinkRequest

DR: Downlink Request

um: UtilityMessage

UM: Utility Message

id: u32

ID: Identity

TODO: does this work?

message_comm_b: String

MB Message, COMM-B

parity: ICAO

AP address/parity

CommDExtendedLengthMessage

24..=31: Comm-D(ELM), Downlink Format 24 (3.1.2.7.3)

Fields of CommDExtendedLengthMessage

spare: u8

Spare - 1 bit

ke: KE

KE: control, ELM

nd: u8

ND: number of D-segment

md: Vec<u8>

MD: message, Comm-D, 80 bits

parity: ICAO

AP: address/parity

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Read bytes and construct type Read more

Obtain id of a given enum variant

Read bits and construct type Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Converts self into T using Into<T>. Read more

Causes self to use its Binary implementation when Debug-formatted.

Causes self to use its Display implementation when Debug-formatted. Read more

Causes self to use its LowerExp implementation when Debug-formatted. Read more

Causes self to use its LowerHex implementation when Debug-formatted. Read more

Causes self to use its Octal implementation when Debug-formatted.

Causes self to use its Pointer implementation when Debug-formatted. Read more

Causes self to use its UpperExp implementation when Debug-formatted. Read more

Causes self to use its UpperHex implementation when Debug-formatted. Read more

Performs the conversion.

Performs the conversion.

Pipes by value. This is generally the method you want to use. Read more

Borrows self and passes that borrow into the pipe function. Read more

Mutably borrows self and passes that borrow into the pipe function. Read more

Borrows self, then passes self.borrow() into the pipe function. Read more

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more

Borrows self, then passes self.as_ref() into the pipe function.

Mutably borrows self, then passes self.as_mut() into the pipe function. Read more

Borrows self, then passes self.deref() into the pipe function.

Mutably borrows self, then passes self.deref_mut() into the pipe function. Read more

Immutable access to a value. Read more

Mutable access to a value. Read more

Immutable access to the Borrow<B> of a value. Read more

Mutable access to the BorrowMut<B> of a value. Read more

Immutable access to the AsRef<R> view of a value. Read more

Mutable access to the AsMut<R> view of a value. Read more

Immutable access to the Deref::Target of a value. Read more

Mutable access to the Deref::Target of a value. Read more

Calls .tap() only in debug builds, and is erased in release builds.

Calls .tap_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow() only in debug builds, and is erased in release builds. Read more

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref() only in debug builds, and is erased in release builds. Read more

Calls .tap_ref_mut() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref() only in debug builds, and is erased in release builds. Read more

Calls .tap_deref_mut() only in debug builds, and is erased in release builds. Read more

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Attempts to convert self into T using TryInto<T>. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.