Enum unbounded_gpsd::types::Response[][src]

pub enum Response {
    Tpv(TpvResponse),
    Sky(SkyResponse),
    Poll {
        time: DateTime<Utc>,
        active: u32,
        tpv: Vec<TpvResponse>,
        sky: Vec<SkyResponse>,
    },
    Device(DeviceObject),
    Devices {
        devices: Vec<DeviceObject>,
        remote: Option<String>,
    },
    Watch(WatchObject),
    Version {
        release: String,
        rev: String,
        proto_major: u32,
        proto_minor: u32,
        remote: Option<String>,
    },
    Error {
        message: String,
    },
    Raw(String),
}

A response from GPSD.

For single-struct variants, the documentation on the struct usually has more information.

Variants

Data from the last-seen fixes on all active GPS devices.

Fields of Poll

Count of active devices.

Fields of Devices

Fields of Version

Fields of Error

Trait Implementations

impl Debug for Response
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Response

impl Sync for Response