Enum gpsd_proto::ResponseHandshake
source · pub enum ResponseHandshake {
Version(Version),
Devices(Devices),
Watch(Watch),
}
Expand description
Responses from gpsd
during handshake..
Variants§
Trait Implementations§
source§impl Clone for ResponseHandshake
impl Clone for ResponseHandshake
source§fn clone(&self) -> ResponseHandshake
fn clone(&self) -> ResponseHandshake
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResponseHandshake
impl Debug for ResponseHandshake
source§impl<'de> Deserialize<'de> for ResponseHandshake
impl<'de> Deserialize<'de> for ResponseHandshake
source§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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ResponseHandshake
impl Send for ResponseHandshake
impl Sync for ResponseHandshake
impl Unpin for ResponseHandshake
impl UnwindSafe for ResponseHandshake
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