#[non_exhaustive]pub enum NtripVersion {
V1,
V2,
Auto,
}Expand description
NTRIP protocol version.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V1
NTRIP v1 (HTTP/1.0, ICY 200 OK response)
V2
NTRIP v2 (HTTP/1.1, chunked transfer encoding)
Auto
Auto-detect from server response (default)
Trait Implementations§
Source§impl Clone for NtripVersion
impl Clone for NtripVersion
Source§fn clone(&self) -> NtripVersion
fn clone(&self) -> NtripVersion
Returns a duplicate 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 NtripVersion
impl Debug for NtripVersion
Source§impl Default for NtripVersion
impl Default for NtripVersion
Source§fn default() -> NtripVersion
fn default() -> NtripVersion
Returns the “default value” for a type. Read more
Source§impl PartialEq for NtripVersion
impl PartialEq for NtripVersion
impl Copy for NtripVersion
impl Eq for NtripVersion
impl StructuralPartialEq for NtripVersion
Auto Trait Implementations§
impl Freeze for NtripVersion
impl RefUnwindSafe for NtripVersion
impl Send for NtripVersion
impl Sync for NtripVersion
impl Unpin for NtripVersion
impl UnwindSafe for NtripVersion
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