diff --git a/ping_rs/bluebps/enum.Messages.html b/ping_rs/bluebps/enum.Messages.html index 9da0e20f6..5fecf4dd7 100644 --- a/ping_rs/bluebps/enum.Messages.html +++ b/ping_rs/bluebps/enum.Messages.html @@ -2,25 +2,25 @@
pub enum Messages {
 
Show 20 variants CellTimeout(CellTimeoutStruct), CurrentMax(CurrentMaxStruct), - CellVoltageMin(CellVoltageMinStruct), - EraseFlash(EraseFlashStruct), - TemperatureMax(TemperatureMaxStruct), - SetCellVoltageTimeout(SetCellVoltageTimeoutStruct), - Events(EventsStruct), - SetCellVoltageMinimum(SetCellVoltageMinimumStruct), - ResetDefaults(ResetDefaultsStruct), - SetTemperatureMax(SetTemperatureMaxStruct), - SetLpfSampleFrequency(SetLpfSampleFrequencyStruct), SetCurrentMax(SetCurrentMaxStruct), - TemperatureTimeout(TemperatureTimeoutStruct), - Reboot(RebootStruct), - SetCurrentTimeout(SetCurrentTimeoutStruct), + SetTemperatureMax(SetTemperatureMaxStruct), SetTemperatureTimeout(SetTemperatureTimeoutStruct), SetStreamRate(SetStreamRateStruct), - CurrentTimeout(CurrentTimeoutStruct), + Events(EventsStruct), + ResetDefaults(ResetDefaultsStruct), SetLpfSetting(SetLpfSettingStruct), + SetCurrentTimeout(SetCurrentTimeoutStruct), + Reboot(RebootStruct), + CurrentTimeout(CurrentTimeoutStruct), + SetCellVoltageTimeout(SetCellVoltageTimeoutStruct), + CellVoltageMin(CellVoltageMinStruct), + TemperatureMax(TemperatureMaxStruct), State(StateStruct), -
}

Variants§

§

CellTimeout(CellTimeoutStruct)

§

CurrentMax(CurrentMaxStruct)

§

CellVoltageMin(CellVoltageMinStruct)

§

EraseFlash(EraseFlashStruct)

§

TemperatureMax(TemperatureMaxStruct)

§

SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)

§

Events(EventsStruct)

§

SetCellVoltageMinimum(SetCellVoltageMinimumStruct)

§

ResetDefaults(ResetDefaultsStruct)

§

SetTemperatureMax(SetTemperatureMaxStruct)

§

SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)

§

SetCurrentMax(SetCurrentMaxStruct)

§

TemperatureTimeout(TemperatureTimeoutStruct)

§

Reboot(RebootStruct)

§

SetCurrentTimeout(SetCurrentTimeoutStruct)

§

SetTemperatureTimeout(SetTemperatureTimeoutStruct)

§

SetStreamRate(SetStreamRateStruct)

§

CurrentTimeout(CurrentTimeoutStruct)

§

SetLpfSetting(SetLpfSettingStruct)

§

State(StateStruct)

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used + TemperatureTimeout(TemperatureTimeoutStruct), + EraseFlash(EraseFlashStruct), + SetCellVoltageMinimum(SetCellVoltageMinimumStruct), + SetLpfSampleFrequency(SetLpfSampleFrequencyStruct), +
}

Variants§

§

CellTimeout(CellTimeoutStruct)

§

CurrentMax(CurrentMaxStruct)

§

SetCurrentMax(SetCurrentMaxStruct)

§

SetTemperatureMax(SetTemperatureMaxStruct)

§

SetTemperatureTimeout(SetTemperatureTimeoutStruct)

§

SetStreamRate(SetStreamRateStruct)

§

Events(EventsStruct)

§

ResetDefaults(ResetDefaultsStruct)

§

SetLpfSetting(SetLpfSettingStruct)

§

SetCurrentTimeout(SetCurrentTimeoutStruct)

§

Reboot(RebootStruct)

§

CurrentTimeout(CurrentTimeoutStruct)

§

SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)

§

CellVoltageMin(CellVoltageMinStruct)

§

TemperatureMax(TemperatureMaxStruct)

§

State(StateStruct)

§

TemperatureTimeout(TemperatureTimeoutStruct)

§

EraseFlash(EraseFlashStruct)

§

SetCellVoltageMinimum(SetCellVoltageMinimumStruct)

§

SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PingMessage for Messages

source§

impl SerializePayload for Messages

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for Messages

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/ping_rs/bluebps/struct.CellVoltageMinStruct.html b/ping_rs/bluebps/struct.CellVoltageMinStruct.html index 3d5dc406a..a7eb90798 100644 --- a/ping_rs/bluebps/struct.CellVoltageMinStruct.html +++ b/ping_rs/bluebps/struct.CellVoltageMinStruct.html @@ -1,11 +1,11 @@ CellVoltageMinStruct in ping_rs::bluebps - Rust -
pub struct CellVoltageMinStruct {
+    
pub struct CellVoltageMinStruct {
     pub limit: u16,
 }
Expand description

Get the minimum allowed cell voltage

Fields§

§limit: u16

The minimum voltage allowed for any individual cell. 0~5000: 0~5V

-

Trait Implementations§

source§

impl Clone for CellVoltageMinStruct

source§

fn clone(&self) -> CellVoltageMinStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CellVoltageMinStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CellVoltageMinStruct

source§

fn default() -> CellVoltageMinStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for CellVoltageMinStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for CellVoltageMinStruct

source§

fn id() -> u16

source§

impl PartialEq for CellVoltageMinStruct

source§

fn eq(&self, other: &CellVoltageMinStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for CellVoltageMinStruct

source§

fn clone(&self) -> CellVoltageMinStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CellVoltageMinStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CellVoltageMinStruct

source§

fn default() -> CellVoltageMinStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for CellVoltageMinStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for CellVoltageMinStruct

source§

fn id() -> u16

source§

impl PartialEq for CellVoltageMinStruct

source§

fn eq(&self, other: &CellVoltageMinStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for CellVoltageMinStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for CellVoltageMinStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for CellVoltageMinStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for CellVoltageMinStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.CurrentTimeoutStruct.html b/ping_rs/bluebps/struct.CurrentTimeoutStruct.html index 373c08c94..b0062ebde 100644 --- a/ping_rs/bluebps/struct.CurrentTimeoutStruct.html +++ b/ping_rs/bluebps/struct.CurrentTimeoutStruct.html @@ -1,11 +1,11 @@ CurrentTimeoutStruct in ping_rs::bluebps - Rust -
pub struct CurrentTimeoutStruct {
+    
pub struct CurrentTimeoutStruct {
     pub timeout: u16,
 }
Expand description

Get the over-current timeout

Fields§

§timeout: u16

If the battery current exceeds the configured limit for this duration of time, the power will be locked-out

-

Trait Implementations§

source§

impl Clone for CurrentTimeoutStruct

source§

fn clone(&self) -> CurrentTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CurrentTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CurrentTimeoutStruct

source§

fn default() -> CurrentTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for CurrentTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for CurrentTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for CurrentTimeoutStruct

source§

fn eq(&self, other: &CurrentTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for CurrentTimeoutStruct

source§

fn clone(&self) -> CurrentTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CurrentTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CurrentTimeoutStruct

source§

fn default() -> CurrentTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for CurrentTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for CurrentTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for CurrentTimeoutStruct

source§

fn eq(&self, other: &CurrentTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for CurrentTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for CurrentTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for CurrentTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for CurrentTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.EraseFlashStruct.html b/ping_rs/bluebps/struct.EraseFlashStruct.html index c72a94691..dac980e3e 100644 --- a/ping_rs/bluebps/struct.EraseFlashStruct.html +++ b/ping_rs/bluebps/struct.EraseFlashStruct.html @@ -1,8 +1,8 @@ EraseFlashStruct in ping_rs::bluebps - Rust -
pub struct EraseFlashStruct {}
Expand description

Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!

-

Trait Implementations§

source§

impl Clone for EraseFlashStruct

source§

fn clone(&self) -> EraseFlashStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EraseFlashStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EraseFlashStruct

source§

fn default() -> EraseFlashStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for EraseFlashStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for EraseFlashStruct

source§

fn id() -> u16

source§

impl PartialEq for EraseFlashStruct

source§

fn eq(&self, other: &EraseFlashStruct) -> bool

This method tests for self and other values to be equal, and is used +
pub struct EraseFlashStruct {}
Expand description

Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!

+

Trait Implementations§

source§

impl Clone for EraseFlashStruct

source§

fn clone(&self) -> EraseFlashStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EraseFlashStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EraseFlashStruct

source§

fn default() -> EraseFlashStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for EraseFlashStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for EraseFlashStruct

source§

fn id() -> u16

source§

impl PartialEq for EraseFlashStruct

source§

fn eq(&self, other: &EraseFlashStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for EraseFlashStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for EraseFlashStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for EraseFlashStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for EraseFlashStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.EventsStruct.html b/ping_rs/bluebps/struct.EventsStruct.html index 235041f3a..9b850740b 100644 --- a/ping_rs/bluebps/struct.EventsStruct.html +++ b/ping_rs/bluebps/struct.EventsStruct.html @@ -1,5 +1,5 @@ EventsStruct in ping_rs::bluebps - Rust -
pub struct EventsStruct {
+    
pub struct EventsStruct {
     pub voltage: u16,
     pub current: u16,
     pub temperature: u16,
@@ -7,9 +7,9 @@
 

Fields§

§voltage: u16

The number of under-voltage events

§current: u16

The number of over-current events

§temperature: u16

The number of over-temperature events

-

Trait Implementations§

source§

impl Clone for EventsStruct

source§

fn clone(&self) -> EventsStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EventsStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EventsStruct

source§

fn default() -> EventsStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for EventsStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for EventsStruct

source§

fn id() -> u16

source§

impl PartialEq for EventsStruct

source§

fn eq(&self, other: &EventsStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for EventsStruct

source§

fn clone(&self) -> EventsStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EventsStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for EventsStruct

source§

fn default() -> EventsStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for EventsStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for EventsStruct

source§

fn id() -> u16

source§

impl PartialEq for EventsStruct

source§

fn eq(&self, other: &EventsStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for EventsStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for EventsStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for EventsStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for EventsStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.RebootStruct.html b/ping_rs/bluebps/struct.RebootStruct.html index b6d2a776e..782b35c5b 100644 --- a/ping_rs/bluebps/struct.RebootStruct.html +++ b/ping_rs/bluebps/struct.RebootStruct.html @@ -1,11 +1,11 @@ RebootStruct in ping_rs::bluebps - Rust -
pub struct RebootStruct {
+    
pub struct RebootStruct {
     pub goto_bootloader: u8,
 }
Expand description

reboot the system

Fields§

§goto_bootloader: u8

0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot

-

Trait Implementations§

source§

impl Clone for RebootStruct

source§

fn clone(&self) -> RebootStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RebootStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RebootStruct

source§

fn default() -> RebootStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for RebootStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for RebootStruct

source§

fn id() -> u16

source§

impl PartialEq for RebootStruct

source§

fn eq(&self, other: &RebootStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for RebootStruct

source§

fn clone(&self) -> RebootStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RebootStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RebootStruct

source§

fn default() -> RebootStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for RebootStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for RebootStruct

source§

fn id() -> u16

source§

impl PartialEq for RebootStruct

source§

fn eq(&self, other: &RebootStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for RebootStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for RebootStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for RebootStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for RebootStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.ResetDefaultsStruct.html b/ping_rs/bluebps/struct.ResetDefaultsStruct.html index e8d9dab39..741bd97a8 100644 --- a/ping_rs/bluebps/struct.ResetDefaultsStruct.html +++ b/ping_rs/bluebps/struct.ResetDefaultsStruct.html @@ -1,8 +1,8 @@ ResetDefaultsStruct in ping_rs::bluebps - Rust -
pub struct ResetDefaultsStruct {}
Expand description

Reset parameter configuration to default values.

-

Trait Implementations§

source§

impl Clone for ResetDefaultsStruct

source§

fn clone(&self) -> ResetDefaultsStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ResetDefaultsStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ResetDefaultsStruct

source§

fn default() -> ResetDefaultsStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ResetDefaultsStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ResetDefaultsStruct

source§

fn id() -> u16

source§

impl PartialEq for ResetDefaultsStruct

source§

fn eq(&self, other: &ResetDefaultsStruct) -> bool

This method tests for self and other values to be equal, and is used +
pub struct ResetDefaultsStruct {}
Expand description

Reset parameter configuration to default values.

+

Trait Implementations§

source§

impl Clone for ResetDefaultsStruct

source§

fn clone(&self) -> ResetDefaultsStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ResetDefaultsStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ResetDefaultsStruct

source§

fn default() -> ResetDefaultsStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ResetDefaultsStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ResetDefaultsStruct

source§

fn id() -> u16

source§

impl PartialEq for ResetDefaultsStruct

source§

fn eq(&self, other: &ResetDefaultsStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ResetDefaultsStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ResetDefaultsStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ResetDefaultsStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ResetDefaultsStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetCellVoltageMinimumStruct.html b/ping_rs/bluebps/struct.SetCellVoltageMinimumStruct.html index 3f28f480a..0adf7f9dd 100644 --- a/ping_rs/bluebps/struct.SetCellVoltageMinimumStruct.html +++ b/ping_rs/bluebps/struct.SetCellVoltageMinimumStruct.html @@ -1,11 +1,11 @@ SetCellVoltageMinimumStruct in ping_rs::bluebps - Rust -
pub struct SetCellVoltageMinimumStruct {
+    
pub struct SetCellVoltageMinimumStruct {
     pub limit: u16,
 }
Expand description

Set the minimum allowed cell voltage

Fields§

§limit: u16

The minimum voltage allowed for any individual cell. 0~5000: 0~5V

-

Trait Implementations§

source§

impl Clone for SetCellVoltageMinimumStruct

source§

fn clone(&self) -> SetCellVoltageMinimumStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCellVoltageMinimumStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCellVoltageMinimumStruct

source§

fn default() -> SetCellVoltageMinimumStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCellVoltageMinimumStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCellVoltageMinimumStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCellVoltageMinimumStruct

source§

fn eq(&self, other: &SetCellVoltageMinimumStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetCellVoltageMinimumStruct

source§

fn clone(&self) -> SetCellVoltageMinimumStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCellVoltageMinimumStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCellVoltageMinimumStruct

source§

fn default() -> SetCellVoltageMinimumStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCellVoltageMinimumStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCellVoltageMinimumStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCellVoltageMinimumStruct

source§

fn eq(&self, other: &SetCellVoltageMinimumStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetCellVoltageMinimumStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCellVoltageMinimumStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetCellVoltageMinimumStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCellVoltageMinimumStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetCellVoltageTimeoutStruct.html b/ping_rs/bluebps/struct.SetCellVoltageTimeoutStruct.html index 566c000ff..5e0cd570a 100644 --- a/ping_rs/bluebps/struct.SetCellVoltageTimeoutStruct.html +++ b/ping_rs/bluebps/struct.SetCellVoltageTimeoutStruct.html @@ -1,11 +1,11 @@ SetCellVoltageTimeoutStruct in ping_rs::bluebps - Rust -
pub struct SetCellVoltageTimeoutStruct {
+    
pub struct SetCellVoltageTimeoutStruct {
     pub timeout: u16,
 }
Expand description

Set the under-voltage timeout

Fields§

§timeout: u16

If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out

-

Trait Implementations§

source§

impl Clone for SetCellVoltageTimeoutStruct

source§

fn clone(&self) -> SetCellVoltageTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCellVoltageTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCellVoltageTimeoutStruct

source§

fn default() -> SetCellVoltageTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCellVoltageTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCellVoltageTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCellVoltageTimeoutStruct

source§

fn eq(&self, other: &SetCellVoltageTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetCellVoltageTimeoutStruct

source§

fn clone(&self) -> SetCellVoltageTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCellVoltageTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCellVoltageTimeoutStruct

source§

fn default() -> SetCellVoltageTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCellVoltageTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCellVoltageTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCellVoltageTimeoutStruct

source§

fn eq(&self, other: &SetCellVoltageTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetCellVoltageTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCellVoltageTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetCellVoltageTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCellVoltageTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetCurrentMaxStruct.html b/ping_rs/bluebps/struct.SetCurrentMaxStruct.html index 42e7b00ab..940627eee 100644 --- a/ping_rs/bluebps/struct.SetCurrentMaxStruct.html +++ b/ping_rs/bluebps/struct.SetCurrentMaxStruct.html @@ -1,11 +1,11 @@ SetCurrentMaxStruct in ping_rs::bluebps - Rust -
pub struct SetCurrentMaxStruct {
+    
pub struct SetCurrentMaxStruct {
     pub limit: u16,
 }
Expand description

Set the maximum allowed battery current

Fields§

§limit: u16

The maximum allowed battery current 0~20000 = 0~200A

-

Trait Implementations§

source§

impl Clone for SetCurrentMaxStruct

source§

fn clone(&self) -> SetCurrentMaxStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCurrentMaxStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCurrentMaxStruct

source§

fn default() -> SetCurrentMaxStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCurrentMaxStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCurrentMaxStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCurrentMaxStruct

source§

fn eq(&self, other: &SetCurrentMaxStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetCurrentMaxStruct

source§

fn clone(&self) -> SetCurrentMaxStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCurrentMaxStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCurrentMaxStruct

source§

fn default() -> SetCurrentMaxStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCurrentMaxStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCurrentMaxStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCurrentMaxStruct

source§

fn eq(&self, other: &SetCurrentMaxStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetCurrentMaxStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCurrentMaxStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetCurrentMaxStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCurrentMaxStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetCurrentTimeoutStruct.html b/ping_rs/bluebps/struct.SetCurrentTimeoutStruct.html index d093e8470..3565c748a 100644 --- a/ping_rs/bluebps/struct.SetCurrentTimeoutStruct.html +++ b/ping_rs/bluebps/struct.SetCurrentTimeoutStruct.html @@ -1,11 +1,11 @@ SetCurrentTimeoutStruct in ping_rs::bluebps - Rust -
pub struct SetCurrentTimeoutStruct {
+    
pub struct SetCurrentTimeoutStruct {
     pub timeout: u16,
 }
Expand description

Set the over-current timeout

Fields§

§timeout: u16

If the battery current exceeds the configured limit for this duration of time, the power will be locked-out

-

Trait Implementations§

source§

impl Clone for SetCurrentTimeoutStruct

source§

fn clone(&self) -> SetCurrentTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCurrentTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCurrentTimeoutStruct

source§

fn default() -> SetCurrentTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCurrentTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCurrentTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCurrentTimeoutStruct

source§

fn eq(&self, other: &SetCurrentTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetCurrentTimeoutStruct

source§

fn clone(&self) -> SetCurrentTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetCurrentTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetCurrentTimeoutStruct

source§

fn default() -> SetCurrentTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetCurrentTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetCurrentTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for SetCurrentTimeoutStruct

source§

fn eq(&self, other: &SetCurrentTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetCurrentTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCurrentTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetCurrentTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetCurrentTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetLpfSampleFrequencyStruct.html b/ping_rs/bluebps/struct.SetLpfSampleFrequencyStruct.html index 0427f083f..1e45b3db1 100644 --- a/ping_rs/bluebps/struct.SetLpfSampleFrequencyStruct.html +++ b/ping_rs/bluebps/struct.SetLpfSampleFrequencyStruct.html @@ -1,11 +1,11 @@ SetLpfSampleFrequencyStruct in ping_rs::bluebps - Rust -
pub struct SetLpfSampleFrequencyStruct {
+    
pub struct SetLpfSampleFrequencyStruct {
     pub sample_frequency: u32,
 }
Expand description

the frequency to take adc samples and run the filter.

Fields§

§sample_frequency: u32

sample frequency in Hz. 1~100000

-

Trait Implementations§

source§

impl Clone for SetLpfSampleFrequencyStruct

source§

fn clone(&self) -> SetLpfSampleFrequencyStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetLpfSampleFrequencyStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetLpfSampleFrequencyStruct

source§

fn default() -> SetLpfSampleFrequencyStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetLpfSampleFrequencyStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetLpfSampleFrequencyStruct

source§

fn id() -> u16

source§

impl PartialEq for SetLpfSampleFrequencyStruct

source§

fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetLpfSampleFrequencyStruct

source§

fn clone(&self) -> SetLpfSampleFrequencyStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetLpfSampleFrequencyStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetLpfSampleFrequencyStruct

source§

fn default() -> SetLpfSampleFrequencyStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetLpfSampleFrequencyStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetLpfSampleFrequencyStruct

source§

fn id() -> u16

source§

impl PartialEq for SetLpfSampleFrequencyStruct

source§

fn eq(&self, other: &SetLpfSampleFrequencyStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetLpfSampleFrequencyStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetLpfSampleFrequencyStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetLpfSampleFrequencyStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetLpfSampleFrequencyStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetLpfSettingStruct.html b/ping_rs/bluebps/struct.SetLpfSettingStruct.html index 51a3bd70e..d89d97bce 100644 --- a/ping_rs/bluebps/struct.SetLpfSettingStruct.html +++ b/ping_rs/bluebps/struct.SetLpfSettingStruct.html @@ -1,11 +1,11 @@ SetLpfSettingStruct in ping_rs::bluebps - Rust -
pub struct SetLpfSettingStruct {
+    
pub struct SetLpfSettingStruct {
     pub setting: u16,
 }
Expand description

Low pass filter setting. This value represents x in the equation value = value * x + sample * (1-x). 0.0 = no filtering, 0.99 = heavy filtering.

Fields§

§setting: u16

0~999: x = 0~0.999

-

Trait Implementations§

source§

impl Clone for SetLpfSettingStruct

source§

fn clone(&self) -> SetLpfSettingStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetLpfSettingStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetLpfSettingStruct

source§

fn default() -> SetLpfSettingStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetLpfSettingStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetLpfSettingStruct

source§

fn id() -> u16

source§

impl PartialEq for SetLpfSettingStruct

source§

fn eq(&self, other: &SetLpfSettingStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetLpfSettingStruct

source§

fn clone(&self) -> SetLpfSettingStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetLpfSettingStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetLpfSettingStruct

source§

fn default() -> SetLpfSettingStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetLpfSettingStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetLpfSettingStruct

source§

fn id() -> u16

source§

impl PartialEq for SetLpfSettingStruct

source§

fn eq(&self, other: &SetLpfSettingStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetLpfSettingStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetLpfSettingStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetLpfSettingStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetLpfSettingStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetStreamRateStruct.html b/ping_rs/bluebps/struct.SetStreamRateStruct.html index 31ade4a58..f001f1405 100644 --- a/ping_rs/bluebps/struct.SetStreamRateStruct.html +++ b/ping_rs/bluebps/struct.SetStreamRateStruct.html @@ -1,11 +1,11 @@ SetStreamRateStruct in ping_rs::bluebps - Rust -
pub struct SetStreamRateStruct {
+    
pub struct SetStreamRateStruct {
     pub rate: u32,
 }
Expand description

Set the frequency to automatically output state messages.

Fields§

§rate: u32

Rate to stream state messages. 0~100000Hz

-

Trait Implementations§

source§

impl Clone for SetStreamRateStruct

source§

fn clone(&self) -> SetStreamRateStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetStreamRateStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetStreamRateStruct

source§

fn default() -> SetStreamRateStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetStreamRateStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetStreamRateStruct

source§

fn id() -> u16

source§

impl PartialEq for SetStreamRateStruct

source§

fn eq(&self, other: &SetStreamRateStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetStreamRateStruct

source§

fn clone(&self) -> SetStreamRateStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetStreamRateStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetStreamRateStruct

source§

fn default() -> SetStreamRateStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetStreamRateStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetStreamRateStruct

source§

fn id() -> u16

source§

impl PartialEq for SetStreamRateStruct

source§

fn eq(&self, other: &SetStreamRateStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetStreamRateStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetStreamRateStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetStreamRateStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetStreamRateStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetTemperatureMaxStruct.html b/ping_rs/bluebps/struct.SetTemperatureMaxStruct.html index bad01b30e..b553eddb6 100644 --- a/ping_rs/bluebps/struct.SetTemperatureMaxStruct.html +++ b/ping_rs/bluebps/struct.SetTemperatureMaxStruct.html @@ -1,11 +1,11 @@ SetTemperatureMaxStruct in ping_rs::bluebps - Rust -
pub struct SetTemperatureMaxStruct {
+    
pub struct SetTemperatureMaxStruct {
     pub limit: u16,
 }
Expand description

Set the maximum allowed battery temperature

Fields§

§limit: u16

The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V

-

Trait Implementations§

source§

impl Clone for SetTemperatureMaxStruct

source§

fn clone(&self) -> SetTemperatureMaxStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetTemperatureMaxStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetTemperatureMaxStruct

source§

fn default() -> SetTemperatureMaxStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetTemperatureMaxStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetTemperatureMaxStruct

source§

fn id() -> u16

source§

impl PartialEq for SetTemperatureMaxStruct

source§

fn eq(&self, other: &SetTemperatureMaxStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetTemperatureMaxStruct

source§

fn clone(&self) -> SetTemperatureMaxStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetTemperatureMaxStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetTemperatureMaxStruct

source§

fn default() -> SetTemperatureMaxStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetTemperatureMaxStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetTemperatureMaxStruct

source§

fn id() -> u16

source§

impl PartialEq for SetTemperatureMaxStruct

source§

fn eq(&self, other: &SetTemperatureMaxStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetTemperatureMaxStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetTemperatureMaxStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetTemperatureMaxStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetTemperatureMaxStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.SetTemperatureTimeoutStruct.html b/ping_rs/bluebps/struct.SetTemperatureTimeoutStruct.html index 2006641e9..b86cc67d4 100644 --- a/ping_rs/bluebps/struct.SetTemperatureTimeoutStruct.html +++ b/ping_rs/bluebps/struct.SetTemperatureTimeoutStruct.html @@ -1,11 +1,11 @@ SetTemperatureTimeoutStruct in ping_rs::bluebps - Rust -
pub struct SetTemperatureTimeoutStruct {
+    
pub struct SetTemperatureTimeoutStruct {
     pub timeout: u16,
 }
Expand description

Set the over-temperature timeout

Fields§

§timeout: u16

If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out

-

Trait Implementations§

source§

impl Clone for SetTemperatureTimeoutStruct

source§

fn clone(&self) -> SetTemperatureTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetTemperatureTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetTemperatureTimeoutStruct

source§

fn default() -> SetTemperatureTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetTemperatureTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetTemperatureTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for SetTemperatureTimeoutStruct

source§

fn eq(&self, other: &SetTemperatureTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetTemperatureTimeoutStruct

source§

fn clone(&self) -> SetTemperatureTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetTemperatureTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetTemperatureTimeoutStruct

source§

fn default() -> SetTemperatureTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetTemperatureTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetTemperatureTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for SetTemperatureTimeoutStruct

source§

fn eq(&self, other: &SetTemperatureTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetTemperatureTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetTemperatureTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetTemperatureTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetTemperatureTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.StateStruct.html b/ping_rs/bluebps/struct.StateStruct.html index fc97e9175..510d6d286 100644 --- a/ping_rs/bluebps/struct.StateStruct.html +++ b/ping_rs/bluebps/struct.StateStruct.html @@ -1,5 +1,5 @@ StateStruct in ping_rs::bluebps - Rust -
pub struct StateStruct {
+    
pub struct StateStruct {
     pub battery_voltage: u16,
     pub battery_current: u16,
     pub battery_temperature: u16,
@@ -14,9 +14,9 @@
 
§cpu_temperature: u16

The cpu temperature

§flags: u8

flags indicating if any of the configured limits are currently exceeded

§cell_voltages_length: u8

Array containing cell voltages

-
§cell_voltages: Vec<u16>

Trait Implementations§

source§

impl Clone for StateStruct

source§

fn clone(&self) -> StateStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StateStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StateStruct

source§

fn default() -> StateStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for StateStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for StateStruct

source§

fn id() -> u16

source§

impl PartialEq for StateStruct

source§

fn eq(&self, other: &StateStruct) -> bool

This method tests for self and other values to be equal, and is used +
§cell_voltages: Vec<u16>

Trait Implementations§

source§

impl Clone for StateStruct

source§

fn clone(&self) -> StateStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for StateStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for StateStruct

source§

fn default() -> StateStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for StateStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for StateStruct

source§

fn id() -> u16

source§

impl PartialEq for StateStruct

source§

fn eq(&self, other: &StateStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for StateStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for StateStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for StateStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for StateStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.TemperatureMaxStruct.html b/ping_rs/bluebps/struct.TemperatureMaxStruct.html index 451956620..d0ffb745c 100644 --- a/ping_rs/bluebps/struct.TemperatureMaxStruct.html +++ b/ping_rs/bluebps/struct.TemperatureMaxStruct.html @@ -1,11 +1,11 @@ TemperatureMaxStruct in ping_rs::bluebps - Rust -
pub struct TemperatureMaxStruct {
+    
pub struct TemperatureMaxStruct {
     pub limit: u16,
 }
Expand description

Get the maximum allowed battery temperature

Fields§

§limit: u16

The minimum voltage allowed for any individual cell. 0~5000: 0~5V

-

Trait Implementations§

source§

impl Clone for TemperatureMaxStruct

source§

fn clone(&self) -> TemperatureMaxStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TemperatureMaxStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TemperatureMaxStruct

source§

fn default() -> TemperatureMaxStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TemperatureMaxStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TemperatureMaxStruct

source§

fn id() -> u16

source§

impl PartialEq for TemperatureMaxStruct

source§

fn eq(&self, other: &TemperatureMaxStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TemperatureMaxStruct

source§

fn clone(&self) -> TemperatureMaxStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TemperatureMaxStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TemperatureMaxStruct

source§

fn default() -> TemperatureMaxStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TemperatureMaxStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TemperatureMaxStruct

source§

fn id() -> u16

source§

impl PartialEq for TemperatureMaxStruct

source§

fn eq(&self, other: &TemperatureMaxStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for TemperatureMaxStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TemperatureMaxStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for TemperatureMaxStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TemperatureMaxStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/bluebps/struct.TemperatureTimeoutStruct.html b/ping_rs/bluebps/struct.TemperatureTimeoutStruct.html index 46be8f502..c8ee6b107 100644 --- a/ping_rs/bluebps/struct.TemperatureTimeoutStruct.html +++ b/ping_rs/bluebps/struct.TemperatureTimeoutStruct.html @@ -1,11 +1,11 @@ TemperatureTimeoutStruct in ping_rs::bluebps - Rust -
pub struct TemperatureTimeoutStruct {
+    
pub struct TemperatureTimeoutStruct {
     pub timeout: u16,
 }
Expand description

Get the over-temperature timeout

Fields§

§timeout: u16

If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out

-

Trait Implementations§

source§

impl Clone for TemperatureTimeoutStruct

source§

fn clone(&self) -> TemperatureTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TemperatureTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TemperatureTimeoutStruct

source§

fn default() -> TemperatureTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TemperatureTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TemperatureTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for TemperatureTimeoutStruct

source§

fn eq(&self, other: &TemperatureTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TemperatureTimeoutStruct

source§

fn clone(&self) -> TemperatureTimeoutStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TemperatureTimeoutStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TemperatureTimeoutStruct

source§

fn default() -> TemperatureTimeoutStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TemperatureTimeoutStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TemperatureTimeoutStruct

source§

fn id() -> u16

source§

impl PartialEq for TemperatureTimeoutStruct

source§

fn eq(&self, other: &TemperatureTimeoutStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for TemperatureTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TemperatureTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for TemperatureTimeoutStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TemperatureTimeoutStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/common/enum.Messages.html b/ping_rs/common/enum.Messages.html index 6d1160416..c0467e4c7 100644 --- a/ping_rs/common/enum.Messages.html +++ b/ping_rs/common/enum.Messages.html @@ -1,13 +1,13 @@ Messages in ping_rs::common - Rust

Enum ping_rs::common::Messages

source ·
pub enum Messages {
-    Ack(AckStruct),
-    Nack(NackStruct),
-    AsciiText(AsciiTextStruct),
-    DeviceInformation(DeviceInformationStruct),
-    ProtocolVersion(ProtocolVersionStruct),
     SetDeviceId(SetDeviceIdStruct),
     GeneralRequest(GeneralRequestStruct),
-}

Variants§

§

Ack(AckStruct)

§

Nack(NackStruct)

§

AsciiText(AsciiTextStruct)

§

DeviceInformation(DeviceInformationStruct)

§

ProtocolVersion(ProtocolVersionStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

GeneralRequest(GeneralRequestStruct)

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used + ProtocolVersion(ProtocolVersionStruct), + DeviceInformation(DeviceInformationStruct), + Nack(NackStruct), + AsciiText(AsciiTextStruct), + Ack(AckStruct), +}

Variants§

§

SetDeviceId(SetDeviceIdStruct)

§

GeneralRequest(GeneralRequestStruct)

§

ProtocolVersion(ProtocolVersionStruct)

§

DeviceInformation(DeviceInformationStruct)

§

Nack(NackStruct)

§

AsciiText(AsciiTextStruct)

§

Ack(AckStruct)

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PingMessage for Messages

source§

impl SerializePayload for Messages

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for Messages

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/ping_rs/common/struct.AckStruct.html b/ping_rs/common/struct.AckStruct.html index c06a04036..4ef1b9b03 100644 --- a/ping_rs/common/struct.AckStruct.html +++ b/ping_rs/common/struct.AckStruct.html @@ -1,11 +1,11 @@ AckStruct in ping_rs::common - Rust -

Struct ping_rs::common::AckStruct

source ·
pub struct AckStruct {
+    

Struct ping_rs::common::AckStruct

source ·
pub struct AckStruct {
     pub acked_id: u16,
 }
Expand description

Acknowledged.

Fields§

§acked_id: u16

The message ID that is ACKnowledged.

-

Trait Implementations§

source§

impl Clone for AckStruct

source§

fn clone(&self) -> AckStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AckStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AckStruct

source§

fn default() -> AckStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AckStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AckStruct

source§

fn id() -> u16

source§

impl PartialEq for AckStruct

source§

fn eq(&self, other: &AckStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AckStruct

source§

fn clone(&self) -> AckStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AckStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AckStruct

source§

fn default() -> AckStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AckStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AckStruct

source§

fn id() -> u16

source§

impl PartialEq for AckStruct

source§

fn eq(&self, other: &AckStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for AckStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AckStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for AckStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AckStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/common/struct.AsciiTextStruct.html b/ping_rs/common/struct.AsciiTextStruct.html index 3cac43ae9..84dd4bc31 100644 --- a/ping_rs/common/struct.AsciiTextStruct.html +++ b/ping_rs/common/struct.AsciiTextStruct.html @@ -1,11 +1,11 @@ AsciiTextStruct in ping_rs::common - Rust -
pub struct AsciiTextStruct {
+    
pub struct AsciiTextStruct {
     pub ascii_message: String,
 }
Expand description

A message for transmitting text data.

Fields§

§ascii_message: String

ASCII text message. (not necessarily NULL terminated)

-

Trait Implementations§

source§

impl Clone for AsciiTextStruct

source§

fn clone(&self) -> AsciiTextStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AsciiTextStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AsciiTextStruct

source§

fn default() -> AsciiTextStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AsciiTextStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AsciiTextStruct

source§

fn id() -> u16

source§

impl PartialEq for AsciiTextStruct

source§

fn eq(&self, other: &AsciiTextStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AsciiTextStruct

source§

fn clone(&self) -> AsciiTextStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AsciiTextStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AsciiTextStruct

source§

fn default() -> AsciiTextStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AsciiTextStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AsciiTextStruct

source§

fn id() -> u16

source§

impl PartialEq for AsciiTextStruct

source§

fn eq(&self, other: &AsciiTextStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for AsciiTextStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AsciiTextStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for AsciiTextStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AsciiTextStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/common/struct.GeneralRequestStruct.html b/ping_rs/common/struct.GeneralRequestStruct.html index 9f62a211f..b38e8de11 100644 --- a/ping_rs/common/struct.GeneralRequestStruct.html +++ b/ping_rs/common/struct.GeneralRequestStruct.html @@ -1,11 +1,11 @@ GeneralRequestStruct in ping_rs::common - Rust -
pub struct GeneralRequestStruct {
+    
pub struct GeneralRequestStruct {
     pub requested_id: u16,
 }
Expand description

Requests a specific message to be sent from the sonar to the host. Command timeout should be set to 50 msec.

Fields§

§requested_id: u16

Message ID to be requested.

-

Trait Implementations§

source§

impl Clone for GeneralRequestStruct

source§

fn clone(&self) -> GeneralRequestStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeneralRequestStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GeneralRequestStruct

source§

fn default() -> GeneralRequestStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GeneralRequestStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GeneralRequestStruct

source§

fn id() -> u16

source§

impl PartialEq for GeneralRequestStruct

source§

fn eq(&self, other: &GeneralRequestStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for GeneralRequestStruct

source§

fn clone(&self) -> GeneralRequestStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeneralRequestStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GeneralRequestStruct

source§

fn default() -> GeneralRequestStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GeneralRequestStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GeneralRequestStruct

source§

fn id() -> u16

source§

impl PartialEq for GeneralRequestStruct

source§

fn eq(&self, other: &GeneralRequestStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for GeneralRequestStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GeneralRequestStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for GeneralRequestStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GeneralRequestStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/common/struct.NackStruct.html b/ping_rs/common/struct.NackStruct.html index 890e39e3d..7afad2609 100644 --- a/ping_rs/common/struct.NackStruct.html +++ b/ping_rs/common/struct.NackStruct.html @@ -1,13 +1,13 @@ NackStruct in ping_rs::common - Rust -

Struct ping_rs::common::NackStruct

source ·
pub struct NackStruct {
+    

Struct ping_rs::common::NackStruct

source ·
pub struct NackStruct {
     pub nacked_id: u16,
     pub nack_message: String,
 }
Expand description

Not acknowledged.

Fields§

§nacked_id: u16

The message ID that is Not ACKnowledged.

§nack_message: String

ASCII text message indicating NACK condition. (not necessarily NULL terminated)

-

Trait Implementations§

source§

impl Clone for NackStruct

source§

fn clone(&self) -> NackStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NackStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for NackStruct

source§

fn default() -> NackStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for NackStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for NackStruct

source§

fn id() -> u16

source§

impl PartialEq for NackStruct

source§

fn eq(&self, other: &NackStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for NackStruct

source§

fn clone(&self) -> NackStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for NackStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for NackStruct

source§

fn default() -> NackStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for NackStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for NackStruct

source§

fn id() -> u16

source§

impl PartialEq for NackStruct

source§

fn eq(&self, other: &NackStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for NackStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for NackStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for NackStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for NackStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/common/struct.ProtocolVersionStruct.html b/ping_rs/common/struct.ProtocolVersionStruct.html index 70b33f138..2379d49d0 100644 --- a/ping_rs/common/struct.ProtocolVersionStruct.html +++ b/ping_rs/common/struct.ProtocolVersionStruct.html @@ -1,5 +1,5 @@ ProtocolVersionStruct in ping_rs::common - Rust -
pub struct ProtocolVersionStruct {
+    
pub struct ProtocolVersionStruct {
     pub version_major: u8,
     pub version_minor: u8,
     pub version_patch: u8,
@@ -9,9 +9,9 @@
 
§version_minor: u8

Protocol version minor number.

§version_patch: u8

Protocol version patch number.

§reserved: u8

reserved

-

Trait Implementations§

source§

impl Clone for ProtocolVersionStruct

source§

fn clone(&self) -> ProtocolVersionStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProtocolVersionStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProtocolVersionStruct

source§

fn default() -> ProtocolVersionStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ProtocolVersionStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ProtocolVersionStruct

source§

fn id() -> u16

source§

impl PartialEq for ProtocolVersionStruct

source§

fn eq(&self, other: &ProtocolVersionStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ProtocolVersionStruct

source§

fn clone(&self) -> ProtocolVersionStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProtocolVersionStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProtocolVersionStruct

source§

fn default() -> ProtocolVersionStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ProtocolVersionStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ProtocolVersionStruct

source§

fn id() -> u16

source§

impl PartialEq for ProtocolVersionStruct

source§

fn eq(&self, other: &ProtocolVersionStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ProtocolVersionStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ProtocolVersionStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ProtocolVersionStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ProtocolVersionStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/common/struct.SetDeviceIdStruct.html b/ping_rs/common/struct.SetDeviceIdStruct.html index 951a44b70..f0365d846 100644 --- a/ping_rs/common/struct.SetDeviceIdStruct.html +++ b/ping_rs/common/struct.SetDeviceIdStruct.html @@ -1,11 +1,11 @@ SetDeviceIdStruct in ping_rs::common - Rust -
pub struct SetDeviceIdStruct {
+    
pub struct SetDeviceIdStruct {
     pub device_id: u8,
 }
Expand description

Set the device ID.

Fields§

§device_id: u8

Device ID (1-254). 0 is unknown and 255 is reserved for broadcast messages.

-

Trait Implementations§

source§

impl Clone for SetDeviceIdStruct

source§

fn clone(&self) -> SetDeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetDeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetDeviceIdStruct

source§

fn default() -> SetDeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetDeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetDeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for SetDeviceIdStruct

source§

fn eq(&self, other: &SetDeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetDeviceIdStruct

source§

fn clone(&self) -> SetDeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetDeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetDeviceIdStruct

source§

fn default() -> SetDeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetDeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetDeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for SetDeviceIdStruct

source§

fn eq(&self, other: &SetDeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetDeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetDeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetDeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetDeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/message/trait.DeserializePayload.html b/ping_rs/message/trait.DeserializePayload.html index 814b8d9ef..6910b95ce 100644 --- a/ping_rs/message/trait.DeserializePayload.html +++ b/ping_rs/message/trait.DeserializePayload.html @@ -2,4 +2,4 @@
pub trait DeserializePayload {
     // Required method
     fn deserialize(payload: &[u8]) -> Self;
-}

Required Methods§

source

fn deserialize(payload: &[u8]) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl DeserializePayload for CellTimeoutStruct

source§

impl DeserializePayload for CellVoltageMinStruct

source§

impl DeserializePayload for CurrentMaxStruct

source§

impl DeserializePayload for CurrentTimeoutStruct

source§

impl DeserializePayload for EraseFlashStruct

source§

impl DeserializePayload for EventsStruct

source§

impl DeserializePayload for RebootStruct

source§

impl DeserializePayload for ResetDefaultsStruct

source§

impl DeserializePayload for SetCellVoltageMinimumStruct

source§

impl DeserializePayload for SetCellVoltageTimeoutStruct

source§

impl DeserializePayload for SetCurrentMaxStruct

source§

impl DeserializePayload for SetCurrentTimeoutStruct

source§

impl DeserializePayload for SetLpfSampleFrequencyStruct

source§

impl DeserializePayload for SetLpfSettingStruct

source§

impl DeserializePayload for SetStreamRateStruct

source§

impl DeserializePayload for SetTemperatureMaxStruct

source§

impl DeserializePayload for SetTemperatureTimeoutStruct

source§

impl DeserializePayload for StateStruct

source§

impl DeserializePayload for TemperatureMaxStruct

source§

impl DeserializePayload for TemperatureTimeoutStruct

source§

impl DeserializePayload for AckStruct

source§

impl DeserializePayload for AsciiTextStruct

source§

impl DeserializePayload for DeviceInformationStruct

source§

impl DeserializePayload for GeneralRequestStruct

source§

impl DeserializePayload for NackStruct

source§

impl DeserializePayload for ProtocolVersionStruct

source§

impl DeserializePayload for ping_rs::common::SetDeviceIdStruct

source§

impl DeserializePayload for ContinuousStartStruct

source§

impl DeserializePayload for ContinuousStopStruct

source§

impl DeserializePayload for ping_rs::ping1d::DeviceIdStruct

source§

impl DeserializePayload for DistanceSimpleStruct

source§

impl DeserializePayload for DistanceStruct

source§

impl DeserializePayload for FirmwareVersionStruct

source§

impl DeserializePayload for GainSettingStruct

source§

impl DeserializePayload for GeneralInfoStruct

source§

impl DeserializePayload for GotoBootloaderStruct

source§

impl DeserializePayload for ModeAutoStruct

source§

impl DeserializePayload for PcbTemperatureStruct

source§

impl DeserializePayload for PingEnableStruct

source§

impl DeserializePayload for PingIntervalStruct

source§

impl DeserializePayload for ProcessorTemperatureStruct

source§

impl DeserializePayload for ProfileStruct

source§

impl DeserializePayload for RangeStruct

source§

impl DeserializePayload for ping_rs::ping1d::SetDeviceIdStruct

source§

impl DeserializePayload for SetGainSettingStruct

source§

impl DeserializePayload for SetModeAutoStruct

source§

impl DeserializePayload for SetPingEnableStruct

source§

impl DeserializePayload for SetPingIntervalStruct

source§

impl DeserializePayload for SetRangeStruct

source§

impl DeserializePayload for SetSpeedOfSoundStruct

source§

impl DeserializePayload for SpeedOfSoundStruct

source§

impl DeserializePayload for TransmitDurationStruct

source§

impl DeserializePayload for Voltage5Struct

source§

impl DeserializePayload for AutoDeviceDataStruct

source§

impl DeserializePayload for AutoTransmitStruct

source§

impl DeserializePayload for DeviceDataStruct

source§

impl DeserializePayload for ping_rs::ping360::DeviceIdStruct

source§

impl DeserializePayload for MotorOffStruct

source§

impl DeserializePayload for ResetStruct

source§

impl DeserializePayload for TransducerStruct

\ No newline at end of file +}

Required Methods§

source

fn deserialize(payload: &[u8]) -> Self

Object Safety§

This trait is not object safe.

Implementors§

source§

impl DeserializePayload for CellTimeoutStruct

source§

impl DeserializePayload for CellVoltageMinStruct

source§

impl DeserializePayload for CurrentMaxStruct

source§

impl DeserializePayload for CurrentTimeoutStruct

source§

impl DeserializePayload for EraseFlashStruct

source§

impl DeserializePayload for EventsStruct

source§

impl DeserializePayload for RebootStruct

source§

impl DeserializePayload for ResetDefaultsStruct

source§

impl DeserializePayload for SetCellVoltageMinimumStruct

source§

impl DeserializePayload for SetCellVoltageTimeoutStruct

source§

impl DeserializePayload for SetCurrentMaxStruct

source§

impl DeserializePayload for SetCurrentTimeoutStruct

source§

impl DeserializePayload for SetLpfSampleFrequencyStruct

source§

impl DeserializePayload for SetLpfSettingStruct

source§

impl DeserializePayload for SetStreamRateStruct

source§

impl DeserializePayload for SetTemperatureMaxStruct

source§

impl DeserializePayload for SetTemperatureTimeoutStruct

source§

impl DeserializePayload for StateStruct

source§

impl DeserializePayload for TemperatureMaxStruct

source§

impl DeserializePayload for TemperatureTimeoutStruct

source§

impl DeserializePayload for AckStruct

source§

impl DeserializePayload for AsciiTextStruct

source§

impl DeserializePayload for DeviceInformationStruct

source§

impl DeserializePayload for GeneralRequestStruct

source§

impl DeserializePayload for NackStruct

source§

impl DeserializePayload for ProtocolVersionStruct

source§

impl DeserializePayload for ping_rs::common::SetDeviceIdStruct

source§

impl DeserializePayload for ContinuousStartStruct

source§

impl DeserializePayload for ContinuousStopStruct

source§

impl DeserializePayload for ping_rs::ping1d::DeviceIdStruct

source§

impl DeserializePayload for DistanceSimpleStruct

source§

impl DeserializePayload for DistanceStruct

source§

impl DeserializePayload for FirmwareVersionStruct

source§

impl DeserializePayload for GainSettingStruct

source§

impl DeserializePayload for GeneralInfoStruct

source§

impl DeserializePayload for GotoBootloaderStruct

source§

impl DeserializePayload for ModeAutoStruct

source§

impl DeserializePayload for PcbTemperatureStruct

source§

impl DeserializePayload for PingEnableStruct

source§

impl DeserializePayload for PingIntervalStruct

source§

impl DeserializePayload for ProcessorTemperatureStruct

source§

impl DeserializePayload for ProfileStruct

source§

impl DeserializePayload for RangeStruct

source§

impl DeserializePayload for ping_rs::ping1d::SetDeviceIdStruct

source§

impl DeserializePayload for SetGainSettingStruct

source§

impl DeserializePayload for SetModeAutoStruct

source§

impl DeserializePayload for SetPingEnableStruct

source§

impl DeserializePayload for SetPingIntervalStruct

source§

impl DeserializePayload for SetRangeStruct

source§

impl DeserializePayload for SetSpeedOfSoundStruct

source§

impl DeserializePayload for SpeedOfSoundStruct

source§

impl DeserializePayload for TransmitDurationStruct

source§

impl DeserializePayload for Voltage5Struct

source§

impl DeserializePayload for AutoDeviceDataStruct

source§

impl DeserializePayload for AutoTransmitStruct

source§

impl DeserializePayload for DeviceDataStruct

source§

impl DeserializePayload for ping_rs::ping360::DeviceIdStruct

source§

impl DeserializePayload for MotorOffStruct

source§

impl DeserializePayload for ResetStruct

source§

impl DeserializePayload for TransducerStruct

\ No newline at end of file diff --git a/ping_rs/message/trait.MessageInfo.html b/ping_rs/message/trait.MessageInfo.html index fe5991fb6..7ad4cb9d7 100644 --- a/ping_rs/message/trait.MessageInfo.html +++ b/ping_rs/message/trait.MessageInfo.html @@ -2,4 +2,4 @@
pub trait MessageInfo {
     // Required method
     fn id() -> u16;
-}

Required Methods§

source

fn id() -> u16

Object Safety§

This trait is not object safe.

Implementors§

source§

impl MessageInfo for CellTimeoutStruct

source§

impl MessageInfo for CellVoltageMinStruct

source§

impl MessageInfo for CurrentMaxStruct

source§

impl MessageInfo for CurrentTimeoutStruct

source§

impl MessageInfo for EraseFlashStruct

source§

impl MessageInfo for EventsStruct

source§

impl MessageInfo for RebootStruct

source§

impl MessageInfo for ResetDefaultsStruct

source§

impl MessageInfo for SetCellVoltageMinimumStruct

source§

impl MessageInfo for SetCellVoltageTimeoutStruct

source§

impl MessageInfo for SetCurrentMaxStruct

source§

impl MessageInfo for SetCurrentTimeoutStruct

source§

impl MessageInfo for SetLpfSampleFrequencyStruct

source§

impl MessageInfo for SetLpfSettingStruct

source§

impl MessageInfo for SetStreamRateStruct

source§

impl MessageInfo for SetTemperatureMaxStruct

source§

impl MessageInfo for SetTemperatureTimeoutStruct

source§

impl MessageInfo for StateStruct

source§

impl MessageInfo for TemperatureMaxStruct

source§

impl MessageInfo for TemperatureTimeoutStruct

source§

impl MessageInfo for AckStruct

source§

impl MessageInfo for AsciiTextStruct

source§

impl MessageInfo for DeviceInformationStruct

source§

impl MessageInfo for GeneralRequestStruct

source§

impl MessageInfo for NackStruct

source§

impl MessageInfo for ProtocolVersionStruct

source§

impl MessageInfo for ping_rs::common::SetDeviceIdStruct

source§

impl MessageInfo for ContinuousStartStruct

source§

impl MessageInfo for ContinuousStopStruct

source§

impl MessageInfo for ping_rs::ping1d::DeviceIdStruct

source§

impl MessageInfo for DistanceSimpleStruct

source§

impl MessageInfo for DistanceStruct

source§

impl MessageInfo for FirmwareVersionStruct

source§

impl MessageInfo for GainSettingStruct

source§

impl MessageInfo for GeneralInfoStruct

source§

impl MessageInfo for GotoBootloaderStruct

source§

impl MessageInfo for ModeAutoStruct

source§

impl MessageInfo for PcbTemperatureStruct

source§

impl MessageInfo for PingEnableStruct

source§

impl MessageInfo for PingIntervalStruct

source§

impl MessageInfo for ProcessorTemperatureStruct

source§

impl MessageInfo for ProfileStruct

source§

impl MessageInfo for RangeStruct

source§

impl MessageInfo for ping_rs::ping1d::SetDeviceIdStruct

source§

impl MessageInfo for SetGainSettingStruct

source§

impl MessageInfo for SetModeAutoStruct

source§

impl MessageInfo for SetPingEnableStruct

source§

impl MessageInfo for SetPingIntervalStruct

source§

impl MessageInfo for SetRangeStruct

source§

impl MessageInfo for SetSpeedOfSoundStruct

source§

impl MessageInfo for SpeedOfSoundStruct

source§

impl MessageInfo for TransmitDurationStruct

source§

impl MessageInfo for Voltage5Struct

source§

impl MessageInfo for AutoDeviceDataStruct

source§

impl MessageInfo for AutoTransmitStruct

source§

impl MessageInfo for DeviceDataStruct

source§

impl MessageInfo for ping_rs::ping360::DeviceIdStruct

source§

impl MessageInfo for MotorOffStruct

source§

impl MessageInfo for ResetStruct

source§

impl MessageInfo for TransducerStruct

\ No newline at end of file +}

Required Methods§

source

fn id() -> u16

Object Safety§

This trait is not object safe.

Implementors§

source§

impl MessageInfo for CellTimeoutStruct

source§

impl MessageInfo for CellVoltageMinStruct

source§

impl MessageInfo for CurrentMaxStruct

source§

impl MessageInfo for CurrentTimeoutStruct

source§

impl MessageInfo for EraseFlashStruct

source§

impl MessageInfo for EventsStruct

source§

impl MessageInfo for RebootStruct

source§

impl MessageInfo for ResetDefaultsStruct

source§

impl MessageInfo for SetCellVoltageMinimumStruct

source§

impl MessageInfo for SetCellVoltageTimeoutStruct

source§

impl MessageInfo for SetCurrentMaxStruct

source§

impl MessageInfo for SetCurrentTimeoutStruct

source§

impl MessageInfo for SetLpfSampleFrequencyStruct

source§

impl MessageInfo for SetLpfSettingStruct

source§

impl MessageInfo for SetStreamRateStruct

source§

impl MessageInfo for SetTemperatureMaxStruct

source§

impl MessageInfo for SetTemperatureTimeoutStruct

source§

impl MessageInfo for StateStruct

source§

impl MessageInfo for TemperatureMaxStruct

source§

impl MessageInfo for TemperatureTimeoutStruct

source§

impl MessageInfo for AckStruct

source§

impl MessageInfo for AsciiTextStruct

source§

impl MessageInfo for DeviceInformationStruct

source§

impl MessageInfo for GeneralRequestStruct

source§

impl MessageInfo for NackStruct

source§

impl MessageInfo for ProtocolVersionStruct

source§

impl MessageInfo for ping_rs::common::SetDeviceIdStruct

source§

impl MessageInfo for ContinuousStartStruct

source§

impl MessageInfo for ContinuousStopStruct

source§

impl MessageInfo for ping_rs::ping1d::DeviceIdStruct

source§

impl MessageInfo for DistanceSimpleStruct

source§

impl MessageInfo for DistanceStruct

source§

impl MessageInfo for FirmwareVersionStruct

source§

impl MessageInfo for GainSettingStruct

source§

impl MessageInfo for GeneralInfoStruct

source§

impl MessageInfo for GotoBootloaderStruct

source§

impl MessageInfo for ModeAutoStruct

source§

impl MessageInfo for PcbTemperatureStruct

source§

impl MessageInfo for PingEnableStruct

source§

impl MessageInfo for PingIntervalStruct

source§

impl MessageInfo for ProcessorTemperatureStruct

source§

impl MessageInfo for ProfileStruct

source§

impl MessageInfo for RangeStruct

source§

impl MessageInfo for ping_rs::ping1d::SetDeviceIdStruct

source§

impl MessageInfo for SetGainSettingStruct

source§

impl MessageInfo for SetModeAutoStruct

source§

impl MessageInfo for SetPingEnableStruct

source§

impl MessageInfo for SetPingIntervalStruct

source§

impl MessageInfo for SetRangeStruct

source§

impl MessageInfo for SetSpeedOfSoundStruct

source§

impl MessageInfo for SpeedOfSoundStruct

source§

impl MessageInfo for TransmitDurationStruct

source§

impl MessageInfo for Voltage5Struct

source§

impl MessageInfo for AutoDeviceDataStruct

source§

impl MessageInfo for AutoTransmitStruct

source§

impl MessageInfo for DeviceDataStruct

source§

impl MessageInfo for ping_rs::ping360::DeviceIdStruct

source§

impl MessageInfo for MotorOffStruct

source§

impl MessageInfo for ResetStruct

source§

impl MessageInfo for TransducerStruct

\ No newline at end of file diff --git a/ping_rs/message/trait.SerializePayload.html b/ping_rs/message/trait.SerializePayload.html index 983286098..28430268f 100644 --- a/ping_rs/message/trait.SerializePayload.html +++ b/ping_rs/message/trait.SerializePayload.html @@ -2,4 +2,4 @@
pub trait SerializePayload {
     // Required method
     fn serialize(&self) -> Vec<u8>;
-}

Required Methods§

source

fn serialize(&self) -> Vec<u8>

Implementors§

source§

impl SerializePayload for ping_rs::bluebps::Messages

source§

impl SerializePayload for ping_rs::common::Messages

source§

impl SerializePayload for ping_rs::ping1d::Messages

source§

impl SerializePayload for ping_rs::ping360::Messages

source§

impl SerializePayload for CellTimeoutStruct

source§

impl SerializePayload for CellVoltageMinStruct

source§

impl SerializePayload for CurrentMaxStruct

source§

impl SerializePayload for CurrentTimeoutStruct

source§

impl SerializePayload for EraseFlashStruct

source§

impl SerializePayload for EventsStruct

source§

impl SerializePayload for RebootStruct

source§

impl SerializePayload for ResetDefaultsStruct

source§

impl SerializePayload for SetCellVoltageMinimumStruct

source§

impl SerializePayload for SetCellVoltageTimeoutStruct

source§

impl SerializePayload for SetCurrentMaxStruct

source§

impl SerializePayload for SetCurrentTimeoutStruct

source§

impl SerializePayload for SetLpfSampleFrequencyStruct

source§

impl SerializePayload for SetLpfSettingStruct

source§

impl SerializePayload for SetStreamRateStruct

source§

impl SerializePayload for SetTemperatureMaxStruct

source§

impl SerializePayload for SetTemperatureTimeoutStruct

source§

impl SerializePayload for StateStruct

source§

impl SerializePayload for TemperatureMaxStruct

source§

impl SerializePayload for TemperatureTimeoutStruct

source§

impl SerializePayload for AckStruct

source§

impl SerializePayload for AsciiTextStruct

source§

impl SerializePayload for DeviceInformationStruct

source§

impl SerializePayload for GeneralRequestStruct

source§

impl SerializePayload for NackStruct

source§

impl SerializePayload for ProtocolVersionStruct

source§

impl SerializePayload for ping_rs::common::SetDeviceIdStruct

source§

impl SerializePayload for ContinuousStartStruct

source§

impl SerializePayload for ContinuousStopStruct

source§

impl SerializePayload for ping_rs::ping1d::DeviceIdStruct

source§

impl SerializePayload for DistanceSimpleStruct

source§

impl SerializePayload for DistanceStruct

source§

impl SerializePayload for FirmwareVersionStruct

source§

impl SerializePayload for GainSettingStruct

source§

impl SerializePayload for GeneralInfoStruct

source§

impl SerializePayload for GotoBootloaderStruct

source§

impl SerializePayload for ModeAutoStruct

source§

impl SerializePayload for PcbTemperatureStruct

source§

impl SerializePayload for PingEnableStruct

source§

impl SerializePayload for PingIntervalStruct

source§

impl SerializePayload for ProcessorTemperatureStruct

source§

impl SerializePayload for ProfileStruct

source§

impl SerializePayload for RangeStruct

source§

impl SerializePayload for ping_rs::ping1d::SetDeviceIdStruct

source§

impl SerializePayload for SetGainSettingStruct

source§

impl SerializePayload for SetModeAutoStruct

source§

impl SerializePayload for SetPingEnableStruct

source§

impl SerializePayload for SetPingIntervalStruct

source§

impl SerializePayload for SetRangeStruct

source§

impl SerializePayload for SetSpeedOfSoundStruct

source§

impl SerializePayload for SpeedOfSoundStruct

source§

impl SerializePayload for TransmitDurationStruct

source§

impl SerializePayload for Voltage5Struct

source§

impl SerializePayload for AutoDeviceDataStruct

source§

impl SerializePayload for AutoTransmitStruct

source§

impl SerializePayload for DeviceDataStruct

source§

impl SerializePayload for ping_rs::ping360::DeviceIdStruct

source§

impl SerializePayload for MotorOffStruct

source§

impl SerializePayload for ResetStruct

source§

impl SerializePayload for TransducerStruct

\ No newline at end of file +}

Required Methods§

source

fn serialize(&self) -> Vec<u8>

Implementors§

source§

impl SerializePayload for ping_rs::bluebps::Messages

source§

impl SerializePayload for ping_rs::common::Messages

source§

impl SerializePayload for ping_rs::ping1d::Messages

source§

impl SerializePayload for ping_rs::ping360::Messages

source§

impl SerializePayload for CellTimeoutStruct

source§

impl SerializePayload for CellVoltageMinStruct

source§

impl SerializePayload for CurrentMaxStruct

source§

impl SerializePayload for CurrentTimeoutStruct

source§

impl SerializePayload for EraseFlashStruct

source§

impl SerializePayload for EventsStruct

source§

impl SerializePayload for RebootStruct

source§

impl SerializePayload for ResetDefaultsStruct

source§

impl SerializePayload for SetCellVoltageMinimumStruct

source§

impl SerializePayload for SetCellVoltageTimeoutStruct

source§

impl SerializePayload for SetCurrentMaxStruct

source§

impl SerializePayload for SetCurrentTimeoutStruct

source§

impl SerializePayload for SetLpfSampleFrequencyStruct

source§

impl SerializePayload for SetLpfSettingStruct

source§

impl SerializePayload for SetStreamRateStruct

source§

impl SerializePayload for SetTemperatureMaxStruct

source§

impl SerializePayload for SetTemperatureTimeoutStruct

source§

impl SerializePayload for StateStruct

source§

impl SerializePayload for TemperatureMaxStruct

source§

impl SerializePayload for TemperatureTimeoutStruct

source§

impl SerializePayload for AckStruct

source§

impl SerializePayload for AsciiTextStruct

source§

impl SerializePayload for DeviceInformationStruct

source§

impl SerializePayload for GeneralRequestStruct

source§

impl SerializePayload for NackStruct

source§

impl SerializePayload for ProtocolVersionStruct

source§

impl SerializePayload for ping_rs::common::SetDeviceIdStruct

source§

impl SerializePayload for ContinuousStartStruct

source§

impl SerializePayload for ContinuousStopStruct

source§

impl SerializePayload for ping_rs::ping1d::DeviceIdStruct

source§

impl SerializePayload for DistanceSimpleStruct

source§

impl SerializePayload for DistanceStruct

source§

impl SerializePayload for FirmwareVersionStruct

source§

impl SerializePayload for GainSettingStruct

source§

impl SerializePayload for GeneralInfoStruct

source§

impl SerializePayload for GotoBootloaderStruct

source§

impl SerializePayload for ModeAutoStruct

source§

impl SerializePayload for PcbTemperatureStruct

source§

impl SerializePayload for PingEnableStruct

source§

impl SerializePayload for PingIntervalStruct

source§

impl SerializePayload for ProcessorTemperatureStruct

source§

impl SerializePayload for ProfileStruct

source§

impl SerializePayload for RangeStruct

source§

impl SerializePayload for ping_rs::ping1d::SetDeviceIdStruct

source§

impl SerializePayload for SetGainSettingStruct

source§

impl SerializePayload for SetModeAutoStruct

source§

impl SerializePayload for SetPingEnableStruct

source§

impl SerializePayload for SetPingIntervalStruct

source§

impl SerializePayload for SetRangeStruct

source§

impl SerializePayload for SetSpeedOfSoundStruct

source§

impl SerializePayload for SpeedOfSoundStruct

source§

impl SerializePayload for TransmitDurationStruct

source§

impl SerializePayload for Voltage5Struct

source§

impl SerializePayload for AutoDeviceDataStruct

source§

impl SerializePayload for AutoTransmitStruct

source§

impl SerializePayload for DeviceDataStruct

source§

impl SerializePayload for ping_rs::ping360::DeviceIdStruct

source§

impl SerializePayload for MotorOffStruct

source§

impl SerializePayload for ResetStruct

source§

impl SerializePayload for TransducerStruct

\ No newline at end of file diff --git a/ping_rs/ping1d/enum.Messages.html b/ping_rs/ping1d/enum.Messages.html index bf6eb6ec9..625684967 100644 --- a/ping_rs/ping1d/enum.Messages.html +++ b/ping_rs/ping1d/enum.Messages.html @@ -1,32 +1,32 @@ Messages in ping_rs::ping1d - Rust

Enum ping_rs::ping1d::Messages

source ·
pub enum Messages {
-
Show 26 variants Distance(DistanceStruct), - DeviceId(DeviceIdStruct), - PcbTemperature(PcbTemperatureStruct), - GainSetting(GainSettingStruct), - ContinuousStop(ContinuousStopStruct), - SetSpeedOfSound(SetSpeedOfSoundStruct), - Profile(ProfileStruct), - GeneralInfo(GeneralInfoStruct), +
Show 26 variants SpeedOfSound(SpeedOfSoundStruct), + GotoBootloader(GotoBootloaderStruct), + TransmitDuration(TransmitDurationStruct), + ContinuousStart(ContinuousStartStruct), ModeAuto(ModeAutoStruct), - SetDeviceId(SetDeviceIdStruct), - SetGainSetting(SetGainSettingStruct), - ProcessorTemperature(ProcessorTemperatureStruct), + PingEnable(PingEnableStruct), SetRange(SetRangeStruct), - GotoBootloader(GotoBootloaderStruct), + Profile(ProfileStruct), + SetSpeedOfSound(SetSpeedOfSoundStruct), + Range(RangeStruct), + ProcessorTemperature(ProcessorTemperatureStruct), + SetPingEnable(SetPingEnableStruct), + SetPingInterval(SetPingIntervalStruct), + SetDeviceId(SetDeviceIdStruct), + GainSetting(GainSettingStruct), DistanceSimple(DistanceSimpleStruct), + PcbTemperature(PcbTemperatureStruct), SetModeAuto(SetModeAutoStruct), - SpeedOfSound(SpeedOfSoundStruct), - ContinuousStart(ContinuousStartStruct), - TransmitDuration(TransmitDurationStruct), + SetGainSetting(SetGainSettingStruct), + FirmwareVersion(FirmwareVersionStruct), + GeneralInfo(GeneralInfoStruct), + ContinuousStop(ContinuousStopStruct), + DeviceId(DeviceIdStruct), PingInterval(PingIntervalStruct), - PingEnable(PingEnableStruct), - SetPingInterval(SetPingIntervalStruct), Voltage5(Voltage5Struct), - FirmwareVersion(FirmwareVersionStruct), - Range(RangeStruct), - SetPingEnable(SetPingEnableStruct), -
}

Variants§

§

Distance(DistanceStruct)

§

DeviceId(DeviceIdStruct)

§

PcbTemperature(PcbTemperatureStruct)

§

GainSetting(GainSettingStruct)

§

ContinuousStop(ContinuousStopStruct)

§

SetSpeedOfSound(SetSpeedOfSoundStruct)

§

Profile(ProfileStruct)

§

GeneralInfo(GeneralInfoStruct)

§

ModeAuto(ModeAutoStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

SetGainSetting(SetGainSettingStruct)

§

ProcessorTemperature(ProcessorTemperatureStruct)

§

SetRange(SetRangeStruct)

§

GotoBootloader(GotoBootloaderStruct)

§

DistanceSimple(DistanceSimpleStruct)

§

SetModeAuto(SetModeAutoStruct)

§

SpeedOfSound(SpeedOfSoundStruct)

§

ContinuousStart(ContinuousStartStruct)

§

TransmitDuration(TransmitDurationStruct)

§

PingInterval(PingIntervalStruct)

§

PingEnable(PingEnableStruct)

§

SetPingInterval(SetPingIntervalStruct)

§

Voltage5(Voltage5Struct)

§

FirmwareVersion(FirmwareVersionStruct)

§

Range(RangeStruct)

§

SetPingEnable(SetPingEnableStruct)

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used + Distance(DistanceStruct), +
}

Variants§

§

SpeedOfSound(SpeedOfSoundStruct)

§

GotoBootloader(GotoBootloaderStruct)

§

TransmitDuration(TransmitDurationStruct)

§

ContinuousStart(ContinuousStartStruct)

§

ModeAuto(ModeAutoStruct)

§

PingEnable(PingEnableStruct)

§

SetRange(SetRangeStruct)

§

Profile(ProfileStruct)

§

SetSpeedOfSound(SetSpeedOfSoundStruct)

§

Range(RangeStruct)

§

ProcessorTemperature(ProcessorTemperatureStruct)

§

SetPingEnable(SetPingEnableStruct)

§

SetPingInterval(SetPingIntervalStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

GainSetting(GainSettingStruct)

§

DistanceSimple(DistanceSimpleStruct)

§

PcbTemperature(PcbTemperatureStruct)

§

SetModeAuto(SetModeAutoStruct)

§

SetGainSetting(SetGainSettingStruct)

§

FirmwareVersion(FirmwareVersionStruct)

§

GeneralInfo(GeneralInfoStruct)

§

ContinuousStop(ContinuousStopStruct)

§

DeviceId(DeviceIdStruct)

§

PingInterval(PingIntervalStruct)

§

Voltage5(Voltage5Struct)

§

Distance(DistanceStruct)

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PingMessage for Messages

source§

impl SerializePayload for Messages

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for Messages

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/ping_rs/ping1d/struct.ContinuousStartStruct.html b/ping_rs/ping1d/struct.ContinuousStartStruct.html index d29cbdf0b..03eeb9976 100644 --- a/ping_rs/ping1d/struct.ContinuousStartStruct.html +++ b/ping_rs/ping1d/struct.ContinuousStartStruct.html @@ -1,11 +1,11 @@ ContinuousStartStruct in ping_rs::ping1d - Rust -
pub struct ContinuousStartStruct {
+    
pub struct ContinuousStartStruct {
     pub id: u16,
 }
Expand description

Command to initiate continuous data stream of profile messages.

Fields§

§id: u16

The message id to stream. 1300: profile

-

Trait Implementations§

source§

impl Clone for ContinuousStartStruct

source§

fn clone(&self) -> ContinuousStartStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ContinuousStartStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ContinuousStartStruct

source§

fn default() -> ContinuousStartStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ContinuousStartStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ContinuousStartStruct

source§

fn id() -> u16

source§

impl PartialEq for ContinuousStartStruct

source§

fn eq(&self, other: &ContinuousStartStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ContinuousStartStruct

source§

fn clone(&self) -> ContinuousStartStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ContinuousStartStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ContinuousStartStruct

source§

fn default() -> ContinuousStartStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ContinuousStartStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ContinuousStartStruct

source§

fn id() -> u16

source§

impl PartialEq for ContinuousStartStruct

source§

fn eq(&self, other: &ContinuousStartStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ContinuousStartStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ContinuousStartStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ContinuousStartStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ContinuousStartStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.ContinuousStopStruct.html b/ping_rs/ping1d/struct.ContinuousStopStruct.html index 19c6d2cf9..f7fe90b93 100644 --- a/ping_rs/ping1d/struct.ContinuousStopStruct.html +++ b/ping_rs/ping1d/struct.ContinuousStopStruct.html @@ -1,11 +1,11 @@ ContinuousStopStruct in ping_rs::ping1d - Rust -
pub struct ContinuousStopStruct {
+    
pub struct ContinuousStopStruct {
     pub id: u16,
 }
Expand description

Command to stop the continuous data stream of profile messages.

Fields§

§id: u16

The message id to stop streaming. 1300: profile

-

Trait Implementations§

source§

impl Clone for ContinuousStopStruct

source§

fn clone(&self) -> ContinuousStopStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ContinuousStopStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ContinuousStopStruct

source§

fn default() -> ContinuousStopStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ContinuousStopStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ContinuousStopStruct

source§

fn id() -> u16

source§

impl PartialEq for ContinuousStopStruct

source§

fn eq(&self, other: &ContinuousStopStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ContinuousStopStruct

source§

fn clone(&self) -> ContinuousStopStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ContinuousStopStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ContinuousStopStruct

source§

fn default() -> ContinuousStopStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ContinuousStopStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ContinuousStopStruct

source§

fn id() -> u16

source§

impl PartialEq for ContinuousStopStruct

source§

fn eq(&self, other: &ContinuousStopStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ContinuousStopStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ContinuousStopStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ContinuousStopStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ContinuousStopStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.DeviceIdStruct.html b/ping_rs/ping1d/struct.DeviceIdStruct.html index 0691f0d09..40a7aea09 100644 --- a/ping_rs/ping1d/struct.DeviceIdStruct.html +++ b/ping_rs/ping1d/struct.DeviceIdStruct.html @@ -1,11 +1,11 @@ DeviceIdStruct in ping_rs::ping1d - Rust -
pub struct DeviceIdStruct {
+    
pub struct DeviceIdStruct {
     pub device_id: u8,
 }
Expand description

The device ID.

Fields§

§device_id: u8

The device ID (0-254). 255 is reserved for broadcast messages.

-

Trait Implementations§

source§

impl Clone for DeviceIdStruct

source§

fn clone(&self) -> DeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DeviceIdStruct

source§

fn default() -> DeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for DeviceIdStruct

source§

fn eq(&self, other: &DeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DeviceIdStruct

source§

fn clone(&self) -> DeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DeviceIdStruct

source§

fn default() -> DeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for DeviceIdStruct

source§

fn eq(&self, other: &DeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for DeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for DeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.DistanceSimpleStruct.html b/ping_rs/ping1d/struct.DistanceSimpleStruct.html index 7085985f0..b72001fad 100644 --- a/ping_rs/ping1d/struct.DistanceSimpleStruct.html +++ b/ping_rs/ping1d/struct.DistanceSimpleStruct.html @@ -1,13 +1,13 @@ DistanceSimpleStruct in ping_rs::ping1d - Rust -
pub struct DistanceSimpleStruct {
+    
pub struct DistanceSimpleStruct {
     pub distance: u32,
     pub confidence: u8,
 }
Expand description

The distance to target with confidence estimate.

Fields§

§distance: u32

Distance to the target.

§confidence: u8

Confidence in the distance measurement.

-

Trait Implementations§

source§

impl Clone for DistanceSimpleStruct

source§

fn clone(&self) -> DistanceSimpleStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DistanceSimpleStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DistanceSimpleStruct

source§

fn default() -> DistanceSimpleStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DistanceSimpleStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DistanceSimpleStruct

source§

fn id() -> u16

source§

impl PartialEq for DistanceSimpleStruct

source§

fn eq(&self, other: &DistanceSimpleStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DistanceSimpleStruct

source§

fn clone(&self) -> DistanceSimpleStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DistanceSimpleStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DistanceSimpleStruct

source§

fn default() -> DistanceSimpleStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DistanceSimpleStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DistanceSimpleStruct

source§

fn id() -> u16

source§

impl PartialEq for DistanceSimpleStruct

source§

fn eq(&self, other: &DistanceSimpleStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for DistanceSimpleStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DistanceSimpleStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for DistanceSimpleStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DistanceSimpleStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.DistanceStruct.html b/ping_rs/ping1d/struct.DistanceStruct.html index d29c92efe..20ef83c22 100644 --- a/ping_rs/ping1d/struct.DistanceStruct.html +++ b/ping_rs/ping1d/struct.DistanceStruct.html @@ -1,5 +1,5 @@ DistanceStruct in ping_rs::ping1d - Rust -
pub struct DistanceStruct {
+    
pub struct DistanceStruct {
     pub distance: u32,
     pub confidence: u16,
     pub transmit_duration: u16,
@@ -15,9 +15,9 @@
 
§scan_start: u32

The beginning of the scan region in mm from the transducer.

§scan_length: u32

The length of the scan region.

§gain_setting: u32

The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144

-

Trait Implementations§

source§

impl Clone for DistanceStruct

source§

fn clone(&self) -> DistanceStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DistanceStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DistanceStruct

source§

fn default() -> DistanceStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DistanceStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DistanceStruct

source§

fn id() -> u16

source§

impl PartialEq for DistanceStruct

source§

fn eq(&self, other: &DistanceStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DistanceStruct

source§

fn clone(&self) -> DistanceStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DistanceStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DistanceStruct

source§

fn default() -> DistanceStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DistanceStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DistanceStruct

source§

fn id() -> u16

source§

impl PartialEq for DistanceStruct

source§

fn eq(&self, other: &DistanceStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for DistanceStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DistanceStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for DistanceStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DistanceStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.FirmwareVersionStruct.html b/ping_rs/ping1d/struct.FirmwareVersionStruct.html index 209430518..f7f0c9e8f 100644 --- a/ping_rs/ping1d/struct.FirmwareVersionStruct.html +++ b/ping_rs/ping1d/struct.FirmwareVersionStruct.html @@ -1,5 +1,5 @@ FirmwareVersionStruct in ping_rs::ping1d - Rust -
pub struct FirmwareVersionStruct {
+    
pub struct FirmwareVersionStruct {
     pub device_type: u8,
     pub device_model: u8,
     pub firmware_version_major: u16,
@@ -9,9 +9,9 @@
 
§device_model: u8

Device model. 0: Unknown; 1: Ping1D

§firmware_version_major: u16

Firmware version major number.

§firmware_version_minor: u16

Firmware version minor number.

-

Trait Implementations§

source§

impl Clone for FirmwareVersionStruct

source§

fn clone(&self) -> FirmwareVersionStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FirmwareVersionStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for FirmwareVersionStruct

source§

fn default() -> FirmwareVersionStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for FirmwareVersionStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for FirmwareVersionStruct

source§

fn id() -> u16

source§

impl PartialEq for FirmwareVersionStruct

source§

fn eq(&self, other: &FirmwareVersionStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for FirmwareVersionStruct

source§

fn clone(&self) -> FirmwareVersionStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for FirmwareVersionStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for FirmwareVersionStruct

source§

fn default() -> FirmwareVersionStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for FirmwareVersionStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for FirmwareVersionStruct

source§

fn id() -> u16

source§

impl PartialEq for FirmwareVersionStruct

source§

fn eq(&self, other: &FirmwareVersionStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for FirmwareVersionStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for FirmwareVersionStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for FirmwareVersionStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for FirmwareVersionStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.GainSettingStruct.html b/ping_rs/ping1d/struct.GainSettingStruct.html index f9a2c7716..bcbef0856 100644 --- a/ping_rs/ping1d/struct.GainSettingStruct.html +++ b/ping_rs/ping1d/struct.GainSettingStruct.html @@ -1,11 +1,11 @@ GainSettingStruct in ping_rs::ping1d - Rust -
pub struct GainSettingStruct {
+    
pub struct GainSettingStruct {
     pub gain_setting: u32,
 }
Expand description

The current gain setting.

Fields§

§gain_setting: u32

The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144

-

Trait Implementations§

source§

impl Clone for GainSettingStruct

source§

fn clone(&self) -> GainSettingStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GainSettingStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GainSettingStruct

source§

fn default() -> GainSettingStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GainSettingStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GainSettingStruct

source§

fn id() -> u16

source§

impl PartialEq for GainSettingStruct

source§

fn eq(&self, other: &GainSettingStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for GainSettingStruct

source§

fn clone(&self) -> GainSettingStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GainSettingStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GainSettingStruct

source§

fn default() -> GainSettingStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GainSettingStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GainSettingStruct

source§

fn id() -> u16

source§

impl PartialEq for GainSettingStruct

source§

fn eq(&self, other: &GainSettingStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for GainSettingStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GainSettingStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for GainSettingStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GainSettingStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.GeneralInfoStruct.html b/ping_rs/ping1d/struct.GeneralInfoStruct.html index b24b290eb..498b73e0c 100644 --- a/ping_rs/ping1d/struct.GeneralInfoStruct.html +++ b/ping_rs/ping1d/struct.GeneralInfoStruct.html @@ -1,5 +1,5 @@ GeneralInfoStruct in ping_rs::ping1d - Rust -
pub struct GeneralInfoStruct {
+    
pub struct GeneralInfoStruct {
     pub firmware_version_major: u16,
     pub firmware_version_minor: u16,
     pub voltage_5: u16,
@@ -13,9 +13,9 @@
 
§ping_interval: u16

The interval between acoustic measurements.

§gain_setting: u8

The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144

§mode_auto: u8

The current operating mode of the device. 0: manual mode, 1: auto mode

-

Trait Implementations§

source§

impl Clone for GeneralInfoStruct

source§

fn clone(&self) -> GeneralInfoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeneralInfoStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GeneralInfoStruct

source§

fn default() -> GeneralInfoStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GeneralInfoStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GeneralInfoStruct

source§

fn id() -> u16

source§

impl PartialEq for GeneralInfoStruct

source§

fn eq(&self, other: &GeneralInfoStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for GeneralInfoStruct

source§

fn clone(&self) -> GeneralInfoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GeneralInfoStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GeneralInfoStruct

source§

fn default() -> GeneralInfoStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GeneralInfoStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GeneralInfoStruct

source§

fn id() -> u16

source§

impl PartialEq for GeneralInfoStruct

source§

fn eq(&self, other: &GeneralInfoStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for GeneralInfoStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GeneralInfoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for GeneralInfoStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GeneralInfoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.GotoBootloaderStruct.html b/ping_rs/ping1d/struct.GotoBootloaderStruct.html index 9d7340ba4..4ecebe071 100644 --- a/ping_rs/ping1d/struct.GotoBootloaderStruct.html +++ b/ping_rs/ping1d/struct.GotoBootloaderStruct.html @@ -1,8 +1,8 @@ GotoBootloaderStruct in ping_rs::ping1d - Rust -
pub struct GotoBootloaderStruct {}
Expand description

Send the device into the bootloader. This is useful for firmware updates.

-

Trait Implementations§

source§

impl Clone for GotoBootloaderStruct

source§

fn clone(&self) -> GotoBootloaderStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GotoBootloaderStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GotoBootloaderStruct

source§

fn default() -> GotoBootloaderStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GotoBootloaderStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GotoBootloaderStruct

source§

fn id() -> u16

source§

impl PartialEq for GotoBootloaderStruct

source§

fn eq(&self, other: &GotoBootloaderStruct) -> bool

This method tests for self and other values to be equal, and is used +
pub struct GotoBootloaderStruct {}
Expand description

Send the device into the bootloader. This is useful for firmware updates.

+

Trait Implementations§

source§

impl Clone for GotoBootloaderStruct

source§

fn clone(&self) -> GotoBootloaderStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for GotoBootloaderStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for GotoBootloaderStruct

source§

fn default() -> GotoBootloaderStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for GotoBootloaderStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for GotoBootloaderStruct

source§

fn id() -> u16

source§

impl PartialEq for GotoBootloaderStruct

source§

fn eq(&self, other: &GotoBootloaderStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for GotoBootloaderStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GotoBootloaderStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for GotoBootloaderStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for GotoBootloaderStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.ModeAutoStruct.html b/ping_rs/ping1d/struct.ModeAutoStruct.html index ea1189382..6ad3a133a 100644 --- a/ping_rs/ping1d/struct.ModeAutoStruct.html +++ b/ping_rs/ping1d/struct.ModeAutoStruct.html @@ -1,11 +1,11 @@ ModeAutoStruct in ping_rs::ping1d - Rust -
pub struct ModeAutoStruct {
+    
pub struct ModeAutoStruct {
     pub mode_auto: u8,
 }
Expand description

The current operating mode of the device. Manual mode allows for manual selection of the gain and scan range.

Fields§

§mode_auto: u8

0: manual mode, 1: auto mode

-

Trait Implementations§

source§

impl Clone for ModeAutoStruct

source§

fn clone(&self) -> ModeAutoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ModeAutoStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ModeAutoStruct

source§

fn default() -> ModeAutoStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ModeAutoStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ModeAutoStruct

source§

fn id() -> u16

source§

impl PartialEq for ModeAutoStruct

source§

fn eq(&self, other: &ModeAutoStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ModeAutoStruct

source§

fn clone(&self) -> ModeAutoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ModeAutoStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ModeAutoStruct

source§

fn default() -> ModeAutoStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ModeAutoStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ModeAutoStruct

source§

fn id() -> u16

source§

impl PartialEq for ModeAutoStruct

source§

fn eq(&self, other: &ModeAutoStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ModeAutoStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ModeAutoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ModeAutoStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ModeAutoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.PcbTemperatureStruct.html b/ping_rs/ping1d/struct.PcbTemperatureStruct.html index bb47f3a74..d8359f076 100644 --- a/ping_rs/ping1d/struct.PcbTemperatureStruct.html +++ b/ping_rs/ping1d/struct.PcbTemperatureStruct.html @@ -1,11 +1,11 @@ PcbTemperatureStruct in ping_rs::ping1d - Rust -
pub struct PcbTemperatureStruct {
+    
pub struct PcbTemperatureStruct {
     pub pcb_temperature: u16,
 }
Expand description

Temperature of the on-board thermistor.

Fields§

§pcb_temperature: u16

The temperature in centi-degrees Centigrade (100 * degrees C).

-

Trait Implementations§

source§

impl Clone for PcbTemperatureStruct

source§

fn clone(&self) -> PcbTemperatureStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PcbTemperatureStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PcbTemperatureStruct

source§

fn default() -> PcbTemperatureStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for PcbTemperatureStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for PcbTemperatureStruct

source§

fn id() -> u16

source§

impl PartialEq for PcbTemperatureStruct

source§

fn eq(&self, other: &PcbTemperatureStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for PcbTemperatureStruct

source§

fn clone(&self) -> PcbTemperatureStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PcbTemperatureStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PcbTemperatureStruct

source§

fn default() -> PcbTemperatureStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for PcbTemperatureStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for PcbTemperatureStruct

source§

fn id() -> u16

source§

impl PartialEq for PcbTemperatureStruct

source§

fn eq(&self, other: &PcbTemperatureStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for PcbTemperatureStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for PcbTemperatureStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for PcbTemperatureStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for PcbTemperatureStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.PingEnableStruct.html b/ping_rs/ping1d/struct.PingEnableStruct.html index 073211358..26da28cee 100644 --- a/ping_rs/ping1d/struct.PingEnableStruct.html +++ b/ping_rs/ping1d/struct.PingEnableStruct.html @@ -1,11 +1,11 @@ PingEnableStruct in ping_rs::ping1d - Rust -
pub struct PingEnableStruct {
+    
pub struct PingEnableStruct {
     pub ping_enabled: u8,
 }
Expand description

Acoustic output enabled state.

Fields§

§ping_enabled: u8

The state of the acoustic output. 0: disabled, 1:enabled

-

Trait Implementations§

source§

impl Clone for PingEnableStruct

source§

fn clone(&self) -> PingEnableStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PingEnableStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PingEnableStruct

source§

fn default() -> PingEnableStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for PingEnableStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for PingEnableStruct

source§

fn id() -> u16

source§

impl PartialEq for PingEnableStruct

source§

fn eq(&self, other: &PingEnableStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for PingEnableStruct

source§

fn clone(&self) -> PingEnableStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PingEnableStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PingEnableStruct

source§

fn default() -> PingEnableStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for PingEnableStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for PingEnableStruct

source§

fn id() -> u16

source§

impl PartialEq for PingEnableStruct

source§

fn eq(&self, other: &PingEnableStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for PingEnableStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for PingEnableStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for PingEnableStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for PingEnableStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.PingIntervalStruct.html b/ping_rs/ping1d/struct.PingIntervalStruct.html index cc8cda3a4..55ee25231 100644 --- a/ping_rs/ping1d/struct.PingIntervalStruct.html +++ b/ping_rs/ping1d/struct.PingIntervalStruct.html @@ -1,11 +1,11 @@ PingIntervalStruct in ping_rs::ping1d - Rust -
pub struct PingIntervalStruct {
+    
pub struct PingIntervalStruct {
     pub ping_interval: u16,
 }
Expand description

The interval between acoustic measurements.

Fields§

§ping_interval: u16

The minimum interval between acoustic measurements. The actual interval may be longer.

-

Trait Implementations§

source§

impl Clone for PingIntervalStruct

source§

fn clone(&self) -> PingIntervalStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PingIntervalStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PingIntervalStruct

source§

fn default() -> PingIntervalStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for PingIntervalStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for PingIntervalStruct

source§

fn id() -> u16

source§

impl PartialEq for PingIntervalStruct

source§

fn eq(&self, other: &PingIntervalStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for PingIntervalStruct

source§

fn clone(&self) -> PingIntervalStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PingIntervalStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PingIntervalStruct

source§

fn default() -> PingIntervalStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for PingIntervalStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for PingIntervalStruct

source§

fn id() -> u16

source§

impl PartialEq for PingIntervalStruct

source§

fn eq(&self, other: &PingIntervalStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for PingIntervalStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for PingIntervalStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for PingIntervalStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for PingIntervalStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.ProcessorTemperatureStruct.html b/ping_rs/ping1d/struct.ProcessorTemperatureStruct.html index 1db6cf181..85ae44628 100644 --- a/ping_rs/ping1d/struct.ProcessorTemperatureStruct.html +++ b/ping_rs/ping1d/struct.ProcessorTemperatureStruct.html @@ -1,11 +1,11 @@ ProcessorTemperatureStruct in ping_rs::ping1d - Rust -
pub struct ProcessorTemperatureStruct {
+    
pub struct ProcessorTemperatureStruct {
     pub processor_temperature: u16,
 }
Expand description

Temperature of the device cpu.

Fields§

§processor_temperature: u16

The temperature in centi-degrees Centigrade (100 * degrees C).

-

Trait Implementations§

source§

impl Clone for ProcessorTemperatureStruct

source§

fn clone(&self) -> ProcessorTemperatureStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProcessorTemperatureStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProcessorTemperatureStruct

source§

fn default() -> ProcessorTemperatureStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ProcessorTemperatureStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ProcessorTemperatureStruct

source§

fn id() -> u16

source§

impl PartialEq for ProcessorTemperatureStruct

source§

fn eq(&self, other: &ProcessorTemperatureStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ProcessorTemperatureStruct

source§

fn clone(&self) -> ProcessorTemperatureStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProcessorTemperatureStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProcessorTemperatureStruct

source§

fn default() -> ProcessorTemperatureStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ProcessorTemperatureStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ProcessorTemperatureStruct

source§

fn id() -> u16

source§

impl PartialEq for ProcessorTemperatureStruct

source§

fn eq(&self, other: &ProcessorTemperatureStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ProcessorTemperatureStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ProcessorTemperatureStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ProcessorTemperatureStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ProcessorTemperatureStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.ProfileStruct.html b/ping_rs/ping1d/struct.ProfileStruct.html index df693ec92..fba3b9a01 100644 --- a/ping_rs/ping1d/struct.ProfileStruct.html +++ b/ping_rs/ping1d/struct.ProfileStruct.html @@ -1,5 +1,5 @@ ProfileStruct in ping_rs::ping1d - Rust -
pub struct ProfileStruct {
+    
pub struct ProfileStruct {
     pub distance: u32,
     pub confidence: u16,
     pub transmit_duration: u16,
@@ -18,9 +18,9 @@
 
§scan_length: u32

The length of the scan region.

§gain_setting: u32

The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144

§profile_data_length: u16

An array of return strength measurements taken at regular intervals across the scan region.

-
§profile_data: Vec<u8>

Trait Implementations§

source§

impl Clone for ProfileStruct

source§

fn clone(&self) -> ProfileStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProfileStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProfileStruct

source§

fn default() -> ProfileStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ProfileStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ProfileStruct

source§

fn id() -> u16

source§

impl PartialEq for ProfileStruct

source§

fn eq(&self, other: &ProfileStruct) -> bool

This method tests for self and other values to be equal, and is used +
§profile_data: Vec<u8>

Trait Implementations§

source§

impl Clone for ProfileStruct

source§

fn clone(&self) -> ProfileStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ProfileStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ProfileStruct

source§

fn default() -> ProfileStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ProfileStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ProfileStruct

source§

fn id() -> u16

source§

impl PartialEq for ProfileStruct

source§

fn eq(&self, other: &ProfileStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ProfileStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ProfileStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ProfileStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ProfileStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.RangeStruct.html b/ping_rs/ping1d/struct.RangeStruct.html index e1ae0e178..abd351fe0 100644 --- a/ping_rs/ping1d/struct.RangeStruct.html +++ b/ping_rs/ping1d/struct.RangeStruct.html @@ -1,13 +1,13 @@ RangeStruct in ping_rs::ping1d - Rust -

Struct ping_rs::ping1d::RangeStruct

source ·
pub struct RangeStruct {
+    

Struct ping_rs::ping1d::RangeStruct

source ·
pub struct RangeStruct {
     pub scan_start: u32,
     pub scan_length: u32,
 }
Expand description

The scan range for acoustic measurements. Measurements returned by the device will lie in the range (scan_start, scan_start + scan_length).

Fields§

§scan_start: u32

The beginning of the scan range in mm from the transducer.

§scan_length: u32

The length of the scan range.

-

Trait Implementations§

source§

impl Clone for RangeStruct

source§

fn clone(&self) -> RangeStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RangeStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RangeStruct

source§

fn default() -> RangeStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for RangeStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for RangeStruct

source§

fn id() -> u16

source§

impl PartialEq for RangeStruct

source§

fn eq(&self, other: &RangeStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for RangeStruct

source§

fn clone(&self) -> RangeStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RangeStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RangeStruct

source§

fn default() -> RangeStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for RangeStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for RangeStruct

source§

fn id() -> u16

source§

impl PartialEq for RangeStruct

source§

fn eq(&self, other: &RangeStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for RangeStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for RangeStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for RangeStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for RangeStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetDeviceIdStruct.html b/ping_rs/ping1d/struct.SetDeviceIdStruct.html index e9a5bc2f0..15f689376 100644 --- a/ping_rs/ping1d/struct.SetDeviceIdStruct.html +++ b/ping_rs/ping1d/struct.SetDeviceIdStruct.html @@ -1,11 +1,11 @@ SetDeviceIdStruct in ping_rs::ping1d - Rust -
pub struct SetDeviceIdStruct {
+    
pub struct SetDeviceIdStruct {
     pub device_id: u8,
 }
Expand description

Set the device ID.

Fields§

§device_id: u8

Device ID (0-254). 255 is reserved for broadcast messages.

-

Trait Implementations§

source§

impl Clone for SetDeviceIdStruct

source§

fn clone(&self) -> SetDeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetDeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetDeviceIdStruct

source§

fn default() -> SetDeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetDeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetDeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for SetDeviceIdStruct

source§

fn eq(&self, other: &SetDeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetDeviceIdStruct

source§

fn clone(&self) -> SetDeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetDeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetDeviceIdStruct

source§

fn default() -> SetDeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetDeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetDeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for SetDeviceIdStruct

source§

fn eq(&self, other: &SetDeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetDeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetDeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetDeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetDeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetGainSettingStruct.html b/ping_rs/ping1d/struct.SetGainSettingStruct.html index 126e1fcde..386bf1225 100644 --- a/ping_rs/ping1d/struct.SetGainSettingStruct.html +++ b/ping_rs/ping1d/struct.SetGainSettingStruct.html @@ -1,11 +1,11 @@ SetGainSettingStruct in ping_rs::ping1d - Rust -
pub struct SetGainSettingStruct {
+    
pub struct SetGainSettingStruct {
     pub gain_setting: u8,
 }
Expand description

Set the current gain setting.

Fields§

§gain_setting: u8

The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144

-

Trait Implementations§

source§

impl Clone for SetGainSettingStruct

source§

fn clone(&self) -> SetGainSettingStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetGainSettingStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetGainSettingStruct

source§

fn default() -> SetGainSettingStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetGainSettingStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetGainSettingStruct

source§

fn id() -> u16

source§

impl PartialEq for SetGainSettingStruct

source§

fn eq(&self, other: &SetGainSettingStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetGainSettingStruct

source§

fn clone(&self) -> SetGainSettingStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetGainSettingStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetGainSettingStruct

source§

fn default() -> SetGainSettingStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetGainSettingStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetGainSettingStruct

source§

fn id() -> u16

source§

impl PartialEq for SetGainSettingStruct

source§

fn eq(&self, other: &SetGainSettingStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetGainSettingStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetGainSettingStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetGainSettingStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetGainSettingStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetModeAutoStruct.html b/ping_rs/ping1d/struct.SetModeAutoStruct.html index 047003b16..159fff602 100644 --- a/ping_rs/ping1d/struct.SetModeAutoStruct.html +++ b/ping_rs/ping1d/struct.SetModeAutoStruct.html @@ -1,11 +1,11 @@ SetModeAutoStruct in ping_rs::ping1d - Rust -
pub struct SetModeAutoStruct {
+    
pub struct SetModeAutoStruct {
     pub mode_auto: u8,
 }
Expand description

Set automatic or manual mode. Manual mode allows for manual selection of the gain and scan range.

Fields§

§mode_auto: u8

0: manual mode. 1: auto mode.

-

Trait Implementations§

source§

impl Clone for SetModeAutoStruct

source§

fn clone(&self) -> SetModeAutoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetModeAutoStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetModeAutoStruct

source§

fn default() -> SetModeAutoStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetModeAutoStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetModeAutoStruct

source§

fn id() -> u16

source§

impl PartialEq for SetModeAutoStruct

source§

fn eq(&self, other: &SetModeAutoStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetModeAutoStruct

source§

fn clone(&self) -> SetModeAutoStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetModeAutoStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetModeAutoStruct

source§

fn default() -> SetModeAutoStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetModeAutoStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetModeAutoStruct

source§

fn id() -> u16

source§

impl PartialEq for SetModeAutoStruct

source§

fn eq(&self, other: &SetModeAutoStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetModeAutoStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetModeAutoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetModeAutoStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetModeAutoStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetPingEnableStruct.html b/ping_rs/ping1d/struct.SetPingEnableStruct.html index b97f86083..6226be256 100644 --- a/ping_rs/ping1d/struct.SetPingEnableStruct.html +++ b/ping_rs/ping1d/struct.SetPingEnableStruct.html @@ -1,11 +1,11 @@ SetPingEnableStruct in ping_rs::ping1d - Rust -
pub struct SetPingEnableStruct {
+    
pub struct SetPingEnableStruct {
     pub ping_enabled: u8,
 }
Expand description

Enable or disable acoustic measurements.

Fields§

§ping_enabled: u8

0: Disable, 1: Enable.

-

Trait Implementations§

source§

impl Clone for SetPingEnableStruct

source§

fn clone(&self) -> SetPingEnableStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetPingEnableStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetPingEnableStruct

source§

fn default() -> SetPingEnableStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetPingEnableStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetPingEnableStruct

source§

fn id() -> u16

source§

impl PartialEq for SetPingEnableStruct

source§

fn eq(&self, other: &SetPingEnableStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetPingEnableStruct

source§

fn clone(&self) -> SetPingEnableStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetPingEnableStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetPingEnableStruct

source§

fn default() -> SetPingEnableStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetPingEnableStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetPingEnableStruct

source§

fn id() -> u16

source§

impl PartialEq for SetPingEnableStruct

source§

fn eq(&self, other: &SetPingEnableStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetPingEnableStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetPingEnableStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetPingEnableStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetPingEnableStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetPingIntervalStruct.html b/ping_rs/ping1d/struct.SetPingIntervalStruct.html index 3ef79cd37..ed8cc2e85 100644 --- a/ping_rs/ping1d/struct.SetPingIntervalStruct.html +++ b/ping_rs/ping1d/struct.SetPingIntervalStruct.html @@ -1,11 +1,11 @@ SetPingIntervalStruct in ping_rs::ping1d - Rust -
pub struct SetPingIntervalStruct {
+    
pub struct SetPingIntervalStruct {
     pub ping_interval: u16,
 }
Expand description

The interval between acoustic measurements.

Fields§

§ping_interval: u16

The interval between acoustic measurements.

-

Trait Implementations§

source§

impl Clone for SetPingIntervalStruct

source§

fn clone(&self) -> SetPingIntervalStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetPingIntervalStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetPingIntervalStruct

source§

fn default() -> SetPingIntervalStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetPingIntervalStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetPingIntervalStruct

source§

fn id() -> u16

source§

impl PartialEq for SetPingIntervalStruct

source§

fn eq(&self, other: &SetPingIntervalStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetPingIntervalStruct

source§

fn clone(&self) -> SetPingIntervalStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetPingIntervalStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetPingIntervalStruct

source§

fn default() -> SetPingIntervalStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetPingIntervalStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetPingIntervalStruct

source§

fn id() -> u16

source§

impl PartialEq for SetPingIntervalStruct

source§

fn eq(&self, other: &SetPingIntervalStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetPingIntervalStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetPingIntervalStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetPingIntervalStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetPingIntervalStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetRangeStruct.html b/ping_rs/ping1d/struct.SetRangeStruct.html index b82a777ec..0e038332c 100644 --- a/ping_rs/ping1d/struct.SetRangeStruct.html +++ b/ping_rs/ping1d/struct.SetRangeStruct.html @@ -1,13 +1,13 @@ SetRangeStruct in ping_rs::ping1d - Rust -
pub struct SetRangeStruct {
+    
pub struct SetRangeStruct {
     pub scan_start: u32,
     pub scan_length: u32,
 }
Expand description

Set the scan range for acoustic measurements.

Fields§

§scan_start: u32

Not documented

§scan_length: u32

The length of the scan range.

-

Trait Implementations§

source§

impl Clone for SetRangeStruct

source§

fn clone(&self) -> SetRangeStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetRangeStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetRangeStruct

source§

fn default() -> SetRangeStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetRangeStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetRangeStruct

source§

fn id() -> u16

source§

impl PartialEq for SetRangeStruct

source§

fn eq(&self, other: &SetRangeStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetRangeStruct

source§

fn clone(&self) -> SetRangeStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetRangeStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetRangeStruct

source§

fn default() -> SetRangeStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetRangeStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetRangeStruct

source§

fn id() -> u16

source§

impl PartialEq for SetRangeStruct

source§

fn eq(&self, other: &SetRangeStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetRangeStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetRangeStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetRangeStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetRangeStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SetSpeedOfSoundStruct.html b/ping_rs/ping1d/struct.SetSpeedOfSoundStruct.html index 731041f7c..2317b53a4 100644 --- a/ping_rs/ping1d/struct.SetSpeedOfSoundStruct.html +++ b/ping_rs/ping1d/struct.SetSpeedOfSoundStruct.html @@ -1,11 +1,11 @@ SetSpeedOfSoundStruct in ping_rs::ping1d - Rust -
pub struct SetSpeedOfSoundStruct {
+    
pub struct SetSpeedOfSoundStruct {
     pub speed_of_sound: u32,
 }
Expand description

Set the speed of sound used for distance calculations.

Fields§

§speed_of_sound: u32

The speed of sound in the measurement medium. ~1,500,000 mm/s for water.

-

Trait Implementations§

source§

impl Clone for SetSpeedOfSoundStruct

source§

fn clone(&self) -> SetSpeedOfSoundStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetSpeedOfSoundStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetSpeedOfSoundStruct

source§

fn default() -> SetSpeedOfSoundStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetSpeedOfSoundStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetSpeedOfSoundStruct

source§

fn id() -> u16

source§

impl PartialEq for SetSpeedOfSoundStruct

source§

fn eq(&self, other: &SetSpeedOfSoundStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SetSpeedOfSoundStruct

source§

fn clone(&self) -> SetSpeedOfSoundStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SetSpeedOfSoundStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SetSpeedOfSoundStruct

source§

fn default() -> SetSpeedOfSoundStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SetSpeedOfSoundStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SetSpeedOfSoundStruct

source§

fn id() -> u16

source§

impl PartialEq for SetSpeedOfSoundStruct

source§

fn eq(&self, other: &SetSpeedOfSoundStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SetSpeedOfSoundStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetSpeedOfSoundStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SetSpeedOfSoundStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SetSpeedOfSoundStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.SpeedOfSoundStruct.html b/ping_rs/ping1d/struct.SpeedOfSoundStruct.html index 1c649868b..77ebffef8 100644 --- a/ping_rs/ping1d/struct.SpeedOfSoundStruct.html +++ b/ping_rs/ping1d/struct.SpeedOfSoundStruct.html @@ -1,11 +1,11 @@ SpeedOfSoundStruct in ping_rs::ping1d - Rust -
pub struct SpeedOfSoundStruct {
+    
pub struct SpeedOfSoundStruct {
     pub speed_of_sound: u32,
 }
Expand description

The speed of sound used for distance calculations.

Fields§

§speed_of_sound: u32

The speed of sound in the measurement medium. ~1,500,000 mm/s for water.

-

Trait Implementations§

source§

impl Clone for SpeedOfSoundStruct

source§

fn clone(&self) -> SpeedOfSoundStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpeedOfSoundStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SpeedOfSoundStruct

source§

fn default() -> SpeedOfSoundStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SpeedOfSoundStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SpeedOfSoundStruct

source§

fn id() -> u16

source§

impl PartialEq for SpeedOfSoundStruct

source§

fn eq(&self, other: &SpeedOfSoundStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for SpeedOfSoundStruct

source§

fn clone(&self) -> SpeedOfSoundStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for SpeedOfSoundStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for SpeedOfSoundStruct

source§

fn default() -> SpeedOfSoundStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for SpeedOfSoundStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for SpeedOfSoundStruct

source§

fn id() -> u16

source§

impl PartialEq for SpeedOfSoundStruct

source§

fn eq(&self, other: &SpeedOfSoundStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for SpeedOfSoundStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SpeedOfSoundStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for SpeedOfSoundStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for SpeedOfSoundStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.TransmitDurationStruct.html b/ping_rs/ping1d/struct.TransmitDurationStruct.html index f086a8fab..52a60c623 100644 --- a/ping_rs/ping1d/struct.TransmitDurationStruct.html +++ b/ping_rs/ping1d/struct.TransmitDurationStruct.html @@ -1,11 +1,11 @@ TransmitDurationStruct in ping_rs::ping1d - Rust -
pub struct TransmitDurationStruct {
+    
pub struct TransmitDurationStruct {
     pub transmit_duration: u16,
 }
Expand description

The duration of the acoustic activation/transmission.

Fields§

§transmit_duration: u16

Acoustic pulse duration.

-

Trait Implementations§

source§

impl Clone for TransmitDurationStruct

source§

fn clone(&self) -> TransmitDurationStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TransmitDurationStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TransmitDurationStruct

source§

fn default() -> TransmitDurationStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TransmitDurationStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TransmitDurationStruct

source§

fn id() -> u16

source§

impl PartialEq for TransmitDurationStruct

source§

fn eq(&self, other: &TransmitDurationStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TransmitDurationStruct

source§

fn clone(&self) -> TransmitDurationStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TransmitDurationStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TransmitDurationStruct

source§

fn default() -> TransmitDurationStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TransmitDurationStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TransmitDurationStruct

source§

fn id() -> u16

source§

impl PartialEq for TransmitDurationStruct

source§

fn eq(&self, other: &TransmitDurationStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for TransmitDurationStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TransmitDurationStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for TransmitDurationStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TransmitDurationStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping1d/struct.Voltage5Struct.html b/ping_rs/ping1d/struct.Voltage5Struct.html index 38779098d..cf05ad0d8 100644 --- a/ping_rs/ping1d/struct.Voltage5Struct.html +++ b/ping_rs/ping1d/struct.Voltage5Struct.html @@ -1,11 +1,11 @@ Voltage5Struct in ping_rs::ping1d - Rust -
pub struct Voltage5Struct {
+    
pub struct Voltage5Struct {
     pub voltage_5: u16,
 }
Expand description

The 5V rail voltage.

Fields§

§voltage_5: u16

The 5V rail voltage.

-

Trait Implementations§

source§

impl Clone for Voltage5Struct

source§

fn clone(&self) -> Voltage5Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Voltage5Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Voltage5Struct

source§

fn default() -> Voltage5Struct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for Voltage5Struct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for Voltage5Struct

source§

fn id() -> u16

source§

impl PartialEq for Voltage5Struct

source§

fn eq(&self, other: &Voltage5Struct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for Voltage5Struct

source§

fn clone(&self) -> Voltage5Struct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Voltage5Struct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Voltage5Struct

source§

fn default() -> Voltage5Struct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for Voltage5Struct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for Voltage5Struct

source§

fn id() -> u16

source§

impl PartialEq for Voltage5Struct

source§

fn eq(&self, other: &Voltage5Struct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for Voltage5Struct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for Voltage5Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for Voltage5Struct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for Voltage5Struct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/enum.Messages.html b/ping_rs/ping360/enum.Messages.html index 0dd9639ba..4ed3eed22 100644 --- a/ping_rs/ping360/enum.Messages.html +++ b/ping_rs/ping360/enum.Messages.html @@ -1,13 +1,13 @@ Messages in ping_rs::ping360 - Rust
pub enum Messages {
+    DeviceData(DeviceDataStruct),
     MotorOff(MotorOffStruct),
     AutoTransmit(AutoTransmitStruct),
-    DeviceData(DeviceDataStruct),
-    Transducer(TransducerStruct),
     Reset(ResetStruct),
-    AutoDeviceData(AutoDeviceDataStruct),
+    Transducer(TransducerStruct),
     DeviceId(DeviceIdStruct),
-}

Variants§

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used + AutoDeviceData(AutoDeviceDataStruct), +}

Variants§

Implementations§

source§

impl Messages

source

pub fn inner<T: 'static>(&self) -> Option<&T>

Trait Implementations§

source§

impl Clone for Messages

source§

fn clone(&self) -> Messages

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Messages

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl DeserializeGenericMessage for Messages

source§

fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str>

source§

impl PartialEq for Messages

source§

fn eq(&self, other: &Messages) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PingMessage for Messages

source§

impl SerializePayload for Messages

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for Messages

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where diff --git a/ping_rs/ping360/struct.AutoDeviceDataStruct.html b/ping_rs/ping360/struct.AutoDeviceDataStruct.html index 17631e4da..c9077def0 100644 --- a/ping_rs/ping360/struct.AutoDeviceDataStruct.html +++ b/ping_rs/ping360/struct.AutoDeviceDataStruct.html @@ -1,5 +1,5 @@ AutoDeviceDataStruct in ping_rs::ping360 - Rust -
pub struct AutoDeviceDataStruct {
Show 13 fields +
pub struct AutoDeviceDataStruct {
Show 13 fields pub mode: u8, pub gain_setting: u8, pub angle: u16, @@ -26,9 +26,9 @@
§delay: u8

An additional delay between successive transmit pulses (0~100 ms). This may be necessary for some programs to avoid collisions on the RS485 USRT.

§number_of_samples: u16

Number of samples per reflected signal

§data_length: u16

8 bit binary data array representing sonar echo strength

-
§data: Vec<u8>

Trait Implementations§

source§

impl Clone for AutoDeviceDataStruct

source§

fn clone(&self) -> AutoDeviceDataStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutoDeviceDataStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AutoDeviceDataStruct

source§

fn default() -> AutoDeviceDataStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AutoDeviceDataStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AutoDeviceDataStruct

source§

fn id() -> u16

source§

impl PartialEq for AutoDeviceDataStruct

source§

fn eq(&self, other: &AutoDeviceDataStruct) -> bool

This method tests for self and other values to be equal, and is used +
§data: Vec<u8>

Trait Implementations§

source§

impl Clone for AutoDeviceDataStruct

source§

fn clone(&self) -> AutoDeviceDataStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutoDeviceDataStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AutoDeviceDataStruct

source§

fn default() -> AutoDeviceDataStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AutoDeviceDataStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AutoDeviceDataStruct

source§

fn id() -> u16

source§

impl PartialEq for AutoDeviceDataStruct

source§

fn eq(&self, other: &AutoDeviceDataStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for AutoDeviceDataStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AutoDeviceDataStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for AutoDeviceDataStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AutoDeviceDataStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/struct.AutoTransmitStruct.html b/ping_rs/ping360/struct.AutoTransmitStruct.html index 15bcccf29..645fe505d 100644 --- a/ping_rs/ping360/struct.AutoTransmitStruct.html +++ b/ping_rs/ping360/struct.AutoTransmitStruct.html @@ -1,5 +1,5 @@ AutoTransmitStruct in ping_rs::ping360 - Rust -
pub struct AutoTransmitStruct {
+    
pub struct AutoTransmitStruct {
     pub mode: u8,
     pub gain_setting: u8,
     pub transmit_duration: u16,
@@ -21,9 +21,9 @@
 
§stop_angle: u16

Head angle to end scan sector for autoscan in gradians (0~399 = 0~360 degrees).

§num_steps: u8

Number of 0.9 degree motor steps between pings for auto scan (1~10 = 0.9~9.0 degrees)

§delay: u8

An additional delay between successive transmit pulses (0~100 ms). This may be necessary for some programs to avoid collisions on the RS485 USRT.

-

Trait Implementations§

source§

impl Clone for AutoTransmitStruct

source§

fn clone(&self) -> AutoTransmitStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutoTransmitStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AutoTransmitStruct

source§

fn default() -> AutoTransmitStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AutoTransmitStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AutoTransmitStruct

source§

fn id() -> u16

source§

impl PartialEq for AutoTransmitStruct

source§

fn eq(&self, other: &AutoTransmitStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for AutoTransmitStruct

source§

fn clone(&self) -> AutoTransmitStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AutoTransmitStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AutoTransmitStruct

source§

fn default() -> AutoTransmitStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for AutoTransmitStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for AutoTransmitStruct

source§

fn id() -> u16

source§

impl PartialEq for AutoTransmitStruct

source§

fn eq(&self, other: &AutoTransmitStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for AutoTransmitStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AutoTransmitStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for AutoTransmitStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for AutoTransmitStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/struct.DeviceDataStruct.html b/ping_rs/ping360/struct.DeviceDataStruct.html index 1f062757d..eaf32d211 100644 --- a/ping_rs/ping360/struct.DeviceDataStruct.html +++ b/ping_rs/ping360/struct.DeviceDataStruct.html @@ -1,5 +1,5 @@ DeviceDataStruct in ping_rs::ping360 - Rust -
pub struct DeviceDataStruct {
+    
pub struct DeviceDataStruct {
     pub mode: u8,
     pub gain_setting: u8,
     pub angle: u16,
@@ -18,9 +18,9 @@
 
§transmit_frequency: u16

Acoustic operating frequency. Frequency range is 500kHz to 1000kHz, however it is only practical to use say 650kHz to 850kHz due to the narrow bandwidth of the acoustic receiver.

§number_of_samples: u16

Number of samples per reflected signal

§data_length: u16

8 bit binary data array representing sonar echo strength

-
§data: Vec<u8>

Trait Implementations§

source§

impl Clone for DeviceDataStruct

source§

fn clone(&self) -> DeviceDataStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceDataStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DeviceDataStruct

source§

fn default() -> DeviceDataStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DeviceDataStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DeviceDataStruct

source§

fn id() -> u16

source§

impl PartialEq for DeviceDataStruct

source§

fn eq(&self, other: &DeviceDataStruct) -> bool

This method tests for self and other values to be equal, and is used +
§data: Vec<u8>

Trait Implementations§

source§

impl Clone for DeviceDataStruct

source§

fn clone(&self) -> DeviceDataStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceDataStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DeviceDataStruct

source§

fn default() -> DeviceDataStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DeviceDataStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DeviceDataStruct

source§

fn id() -> u16

source§

impl PartialEq for DeviceDataStruct

source§

fn eq(&self, other: &DeviceDataStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for DeviceDataStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DeviceDataStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for DeviceDataStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DeviceDataStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/struct.DeviceIdStruct.html b/ping_rs/ping360/struct.DeviceIdStruct.html index 08334efa0..a8961096e 100644 --- a/ping_rs/ping360/struct.DeviceIdStruct.html +++ b/ping_rs/ping360/struct.DeviceIdStruct.html @@ -1,13 +1,13 @@ DeviceIdStruct in ping_rs::ping360 - Rust -
pub struct DeviceIdStruct {
+    
pub struct DeviceIdStruct {
     pub id: u8,
     pub reserved: u8,
 }
Expand description

Change the device id

Fields§

§id: u8

Device ID (1-254). 0 and 255 are reserved.

§reserved: u8

reserved

-

Trait Implementations§

source§

impl Clone for DeviceIdStruct

source§

fn clone(&self) -> DeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DeviceIdStruct

source§

fn default() -> DeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for DeviceIdStruct

source§

fn eq(&self, other: &DeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for DeviceIdStruct

source§

fn clone(&self) -> DeviceIdStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DeviceIdStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for DeviceIdStruct

source§

fn default() -> DeviceIdStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for DeviceIdStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for DeviceIdStruct

source§

fn id() -> u16

source§

impl PartialEq for DeviceIdStruct

source§

fn eq(&self, other: &DeviceIdStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for DeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for DeviceIdStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for DeviceIdStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/struct.MotorOffStruct.html b/ping_rs/ping360/struct.MotorOffStruct.html index 5cca12e13..05f80418e 100644 --- a/ping_rs/ping360/struct.MotorOffStruct.html +++ b/ping_rs/ping360/struct.MotorOffStruct.html @@ -1,8 +1,8 @@ MotorOffStruct in ping_rs::ping360 - Rust -
pub struct MotorOffStruct {}
Expand description

The sonar switches the current through the stepper motor windings off to save power. The sonar will send an ack message in response. The command timeout should be set to 50 msec. If the sonar is idle (not scanning) for more than 30 seconds then the motor current will automatically turn off. When the user sends any command that involves moving the transducer then the motor current is automatically re-enabled.

-

Trait Implementations§

source§

impl Clone for MotorOffStruct

source§

fn clone(&self) -> MotorOffStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MotorOffStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MotorOffStruct

source§

fn default() -> MotorOffStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for MotorOffStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for MotorOffStruct

source§

fn id() -> u16

source§

impl PartialEq for MotorOffStruct

source§

fn eq(&self, other: &MotorOffStruct) -> bool

This method tests for self and other values to be equal, and is used +
pub struct MotorOffStruct {}
Expand description

The sonar switches the current through the stepper motor windings off to save power. The sonar will send an ack message in response. The command timeout should be set to 50 msec. If the sonar is idle (not scanning) for more than 30 seconds then the motor current will automatically turn off. When the user sends any command that involves moving the transducer then the motor current is automatically re-enabled.

+

Trait Implementations§

source§

impl Clone for MotorOffStruct

source§

fn clone(&self) -> MotorOffStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MotorOffStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MotorOffStruct

source§

fn default() -> MotorOffStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for MotorOffStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for MotorOffStruct

source§

fn id() -> u16

source§

impl PartialEq for MotorOffStruct

source§

fn eq(&self, other: &MotorOffStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for MotorOffStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for MotorOffStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for MotorOffStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for MotorOffStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/struct.ResetStruct.html b/ping_rs/ping360/struct.ResetStruct.html index cd225bff5..73940af9f 100644 --- a/ping_rs/ping360/struct.ResetStruct.html +++ b/ping_rs/ping360/struct.ResetStruct.html @@ -1,13 +1,13 @@ ResetStruct in ping_rs::ping360 - Rust -
pub struct ResetStruct {
+    
pub struct ResetStruct {
     pub bootloader: u8,
     pub reserved: u8,
 }
Expand description

Reset the sonar. The bootloader may run depending on the selection according to the bootloader payload field. When the bootloader runs, the external LED flashes at 5Hz. If the bootloader is not contacted within 5 seconds, it will run the current program. If there is no program, then the bootloader will wait forever for a connection. Note that if you issue a reset then you will have to close all your open comm ports and go back to issuing either a discovery message for UDP or go through the break sequence for serial comms before you can talk to the sonar again.

Fields§

§bootloader: u8

0 = skip bootloader; 1 = run bootloader

§reserved: u8

reserved

-

Trait Implementations§

source§

impl Clone for ResetStruct

source§

fn clone(&self) -> ResetStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ResetStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ResetStruct

source§

fn default() -> ResetStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ResetStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ResetStruct

source§

fn id() -> u16

source§

impl PartialEq for ResetStruct

source§

fn eq(&self, other: &ResetStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for ResetStruct

source§

fn clone(&self) -> ResetStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ResetStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ResetStruct

source§

fn default() -> ResetStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for ResetStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for ResetStruct

source§

fn id() -> u16

source§

impl PartialEq for ResetStruct

source§

fn eq(&self, other: &ResetStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for ResetStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ResetStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for ResetStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for ResetStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/ping_rs/ping360/struct.TransducerStruct.html b/ping_rs/ping360/struct.TransducerStruct.html index e4e7d4521..042c37034 100644 --- a/ping_rs/ping360/struct.TransducerStruct.html +++ b/ping_rs/ping360/struct.TransducerStruct.html @@ -1,5 +1,5 @@ TransducerStruct in ping_rs::ping360 - Rust -
pub struct TransducerStruct {
+    
pub struct TransducerStruct {
     pub mode: u8,
     pub gain_setting: u8,
     pub angle: u16,
@@ -19,9 +19,9 @@
 
§number_of_samples: u16

Number of samples per reflected signal

§transmit: u8

0 = do not transmit; 1 = transmit after the transducer has reached the specified angle

§reserved: u8

reserved

-

Trait Implementations§

source§

impl Clone for TransducerStruct

source§

fn clone(&self) -> TransducerStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TransducerStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TransducerStruct

source§

fn default() -> TransducerStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TransducerStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TransducerStruct

source§

fn id() -> u16

source§

impl PartialEq for TransducerStruct

source§

fn eq(&self, other: &TransducerStruct) -> bool

This method tests for self and other values to be equal, and is used +

Trait Implementations§

source§

impl Clone for TransducerStruct

source§

fn clone(&self) -> TransducerStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TransducerStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TransducerStruct

source§

fn default() -> TransducerStruct

Returns the “default value” for a type. Read more
source§

impl DeserializePayload for TransducerStruct

source§

fn deserialize(payload: &[u8]) -> Self

source§

impl MessageInfo for TransducerStruct

source§

fn id() -> u16

source§

impl PartialEq for TransducerStruct

source§

fn eq(&self, other: &TransducerStruct) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason.
source§

impl SerializePayload for TransducerStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TransducerStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +sufficient, and should not be overridden without very good reason.

source§

impl SerializePayload for TransducerStruct

source§

fn serialize(&self) -> Vec<u8>

source§

impl StructuralPartialEq for TransducerStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

diff --git a/search-index.js b/search-index.js index f5577e388..d77d49dc7 100644 --- a/search-index.js +++ b/search-index.js @@ -12,7 +12,7 @@ var searchIndex = new Map(JSON.parse('[\ ["parking_lot",{"doc":"This library provides implementations of Mutex, RwLock, …","t":"FPIIPIIIIIIIPFGPFFFFIIIIIIFNNNNNNNNNNNNNNNNNNNNNNNNNNNHHHHNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNENNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Condvar","Done","FairMutex","FairMutexGuard","InProgress","MappedFairMutexGuard","MappedMutexGuard","MappedReentrantMutexGuard","MappedRwLockReadGuard","MappedRwLockWriteGuard","Mutex","MutexGuard","New","Once","OnceState","Poisoned","RawFairMutex","RawMutex","RawRwLock","RawThreadId","ReentrantMutex","ReentrantMutexGuard","RwLock","RwLockReadGuard","RwLockUpgradableReadGuard","RwLockWriteGuard","WaitTimeoutResult","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","bump","bump","bump_exclusive","bump_shared","bump_upgradable","call_once","call_once_force","clone","clone","clone_into","clone_into","const_fair_mutex","const_mutex","const_reentrant_mutex","const_rwlock","default","default","done","downgrade","downgrade_to_upgradable","downgrade_upgradable","eq","eq","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","is_locked","is_locked","is_locked","is_locked_exclusive","lock","lock","lock_api","lock_exclusive","lock_shared","lock_shared_recursive","lock_upgradable","new","new","nonzero_thread_id","notify_all","notify_one","poisoned","state","timed_out","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_lock","try_lock","try_lock_exclusive","try_lock_exclusive_for","try_lock_exclusive_until","try_lock_for","try_lock_for","try_lock_shared","try_lock_shared_for","try_lock_shared_recursive","try_lock_shared_recursive_for","try_lock_shared_recursive_until","try_lock_shared_until","try_lock_until","try_lock_until","try_lock_upgradable","try_lock_upgradable_for","try_lock_upgradable_until","try_upgrade","try_upgrade_for","try_upgrade_until","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unlock","unlock","unlock_exclusive","unlock_exclusive_fair","unlock_fair","unlock_fair","unlock_shared","unlock_shared_fair","unlock_upgradable","unlock_upgradable_fair","upgrade","wait","wait_for","wait_until","wait_while","wait_while_for","wait_while_until"],"q":[[0,"parking_lot"],[169,"core::ops::function"],[170,"core::fmt"],[171,"core::fmt"],[172,"core::result"],[173,"core::time"],[174,"std::time"],[175,"core::any"],[176,"core::marker"],[177,"core::ops::function"]],"d":["A Condition Variable","A closure has completed successfully.","A mutual exclusive primitive that is always fair, useful …","An RAII implementation of a “scoped lock” of a mutex. …","A thread is currently executing a closure.","An RAII mutex guard returned by FairMutexGuard::map, which …","An RAII mutex guard returned by MutexGuard::map, which can …","An RAII mutex guard returned by ReentrantMutexGuard::map, …","An RAII read lock guard returned by RwLockReadGuard::map, …","An RAII write lock guard returned by RwLockWriteGuard::map…","A mutual exclusion primitive useful for protecting shared …","An RAII implementation of a “scoped lock” of a mutex. …","A closure has not been executed yet","A synchronization primitive which can be used to run a …","Current state of a Once.","A closure was executed but panicked.","Raw fair mutex type backed by the parking lot.","Raw mutex type backed by the parking lot.","Raw reader-writer lock type backed by the parking lot.","Implementation of the GetThreadId trait for …","A mutex which can be recursively locked by a single thread.","An RAII implementation of a “scoped lock” of a …","A reader-writer lock","RAII structure used to release the shared read access of a …","RAII structure used to release the upgradable read access …","RAII structure used to release the exclusive write access …","A type indicating whether a timed wait on a condition …","","","","","","","","","","","","","","","","","","","","","","Performs an initialization routine once and only once. The …","Performs the same function as call_once except ignores …","","","","","Creates a new fair mutex in an unlocked state ready for …","Creates a new mutex in an unlocked state ready for use.","Creates a new reentrant mutex in an unlocked state ready …","Creates a new instance of an RwLock<T> which is unlocked.","","","Returns whether the associated Once has successfully …","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","Creates a new condition variable which is ready to be …","Creates a new Once value.","","Wakes up all blocked threads on this condvar.","Wakes up one blocked thread on this condvar.","Returns whether the associated Once has been poisoned.","Returns the current state of this Once.","Returns whether the wait was known to have timed out.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Blocks the current thread until this condition variable …","Waits on this condition variable for a notification, …","Waits on this condition variable for a notification, …","Blocks the current thread until this condition variable …","Waits on this condition variable for a notification, …","Waits on this condition variable for a notification, …"],"i":[0,7,0,0,7,0,0,0,0,0,0,0,7,0,0,7,0,0,0,0,0,0,0,0,0,0,0,13,5,1,3,4,17,8,7,13,5,1,3,4,17,8,7,1,3,4,4,4,5,5,8,7,8,7,0,0,0,0,13,5,7,4,4,4,8,7,13,5,8,7,13,5,1,3,4,17,8,7,13,5,1,3,4,17,8,7,1,3,4,4,1,3,0,4,4,4,4,13,5,17,13,13,7,5,8,8,7,13,5,1,3,4,17,8,7,13,5,1,3,4,17,8,7,1,3,4,4,4,1,3,4,4,4,4,4,4,1,3,4,4,4,4,4,4,13,5,1,3,4,17,8,7,1,3,4,4,1,3,4,4,4,4,4,13,13,13,13,13,13],"f":"```````````````````````````{ce{}{}}000000000000000{bd}{fd}{hd}00{{jc}dl}{{jc}d{{l{n}}}}{A`A`}{nn}{{ce}d{}{}}0{c{{Ab{c}}}{}}{c{{Ad{c}}}{}}{c{{Af{c}}}{}}{c{{Ah{c}}}{}}{{}Aj}{{}j}{nAl}<<<{{A`A`}Al}{{nn}Al}{{AjAn}B`}{{jAn}B`}{{A`An}B`}{{nAn}B`}{cc{}}0000000{ce{}{}}0000000{bAl}{fAl}{hAl}0{bd}{fd}`{hd}000{{}Aj}{{}j}{BbBd}{AjBf}{AjAl}{nAl}{jn}{A`Al}>>{c{{Bh{e}}}{}{}}000000000000000>=<{{hBj}Al}{{hBl}Al}{{bc}Al{}}{{fBj}Al}{hAl}{{hc}Al{}}10003{{fBl}Al}265265{cBn{}}0000000{bd}{fd}{hd}02100000{{Aj{C`{c}}}dCb}{{Aj{C`{c}}Bj}A`Cb}{{Aj{C`{c}}Bl}A`Cb}{{Aj{C`{c}}e}dCb{{Cf{c}{{Cd{Al}}}}}}{{Aj{C`{c}}eBj}A`Cb{{Cf{c}{{Cd{Al}}}}}}{{Aj{C`{c}}eBl}A`Cb{{Cf{c}{{Cd{Al}}}}}}","c":[],"p":[[5,"RawFairMutex",0],[1,"unit"],[5,"RawMutex",0],[5,"RawRwLock",0],[5,"Once",0],[10,"FnOnce",169],[6,"OnceState",0],[5,"WaitTimeoutResult",0],[8,"FairMutex",0],[8,"Mutex",0],[8,"ReentrantMutex",0],[8,"RwLock",0],[5,"Condvar",0],[1,"bool"],[5,"Formatter",170],[8,"Result",170],[5,"RawThreadId",0],[8,"NonZeroUsize",171],[1,"usize"],[6,"Result",172],[5,"Duration",173],[5,"Instant",174],[5,"TypeId",175],[8,"MutexGuard",0],[10,"Sized",176],[17,"Output"],[10,"FnMut",169]],"b":[]}],\ ["parking_lot_core",{"doc":"This library exposes a low-level API for creating your own …","t":"PSSGPGFPPGPFPPPPPFFPONNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNHONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNHHHHOHH","n":["Abort","DEFAULT_PARK_TOKEN","DEFAULT_UNPARK_TOKEN","FilterOp","Invalid","ParkResult","ParkToken","RequeueAll","RequeueOne","RequeueOp","Skip","SpinWait","Stop","TimedOut","Unpark","UnparkOne","UnparkOneRequeueRest","UnparkResult","UnparkToken","Unparked","be_fair","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","deadlock","default","default","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","have_more_threads","into","into","into","into","into","into","into","is_unparked","new","park","requeued_threads","reset","spin","spin_no_yield","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unpark_all","unpark_filter","unpark_one","unpark_requeue","unparked_threads","acquire_resource","release_resource"],"q":[[0,"parking_lot_core"],[116,"parking_lot_core::deadlock"],[118,"core::fmt"],[119,"core::fmt"],[120,"core::option"],[121,"core::ops::function"],[122,"core::result"],[123,"core::any"],[124,"core::ops::function"]],"d":["Abort the operation without doing anything.","A default park token to use.","A default unpark token to use.","Operation that unpark_filter should perform for each …","The validation callback returned false.","Result of a park operation.","A value associated with a parked thread which can be used …","Requeue all threads onto the target queue.","Requeue one thread and leave the rest parked on the …","Operation that unpark_requeue should perform.","Don’t unpark the thread and continue scanning the list …","A counter used to perform exponential backoff in spin …","Don’t unpark the thread and stop scanning the list of …","The timeout expired.","Unpark the thread and continue scanning the list of parked …","Unpark one thread and leave the rest parked. No requeuing …","Unpark one thread and requeue the rest onto the target …","Result of an unpark operation.","A value which is passed from an unparker to a parked …","We were unparked by another thread with the given token.","This is set to true on average once every 0.5ms for any …","","","","","","","","","","","","","","","","","","","","","","","","","","","[Experimental] Deadlock detection","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Whether there are any threads remaining in the queue. This …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns true if we were unparked by another thread.","Creates a new SpinWait.","Parks the current thread in the queue associated with the …","The number of threads that were requeued.","Resets a SpinWait to its initial state.","Spins until the sleep threshold has been reached.","Spins without yielding the thread to the OS.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Unparks all threads in the queue associated with the given …","Unparks a number of threads from the front of the queue …","Unparks one thread from the queue associated with the …","Removes all threads from the queue associated with key_from…","The number of threads that were unparked.","Acquire a resource identified by key in the deadlock …","Release a resource identified by key in the deadlock …"],"i":[3,0,0,0,1,0,0,3,3,0,4,0,4,1,4,3,3,0,0,1,2,1,2,3,4,5,6,8,1,2,3,4,5,6,8,1,2,3,4,5,6,1,2,3,4,5,6,0,2,8,1,2,3,4,5,6,1,2,3,4,5,6,1,2,3,4,5,6,8,2,1,2,3,4,5,6,8,1,8,0,2,8,8,8,1,2,3,4,5,6,1,2,3,4,5,6,8,1,2,3,4,5,6,8,1,2,3,4,5,6,8,0,0,0,0,2,0,0],"f":"`````````````````````{ce{}{}}0000000000000{bb}{dd}{ff}{hh}{jj}{ll}{{ce}n{}{}}00000`{{}d}{{}A`}{{bb}Ab}{{dd}Ab}{{ff}Ab}{{hh}Ab}{{jj}Ab}{{ll}Ab}{{bAd}Af}{{dAd}Af}{{fAd}Af}{{hAd}Af}{{jAd}Af}{{lAd}Af}{cc{}}000000`{ce{}{}}000000{bAb}?{{Ahcegl{Al{Aj}}}b{{B`{}{{An{Ab}}}}}B`{{B`{AhAb}}}}`{A`n}{A`Ab}1444444{c{{Bb{e}}}{}{}}0000000000000{cBd{}}000000{{Ahj}Ah}{{Ahce}d{{Bf{l}{{An{h}}}}}{{B`{d}{{An{j}}}}}}{{Ahc}d{{B`{d}{{An{j}}}}}}{{AhAhce}d{{B`{}{{An{f}}}}}{{B`{fd}{{An{j}}}}}}`{Ahn}0","c":[],"p":[[6,"ParkResult",0],[5,"UnparkResult",0],[6,"RequeueOp",0],[6,"FilterOp",0],[5,"UnparkToken",0],[5,"ParkToken",0],[1,"unit"],[5,"SpinWait",0],[1,"bool"],[5,"Formatter",118],[8,"Result",118],[1,"usize"],[5,"Instant",119],[6,"Option",120],[17,"Output"],[10,"FnOnce",121],[6,"Result",122],[5,"TypeId",123],[10,"FnMut",121]],"b":[]}],\ ["pin_project_lite",{"doc":"A lightweight version of pin-project written with …","t":"Q","n":["pin_project"],"q":[[0,"pin_project_lite"]],"d":["A macro that creates a projection type covering all the …"],"i":[0],"f":"`","c":[],"p":[],"b":[]}],\ -["ping_rs",{"doc":"","t":"PPGPPCNNHCCCCNNNNCCCNNNNNPFPFPFPFPFPFGFPFPFPFPFPFPFPFPFPFPFPFPFPFPFOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNOONNNNNNNNNNNNNNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOFNNNNNNNNNNPFPFPFPFGPFFPFPFOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOPPPFGGPPPPGPPPPNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNPPGNNNNNNNNNKKSKKFKNNNNONNNMMNONNNNMNNMOMMNNOOMNNNNONNNNNNPFPFPFPPFFPFPFPFPFGPFPFPFPFFPFPFPFPFPFPFPFPFPFPFPFPFPFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOPFPFPFPFGPFFPFPFOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNONNNNNNNNNNNNNOOOOOOOOOOOOOOOOONNNNNNNNOOOOONNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Bluebps","Common","Messages","Ping1D","Ping360","bluebps","borrow","borrow_mut","calculate_crc","codec","common","decoder","error","fmt","from","inner","into","message","ping1d","ping360","try_from","try_from","try_from","try_into","type_id","CellTimeout","CellTimeoutStruct","CellVoltageMin","CellVoltageMinStruct","CurrentMax","CurrentMaxStruct","CurrentTimeout","CurrentTimeoutStruct","EraseFlash","EraseFlashStruct","Events","EventsStruct","Messages","PingProtocolHead","Reboot","RebootStruct","ResetDefaults","ResetDefaultsStruct","SetCellVoltageMinimum","SetCellVoltageMinimumStruct","SetCellVoltageTimeout","SetCellVoltageTimeoutStruct","SetCurrentMax","SetCurrentMaxStruct","SetCurrentTimeout","SetCurrentTimeoutStruct","SetLpfSampleFrequency","SetLpfSampleFrequencyStruct","SetLpfSetting","SetLpfSettingStruct","SetStreamRate","SetStreamRateStruct","SetTemperatureMax","SetTemperatureMaxStruct","SetTemperatureTimeout","SetTemperatureTimeoutStruct","State","StateStruct","TemperatureMax","TemperatureMaxStruct","TemperatureTimeout","TemperatureTimeoutStruct","battery_current","battery_temperature","battery_voltage","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cell_voltages","cell_voltages_length","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cpu_temperature","current","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","flags","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","goto_bootloader","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","limit","limit","limit","limit","limit","limit","message_id","message_id_from_name","message_name","rate","sample_frequency","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","setting","source_device_id","temperature","timeout","timeout","timeout","timeout","timeout","timeout","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","voltage","PingCodec","borrow","borrow_mut","decode","encode","from","into","new","try_from","try_into","type_id","Ack","AckStruct","AsciiText","AsciiTextStruct","DeviceInformation","DeviceInformationStruct","GeneralRequest","GeneralRequestStruct","Messages","Nack","NackStruct","PingProtocolHead","ProtocolVersion","ProtocolVersionStruct","SetDeviceId","SetDeviceIdStruct","acked_id","ascii_message","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","device_id","device_revision","device_type","eq","eq","eq","eq","eq","eq","eq","eq","eq","firmware_version_major","firmware_version_minor","firmware_version_patch","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","message_id","message_id_from_name","message_name","nack_message","nacked_id","requested_id","reserved","reserved","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source_device_id","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version_major","version_minor","version_patch","AwaitingStart1","AwaitingStart2","ChecksumError","Decoder","DecoderResult","DecoderState","Error","InProgress","IncompleteData","InvalidStartByte","ParseError","ReadingChecksum","ReadingHeader","ReadingPayload","Success","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","eq","fmt","fmt","fmt","from","from","from","from","into","into","into","into","new","parse_byte","state","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","Io","ParseError","PingError","borrow","borrow_mut","fmt","from","from","into","try_from","try_into","type_id","DeserializeGenericMessage","DeserializePayload","HEADER","MessageInfo","PingMessage","ProtocolMessage","SerializePayload","borrow","borrow_mut","calculate_crc","checksum","checksum","clone","clone_into","default","deserialize","deserialize","dst_device_id","dst_device_id","eq","fmt","from","has_valid_crc","id","into","length","message_id","message_id","message_id_from_name","message_name","new","payload","payload","payload_length","serialize","serialized","set_dst_device_id","set_message","set_src_device_id","src_device_id","to_owned","try_from","try_into","type_id","update_checksum","write","ContinuousStart","ContinuousStartStruct","ContinuousStop","ContinuousStopStruct","DeviceId","DeviceIdStruct","Distance","DistanceSimple","DistanceSimpleStruct","DistanceStruct","FirmwareVersion","FirmwareVersionStruct","GainSetting","GainSettingStruct","GeneralInfo","GeneralInfoStruct","GotoBootloader","GotoBootloaderStruct","Messages","ModeAuto","ModeAutoStruct","PcbTemperature","PcbTemperatureStruct","PingEnable","PingEnableStruct","PingInterval","PingIntervalStruct","PingProtocolHead","ProcessorTemperature","ProcessorTemperatureStruct","Profile","ProfileStruct","Range","RangeStruct","SetDeviceId","SetDeviceIdStruct","SetGainSetting","SetGainSettingStruct","SetModeAuto","SetModeAutoStruct","SetPingEnable","SetPingEnableStruct","SetPingInterval","SetPingIntervalStruct","SetRange","SetRangeStruct","SetSpeedOfSound","SetSpeedOfSoundStruct","SpeedOfSound","SpeedOfSoundStruct","TransmitDuration","TransmitDurationStruct","Voltage5","Voltage5Struct","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","confidence","confidence","confidence","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","device_id","device_id","device_model","device_type","distance","distance","distance","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","firmware_version_major","firmware_version_major","firmware_version_minor","firmware_version_minor","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","gain_setting","gain_setting","gain_setting","gain_setting","gain_setting","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","message_id","message_id_from_name","message_name","mode_auto","mode_auto","mode_auto","pcb_temperature","ping_enabled","ping_enabled","ping_interval","ping_interval","ping_interval","ping_number","ping_number","processor_temperature","profile_data","profile_data_length","scan_length","scan_length","scan_length","scan_length","scan_start","scan_start","scan_start","scan_start","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source_device_id","speed_of_sound","speed_of_sound","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","transmit_duration","transmit_duration","transmit_duration","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","voltage_5","voltage_5","AutoDeviceData","AutoDeviceDataStruct","AutoTransmit","AutoTransmitStruct","DeviceData","DeviceDataStruct","DeviceId","DeviceIdStruct","Messages","MotorOff","MotorOffStruct","PingProtocolHead","Reset","ResetStruct","Transducer","TransducerStruct","angle","angle","angle","bootloader","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","data","data","data_length","data_length","default","default","default","default","default","default","default","default","delay","delay","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","gain_setting","gain_setting","gain_setting","gain_setting","id","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","message_id","message_id_from_name","message_name","mode","mode","mode","mode","num_steps","num_steps","number_of_samples","number_of_samples","number_of_samples","number_of_samples","reserved","reserved","reserved","sample_period","sample_period","sample_period","sample_period","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source_device_id","start_angle","start_angle","stop_angle","stop_angle","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","transmit","transmit_duration","transmit_duration","transmit_duration","transmit_duration","transmit_frequency","transmit_frequency","transmit_frequency","transmit_frequency","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id"],"q":[[0,"ping_rs"],[25,"ping_rs::bluebps"],[446,"ping_rs::codec"],[457,"ping_rs::common"],[634,"ping_rs::decoder"],[684,"ping_rs::error"],[696,"ping_rs::message"],[742,"ping_rs::ping1d"],[1295,"ping_rs::ping360"],[1501,"core::fmt"],[1502,"core::fmt"],[1503,"core::result"],[1504,"alloc::vec"],[1505,"core::any"],[1506,"alloc::string"],[1507,"bytes::bytes_mut"],[1508,"std::io::error"],[1509,"std::io"],[1510,"std::io::error"]],"d":["","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","Get the undervoltage timeout","","Get the minimum allowed cell voltage","","get the maximum allowed battery current","","Get the over-current timeout","","Erase flash, including parameter configuration and event …","","A record of events causing a power lock-out. These numbers …","","","","reboot the system","","Reset parameter configuration to default values.","","Set the minimum allowed cell voltage","","Set the under-voltage timeout","","Set the maximum allowed battery current","","Set the over-current timeout","","the frequency to take adc samples and run the filter.","","Low pass filter setting. This value represents x in the …","","Set the frequency to automatically output state messages.","","Set the maximum allowed battery temperature","","Set the over-temperature timeout","","Get the current state of the device","","Get the maximum allowed battery temperature","","Get the over-temperature timeout","The current measurement","The battery temperature","The main battery voltage","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Array containing cell voltages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The cpu temperature","The number of over-current events","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","flags indicating if any of the configured limits are …","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","0 = normal reboot, run main application after reboot 1 = …","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","The maximum allowed battery current 0~20000 = 0~200A","The minimum voltage allowed for any individual cell. …","The minimum voltage allowed for any individual cell. …","The minimum voltage allowed for any individual cell. …","The maximum temperature allowed at the thermistor probe …","The maximum allowed battery current 0~20000 = 0~200A","","","","Rate to stream state messages. 0~100000Hz","sample frequency in Hz. 1~100000","","","","","","","","","","","","","","","","","","","","","","0~999: x = 0~0.999","","The number of over-temperature events","If an individual cell exceeds the configured limit for …","If an individual cell exceeds the configured limit for …","If the battery temperature exceeds the configured limit …","If the battery current exceeds the configured limit for …","If the battery temperature exceeds the configured limit …","If the battery current exceeds the configured limit for …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The number of under-voltage events","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","Acknowledged.","","A message for transmitting text data.","","Device information","","Requests a specific message to be sent from the sonar to …","","","Not acknowledged.","","","The protocol version","","Set the device ID.","The message ID that is ACKnowledged.","ASCII text message. (not necessarily NULL terminated)","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Device ID (1-254). 0 is unknown and 255 is reserved for …","device-specific hardware revision","Device type. 0: Unknown; 1: Ping Echosounder; 2: Ping360","","","","","","","","","","Firmware version major number.","Firmware version minor number.","Firmware version patch number.","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","ASCII text message indicating NACK condition. (not …","The message ID that is Not ACKnowledged.","Message ID to be requested.","reserved","reserved","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Protocol version major number.","Protocol version minor number.","Protocol version patch number.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","Message Format","","","","","","","","","","","","","","","","","Command to initiate continuous data stream of profile …","","Command to stop the continuous data stream of profile …","","The device ID.","","","The distance to target with confidence estimate.","The distance to target with confidence estimate. Relevant …","","Device information","","The current gain setting.","","General information.","","Send the device into the bootloader. This is useful for …","","","The current operating mode of the device. Manual mode …","","Temperature of the on-board thermistor.","","Acoustic output enabled state.","","The interval between acoustic measurements.","","","Temperature of the device cpu.","","A profile produced from a single acoustic measurement. The …","","The scan range for acoustic measurements. Measurements …","","Set the device ID.","","Set the current gain setting.","","Set automatic or manual mode. Manual mode allows for …","","Enable or disable acoustic measurements.","","The interval between acoustic measurements.","","Set the scan range for acoustic measurements.","","Set the speed of sound used for distance calculations.","","The speed of sound used for distance calculations.","","The duration of the acoustic activation/transmission.","","The 5V rail voltage.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Confidence in the most recent range measurement.","Confidence in the most recent range measurement.","Confidence in the distance measurement.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The device ID (0-254). 255 is reserved for broadcast …","Device ID (0-254). 255 is reserved for broadcast messages.","Device model. 0: Unknown; 1: Ping1D","Device type. 0: Unknown; 1: Echosounder","The current return distance determined for the most recent …","The current return distance determined for the most recent …","Distance to the target.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Firmware major version.","Firmware version major number.","Firmware minor version.","Firmware version minor number.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","","","","","","","","","","","","","","","","","","","","","","","","","","","The message id to stop streaming. 1300: profile","The message id to stream. 1300: profile","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","The current operating mode of the device. 0: manual mode, …","0: manual mode, 1: auto mode","0: manual mode. 1: auto mode.","The temperature in centi-degrees Centigrade (100 * degrees …","The state of the acoustic output. 0: disabled, 1:enabled","0: Disable, 1: Enable.","The interval between acoustic measurements.","The minimum interval between acoustic measurements. The …","The interval between acoustic measurements.","The pulse/measurement count since boot.","The pulse/measurement count since boot.","The temperature in centi-degrees Centigrade (100 * degrees …","","An array of return strength measurements taken at regular …","The length of the scan region.","The length of the scan region.","The length of the scan range.","The length of the scan range.","The beginning of the scan region in mm from the transducer.","The beginning of the scan region in mm from the transducer.","Not documented","The beginning of the scan range in mm from the transducer.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The speed of sound in the measurement medium. ~1,500,000 …","The speed of sound in the measurement medium. ~1,500,000 …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The acoustic pulse length during acoustic …","The acoustic pulse length during acoustic …","Acoustic pulse duration.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Device supply voltage.","The 5V rail voltage.","","Extended version of device_data with auto_transmit …","","Extended transducer message with auto-scan function. The …","","This message is used to communicate the current sonar …","","Change the device id","","","The sonar switches the current through the stepper motor …","","","Reset the sonar. The bootloader may run depending on the …","","The transducer will apply the commanded settings. The …","Head angle","Head angle","Head angle","0 = skip bootloader; 1 = run bootloader","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","8 bit binary data array representing sonar echo strength","8 bit binary data array representing sonar echo strength","","","","","","","","","An additional delay between successive transmit pulses …","An additional delay between successive transmit pulses …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Analog gain setting (0 = low, 1 = normal, 2 = high)","Analog gain setting (0 = low, 1 = normal, 2 = high)","Analog gain setting (0 = low, 1 = normal, 2 = high)","Analog gain setting (0 = low, 1 = normal, 2 = high)","","","","","","","","Device ID (1-254). 0 and 255 are reserved.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","Operating mode (1 for Ping360)","Operating mode (1 for Ping360)","Operating mode (1 for Ping360)","Operating mode (1 for Ping360)","Number of 0.9 degree motor steps between pings for auto …","Number of 0.9 degree motor steps between pings for auto …","Number of samples per reflected signal","Number of samples per reflected signal","Number of samples per reflected signal","Number of samples per reflected signal","reserved","reserved","reserved","Time interval between individual signal intensity samples …","Time interval between individual signal intensity samples …","Time interval between individual signal intensity samples …","Time interval between individual signal intensity samples …","","","","","","","","","","Head angle to begin scan sector for autoscan in gradians …","Head angle to begin scan sector for autoscan in gradians …","Head angle to end scan sector for autoscan in gradians …","Head angle to end scan sector for autoscan in gradians …","","","","","","","","","","0 = do not transmit; 1 = transmit after the transducer has …","Acoustic transmission duration (1~1000 microseconds)","Acoustic transmission duration (1~1000 microseconds)","Acoustic transmission duration (1~1000 microseconds)","Acoustic transmission duration (1~1000 microseconds)","Acoustic operating frequency. Frequency range is 500kHz to …","Acoustic operating frequency. Frequency range is 500kHz to …","Acoustic operating frequency. Frequency range is 500kHz to …","Acoustic operating frequency. Frequency range is 500kHz to …","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[4,4,0,4,4,0,4,4,0,0,0,0,0,4,4,4,4,0,0,0,4,4,4,4,4,13,0,13,0,13,0,13,0,13,0,13,0,0,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,33,33,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,33,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,33,20,12,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,27,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,13,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,15,16,18,21,23,25,13,13,13,30,24,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,32,12,20,14,19,26,28,29,31,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,20,0,38,38,38,38,38,38,38,38,38,38,41,0,41,0,41,0,41,0,0,41,0,0,41,0,41,0,42,44,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,42,43,44,45,46,47,48,41,42,43,44,45,46,47,48,40,47,45,45,40,41,42,43,44,45,46,47,48,45,45,45,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,42,43,44,45,46,47,48,41,40,41,42,43,44,45,46,47,48,41,41,41,43,43,48,45,46,41,42,43,44,45,46,47,48,40,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,46,46,46,51,51,49,0,0,0,50,50,49,49,0,51,51,51,50,52,49,50,51,52,49,50,51,49,49,50,51,52,49,50,51,52,49,50,51,52,52,52,52,49,50,51,52,49,50,51,52,49,50,51,53,53,0,53,53,53,53,53,53,53,53,53,0,0,0,0,0,0,0,8,8,8,8,8,8,8,8,55,56,8,8,8,8,8,8,99,8,8,58,8,58,58,8,8,8,8,59,8,8,8,8,8,8,8,8,8,8,8,63,0,63,0,63,0,63,63,0,0,63,0,63,0,63,0,63,0,0,63,0,63,0,63,0,63,0,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,64,70,78,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,65,73,87,87,64,70,78,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,71,87,71,87,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,64,67,70,71,74,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,68,81,63,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,63,63,63,71,72,79,66,84,89,71,83,85,64,70,75,70,70,64,70,76,88,64,70,76,88,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,69,80,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,64,70,82,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,71,86,91,0,91,0,91,0,91,0,0,91,0,0,91,0,91,0,94,95,97,96,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,94,97,94,97,90,92,93,94,95,96,97,98,93,97,91,92,93,94,95,96,97,98,90,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,93,94,95,97,92,93,94,95,96,97,98,98,91,90,91,92,93,94,95,96,97,98,91,91,91,93,94,95,97,93,97,93,94,95,97,95,96,98,93,94,95,97,91,92,93,94,95,96,97,98,90,93,97,93,97,90,91,92,93,94,95,96,97,98,95,93,94,95,97,93,94,95,97,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98],"f":"``````{ce{}{}}0{{{d{b}}}f}````{{hj}l}{cc{}}{h{{n{c}}}{}}4```{A`{{Ab{hc}}}{}}{c{{Ab{e}}}{}{}}{{{Ad{b}}}{{Ab{hc}}}{}}1{cAf{}}`````````````````````````````````````````````88888888888888888888888888888888888888888888``{AhAh}{AjAj}{AlAl}{AnAn}{B`B`}{BbBb}{BdBd}{BfBf}{BhBh}{BjBj}{BlBl}{BnBn}{C`C`}{CbCb}{CdCd}{CfCf}{ChCh}{CjCj}{ClCl}{CnCn}{D`D`}{DbDb}{{ce}Dd{}{}}000000000000000000000``{{}Ah}{{}Al}{{}An}{{}B`}{{}Bb}{{}Bd}{{}Bf}{{}Bh}{{}Bj}{{}Bl}{{}Bn}{{}C`}{{}Cb}{{}Cd}{{}Cf}{{}Ch}{{}Cj}{{}Cl}{{}Cn}{{}D`}{{}Db}{{f{d{b}}}{{Ab{AjDf}}}}{{{d{b}}}Al}{{{d{b}}}An}{{{d{b}}}B`}{{{d{b}}}Bb}{{{d{b}}}Bd}{{{d{b}}}Bf}{{{d{b}}}Bh}{{{d{b}}}Bj}{{{d{b}}}Bl}{{{d{b}}}Bn}{{{d{b}}}C`}{{{d{b}}}Cb}{{{d{b}}}Cd}{{{d{b}}}Cf}{{{d{b}}}Ch}{{{d{b}}}Cj}{{{d{b}}}Cl}{{{d{b}}}Cn}{{{d{b}}}D`}{{{d{b}}}Db}`{{AhAh}Dh}{{AjAj}Dh}{{AlAl}Dh}{{AnAn}Dh}{{B`B`}Dh}{{BbBb}Dh}{{BdBd}Dh}{{BfBf}Dh}{{BhBh}Dh}{{BjBj}Dh}{{BlBl}Dh}{{BnBn}Dh}{{C`C`}Dh}{{CbCb}Dh}{{CdCd}Dh}{{CfCf}Dh}{{ChCh}Dh}{{CjCj}Dh}{{ClCl}Dh}{{CnCn}Dh}{{D`D`}Dh}{{DbDb}Dh}`{{Ahj}l}{{Ajj}l}{{Alj}l}{{Anj}l}{{B`j}l}{{Bbj}l}{{Bdj}l}{{Bfj}l}{{Bhj}l}{{Bjj}l}{{Blj}l}{{Bnj}l}{{C`j}l}{{Cbj}l}{{Cdj}l}{{Cfj}l}{{Chj}l}{{Cjj}l}{{Clj}l}{{Cnj}l}{{D`j}l}{{Dbj}l}{cc{}}000000000000000000000`{{}f}0000000000000000000{Aj{{n{c}}}{}}{ce{}{}}000000000000000000000``````{Ajf}{Df{{Ab{fDj}}}}{AjDf}``{Aj{{Ad{b}}}}{Al{{Ad{b}}}}{An{{Ad{b}}}}{B`{{Ad{b}}}}{Bb{{Ad{b}}}}{Bd{{Ad{b}}}}{Bf{{Ad{b}}}}{Bh{{Ad{b}}}}{Bj{{Ad{b}}}}{Bl{{Ad{b}}}}{Bn{{Ad{b}}}}{C`{{Ad{b}}}}{Cb{{Ad{b}}}}{Cd{{Ad{b}}}}{Cf{{Ad{b}}}}{Ch{{Ad{b}}}}{Cj{{Ad{b}}}}{Cl{{Ad{b}}}}{Cn{{Ad{b}}}}{D`{{Ad{b}}}}{Db{{Ad{b}}}}`````````{ce{}{}}000000000000000000000{c{{Ab{e}}}{}{}}0000000000000000000000000000000000000000000{cAf{}}000000000000000000000``22{{DlDn}{{Ab{{n{c}}e}}}{}{}}{{DlA`Dn}{{Ab{Ddc}}}{}}{cc{}}5{{}Dl}554``````````````````666666666666666666{E`E`}{EbEb}{EdEd}{EfEf}{EhEh}{EjEj}{ElEl}{EnEn}{F`F`}{{ce}Dd{}{}}00000000{{}E`}{{}Ed}{{}Ef}{{}Eh}{{}Ej}{{}El}{{}En}{{}F`}{{f{d{b}}}{{Ab{EbDf}}}}{{{d{b}}}Ed}{{{d{b}}}Ef}{{{d{b}}}Eh}{{{d{b}}}Ej}{{{d{b}}}El}{{{d{b}}}En}{{{d{b}}}F`}````{{E`E`}Dh}{{EbEb}Dh}{{EdEd}Dh}{{EfEf}Dh}{{EhEh}Dh}{{EjEj}Dh}{{ElEl}Dh}{{EnEn}Dh}{{F`F`}Dh}```{{E`j}l}{{Ebj}l}{{Edj}l}{{Efj}l}{{Ehj}l}{{Ejj}l}{{Elj}l}{{Enj}l}{{F`j}l}{cc{}}00000000{{}f}000000{Eb{{n{c}}}{}}{ce{}{}}00000000{Ebf}{Df{{Ab{fDj}}}}{EbDf}`````{Eb{{Ad{b}}}}{Ed{{Ad{b}}}}{Ef{{Ad{b}}}}{Eh{{Ad{b}}}}{Ej{{Ad{b}}}}{El{{Ad{b}}}}{En{{Ad{b}}}}{F`{{Ad{b}}}}`;;;;;;;;;{c{{Ab{e}}}{}{}}00000000000000000{cAf{}}00000000``````````````````========{{FbFb}Dh}{{Fbj}l}{{Fdj}l}{{Ffj}l}{cc{}}000{ce{}{}}000{{}Fh}{{Fhb}Fd}`999999998888```22{{Fjj}l}{FlFj}54;;:```````44{A`f}0`{A`A`}{{ce}Dd{}{}}{{}A`}{{{d{b}}}Fn}{{f{d{b}}}{{Ab{G`Df}}}}{A`b}`{{A`A`}Dh}{{A`j}l}>{A`Dh}{{}f}?{A`Gb}{Gdf}`{Df{{Ab{fDj}}}}{GdDf};{A`{{d{b}}}}``{Gf{{Ad{b}}}}{A`{{Ad{b}}}}{{A`b}Dd}{{A`c}DdGd}1`{ce{}{}}{c{{Ab{e}}}{}{}}0{cAf{}}{A`Dd}{{A`Gh}{{Gj{Gb}}}}``````````````````````````````````````````````````````44444444444444444444444444444444444444444444444444444444{GlGl}{GnGn}{H`H`}{HbHb}{HdHd}{HfHf}{HhHh}{HjHj}{HlHl}{HnHn}{I`I`}{IbIb}{IdId}{IfIf}{IhIh}{IjIj}{IlIl}{InIn}{J`J`}{JbJb}{JdJd}{JfJf}{JhJh}{JjJj}{JlJl}{JnJn}{K`K`}{KbKb}{{ce}Dd{}{}}000000000000000000000000000```{{}Gl}{{}H`}{{}Hb}{{}Hd}{{}Hf}{{}Hh}{{}Hj}{{}Hl}{{}Hn}{{}I`}{{}Ib}{{}Id}{{}If}{{}Ih}{{}Ij}{{}Il}{{}In}{{}J`}{{}Jb}{{}Jd}{{}Jf}{{}Jh}{{}Jj}{{}Jl}{{}Jn}{{}K`}{{}Kb}{{f{d{b}}}{{Ab{GnDf}}}}{{{d{b}}}H`}{{{d{b}}}Hb}{{{d{b}}}Hd}{{{d{b}}}Hf}{{{d{b}}}Hh}{{{d{b}}}Hj}{{{d{b}}}Hl}{{{d{b}}}Hn}{{{d{b}}}I`}{{{d{b}}}Ib}{{{d{b}}}Id}{{{d{b}}}If}{{{d{b}}}Ih}{{{d{b}}}Ij}{{{d{b}}}Il}{{{d{b}}}In}{{{d{b}}}J`}{{{d{b}}}Jb}{{{d{b}}}Jd}{{{d{b}}}Jf}{{{d{b}}}Jh}{{{d{b}}}Jj}{{{d{b}}}Jl}{{{d{b}}}Jn}{{{d{b}}}K`}{{{d{b}}}Kb}````````{{GlGl}Dh}{{GnGn}Dh}{{H`H`}Dh}{{HbHb}Dh}{{HdHd}Dh}{{HfHf}Dh}{{HhHh}Dh}{{HjHj}Dh}{{HlHl}Dh}{{HnHn}Dh}{{I`I`}Dh}{{IbIb}Dh}{{IdId}Dh}{{IfIf}Dh}{{IhIh}Dh}{{IjIj}Dh}{{IlIl}Dh}{{InIn}Dh}{{J`J`}Dh}{{JbJb}Dh}{{JdJd}Dh}{{JfJf}Dh}{{JhJh}Dh}{{JjJj}Dh}{{JlJl}Dh}{{JnJn}Dh}{{K`K`}Dh}{{KbKb}Dh}````{{Glj}l}{{Gnj}l}{{H`j}l}{{Hbj}l}{{Hdj}l}{{Hfj}l}{{Hhj}l}{{Hjj}l}{{Hlj}l}{{Hnj}l}{{I`j}l}{{Ibj}l}{{Idj}l}{{Ifj}l}{{Ihj}l}{{Ijj}l}{{Ilj}l}{{Inj}l}{{J`j}l}{{Jbj}l}{{Jdj}l}{{Jfj}l}{{Jhj}l}{{Jjj}l}{{Jlj}l}{{Jnj}l}{{K`j}l}{{Kbj}l}{cc{}}000000000000000000000000000`````{{}f}0000000000000000000000000``{Gn{{n{c}}}{}}{ce{}{}}000000000000000000000000000{Gnf}{Df{{Ab{fDj}}}}{GnDf}``````````````````````{Gn{{Ad{b}}}}{H`{{Ad{b}}}}{Hb{{Ad{b}}}}{Hd{{Ad{b}}}}{Hf{{Ad{b}}}}{Hh{{Ad{b}}}}{Hj{{Ad{b}}}}{Hl{{Ad{b}}}}{Hn{{Ad{b}}}}{I`{{Ad{b}}}}{Ib{{Ad{b}}}}{Id{{Ad{b}}}}{If{{Ad{b}}}}{Ih{{Ad{b}}}}{Ij{{Ad{b}}}}{Il{{Ad{b}}}}{In{{Ad{b}}}}{J`{{Ad{b}}}}{Jb{{Ad{b}}}}{Jd{{Ad{b}}}}{Jf{{Ad{b}}}}{Jh{{Ad{b}}}}{Jj{{Ad{b}}}}{Jl{{Ad{b}}}}{Jn{{Ad{b}}}}{K`{{Ad{b}}}}{Kb{{Ad{b}}}}```{ce{}{}}000000000000000000000000000```{c{{Ab{e}}}{}{}}0000000000000000000000000000000000000000000000000000000{cAf{}}000000000000000000000000000``````````````````````222222222222222222{KdKd}{KfKf}{KhKh}{KjKj}{KlKl}{KnKn}{L`L`}{LbLb}{LdLd}{{ce}Dd{}{}}00000000````{{}Kd}{{}Kh}{{}Kj}{{}Kl}{{}Kn}{{}L`}{{}Lb}{{}Ld}``{{f{d{b}}}{{Ab{KfDf}}}}{{{d{b}}}Kh}{{{d{b}}}Kj}{{{d{b}}}Kl}{{{d{b}}}Kn}{{{d{b}}}L`}{{{d{b}}}Lb}{{{d{b}}}Ld}`{{KdKd}Dh}{{KfKf}Dh}{{KhKh}Dh}{{KjKj}Dh}{{KlKl}Dh}{{KnKn}Dh}{{L`L`}Dh}{{LbLb}Dh}{{LdLd}Dh}{{Kdj}l}{{Kfj}l}{{Khj}l}{{Kjj}l}{{Klj}l}{{Knj}l}{{L`j}l}{{Lbj}l}{{Ldj}l}{cc{}}00000000````{{}f}000000`{Kf{{n{c}}}{}}{ce{}{}}00000000{Kff}{Df{{Ab{fDj}}}}{KfDf}`````````````````{Kf{{Ad{b}}}}{Kh{{Ad{b}}}}{Kj{{Ad{b}}}}{Kl{{Ad{b}}}}{Kn{{Ad{b}}}}{L`{{Ad{b}}}}{Lb{{Ad{b}}}}{Ld{{Ad{b}}}}`````;;;;;;;;;`````````{c{{Ab{e}}}{}{}}00000000000000000{cAf{}}00000000","c":[],"p":[[1,"u8"],[1,"slice"],[1,"u16"],[6,"Messages",0],[5,"Formatter",1501],[8,"Result",1501],[6,"Option",1502],[5,"ProtocolMessage",696],[6,"Result",1503],[5,"Vec",1504],[5,"TypeId",1505],[5,"PingProtocolHead",25],[6,"Messages",25],[5,"CellTimeoutStruct",25],[5,"CurrentMaxStruct",25],[5,"CellVoltageMinStruct",25],[5,"EraseFlashStruct",25],[5,"TemperatureMaxStruct",25],[5,"SetCellVoltageTimeoutStruct",25],[5,"EventsStruct",25],[5,"SetCellVoltageMinimumStruct",25],[5,"ResetDefaultsStruct",25],[5,"SetTemperatureMaxStruct",25],[5,"SetLpfSampleFrequencyStruct",25],[5,"SetCurrentMaxStruct",25],[5,"TemperatureTimeoutStruct",25],[5,"RebootStruct",25],[5,"SetCurrentTimeoutStruct",25],[5,"SetTemperatureTimeoutStruct",25],[5,"SetStreamRateStruct",25],[5,"CurrentTimeoutStruct",25],[5,"SetLpfSettingStruct",25],[5,"StateStruct",25],[1,"unit"],[1,"str"],[1,"bool"],[5,"String",1506],[5,"PingCodec",446],[5,"BytesMut",1507],[5,"PingProtocolHead",457],[6,"Messages",457],[5,"AckStruct",457],[5,"NackStruct",457],[5,"AsciiTextStruct",457],[5,"DeviceInformationStruct",457],[5,"ProtocolVersionStruct",457],[5,"SetDeviceIdStruct",457],[5,"GeneralRequestStruct",457],[6,"ParseError",634],[6,"DecoderResult",634],[6,"DecoderState",634],[5,"Decoder",634],[6,"PingError",684],[5,"Error",1508],[10,"DeserializePayload",696],[10,"DeserializeGenericMessage",696],[1,"usize"],[10,"PingMessage",696],[10,"SerializePayload",696],[10,"Write",1509],[8,"Result",1508],[5,"PingProtocolHead",742],[6,"Messages",742],[5,"DistanceStruct",742],[5,"DeviceIdStruct",742],[5,"PcbTemperatureStruct",742],[5,"GainSettingStruct",742],[5,"ContinuousStopStruct",742],[5,"SetSpeedOfSoundStruct",742],[5,"ProfileStruct",742],[5,"GeneralInfoStruct",742],[5,"ModeAutoStruct",742],[5,"SetDeviceIdStruct",742],[5,"SetGainSettingStruct",742],[5,"ProcessorTemperatureStruct",742],[5,"SetRangeStruct",742],[5,"GotoBootloaderStruct",742],[5,"DistanceSimpleStruct",742],[5,"SetModeAutoStruct",742],[5,"SpeedOfSoundStruct",742],[5,"ContinuousStartStruct",742],[5,"TransmitDurationStruct",742],[5,"PingIntervalStruct",742],[5,"PingEnableStruct",742],[5,"SetPingIntervalStruct",742],[5,"Voltage5Struct",742],[5,"FirmwareVersionStruct",742],[5,"RangeStruct",742],[5,"SetPingEnableStruct",742],[5,"PingProtocolHead",1295],[6,"Messages",1295],[5,"MotorOffStruct",1295],[5,"AutoTransmitStruct",1295],[5,"DeviceDataStruct",1295],[5,"TransducerStruct",1295],[5,"ResetStruct",1295],[5,"AutoDeviceDataStruct",1295],[5,"DeviceIdStruct",1295],[10,"MessageInfo",696]],"b":[[20,"impl-TryFrom%3C%26ProtocolMessage%3E-for-Messages"],[22,"impl-TryFrom%3C%26Vec%3Cu8%3E%3E-for-Messages"]]}],\ +["ping_rs",{"doc":"","t":"PPGPPCNNHCCCCNNNNCCCNNNNNPFPFPFPFPFPFGFPFPFPFPFPFPFPFPFPFPFPFPFPFPFOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOONNNOONNNNNNNNNNNNNNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOFNNNNNNNNNNPFPFPFPFGPFFPFPFOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOPPPFGGPPPPGPPPPNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNPPGNNNNNNNNNKKSKKFKNNNNONNNMMNONNNNMNNMOMMNNOOMNNNNONNNNNNPFPFPFPPFFPFPFPFPFGPFPFPFPFFPFPFPFPFPFPFPFPFPFPFPFPFPFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOPFPFPFPFGPFFPFPFOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNONNNNNNNNNNNNNOOOOOOOOOOOOOOOOONNNNNNNNOOOOONNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Bluebps","Common","Messages","Ping1D","Ping360","bluebps","borrow","borrow_mut","calculate_crc","codec","common","decoder","error","fmt","from","inner","into","message","ping1d","ping360","try_from","try_from","try_from","try_into","type_id","CellTimeout","CellTimeoutStruct","CellVoltageMin","CellVoltageMinStruct","CurrentMax","CurrentMaxStruct","CurrentTimeout","CurrentTimeoutStruct","EraseFlash","EraseFlashStruct","Events","EventsStruct","Messages","PingProtocolHead","Reboot","RebootStruct","ResetDefaults","ResetDefaultsStruct","SetCellVoltageMinimum","SetCellVoltageMinimumStruct","SetCellVoltageTimeout","SetCellVoltageTimeoutStruct","SetCurrentMax","SetCurrentMaxStruct","SetCurrentTimeout","SetCurrentTimeoutStruct","SetLpfSampleFrequency","SetLpfSampleFrequencyStruct","SetLpfSetting","SetLpfSettingStruct","SetStreamRate","SetStreamRateStruct","SetTemperatureMax","SetTemperatureMaxStruct","SetTemperatureTimeout","SetTemperatureTimeoutStruct","State","StateStruct","TemperatureMax","TemperatureMaxStruct","TemperatureTimeout","TemperatureTimeoutStruct","battery_current","battery_temperature","battery_voltage","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","cell_voltages","cell_voltages_length","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cpu_temperature","current","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","flags","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","goto_bootloader","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","limit","limit","limit","limit","limit","limit","message_id","message_id_from_name","message_name","rate","sample_frequency","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","setting","source_device_id","temperature","timeout","timeout","timeout","timeout","timeout","timeout","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","voltage","PingCodec","borrow","borrow_mut","decode","encode","from","into","new","try_from","try_into","type_id","Ack","AckStruct","AsciiText","AsciiTextStruct","DeviceInformation","DeviceInformationStruct","GeneralRequest","GeneralRequestStruct","Messages","Nack","NackStruct","PingProtocolHead","ProtocolVersion","ProtocolVersionStruct","SetDeviceId","SetDeviceIdStruct","acked_id","ascii_message","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","device_id","device_revision","device_type","eq","eq","eq","eq","eq","eq","eq","eq","eq","firmware_version_major","firmware_version_minor","firmware_version_patch","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","message_id","message_id_from_name","message_name","nack_message","nacked_id","requested_id","reserved","reserved","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source_device_id","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","version_major","version_minor","version_patch","AwaitingStart1","AwaitingStart2","ChecksumError","Decoder","DecoderResult","DecoderState","Error","InProgress","IncompleteData","InvalidStartByte","ParseError","ReadingChecksum","ReadingHeader","ReadingPayload","Success","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","eq","fmt","fmt","fmt","from","from","from","from","into","into","into","into","new","parse_byte","state","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","Io","ParseError","PingError","borrow","borrow_mut","fmt","from","from","into","try_from","try_into","type_id","DeserializeGenericMessage","DeserializePayload","HEADER","MessageInfo","PingMessage","ProtocolMessage","SerializePayload","borrow","borrow_mut","calculate_crc","checksum","checksum","clone","clone_into","default","deserialize","deserialize","dst_device_id","dst_device_id","eq","fmt","from","has_valid_crc","id","into","length","message_id","message_id","message_id_from_name","message_name","new","payload","payload","payload_length","serialize","serialized","set_dst_device_id","set_message","set_src_device_id","src_device_id","to_owned","try_from","try_into","type_id","update_checksum","write","ContinuousStart","ContinuousStartStruct","ContinuousStop","ContinuousStopStruct","DeviceId","DeviceIdStruct","Distance","DistanceSimple","DistanceSimpleStruct","DistanceStruct","FirmwareVersion","FirmwareVersionStruct","GainSetting","GainSettingStruct","GeneralInfo","GeneralInfoStruct","GotoBootloader","GotoBootloaderStruct","Messages","ModeAuto","ModeAutoStruct","PcbTemperature","PcbTemperatureStruct","PingEnable","PingEnableStruct","PingInterval","PingIntervalStruct","PingProtocolHead","ProcessorTemperature","ProcessorTemperatureStruct","Profile","ProfileStruct","Range","RangeStruct","SetDeviceId","SetDeviceIdStruct","SetGainSetting","SetGainSettingStruct","SetModeAuto","SetModeAutoStruct","SetPingEnable","SetPingEnableStruct","SetPingInterval","SetPingIntervalStruct","SetRange","SetRangeStruct","SetSpeedOfSound","SetSpeedOfSoundStruct","SpeedOfSound","SpeedOfSoundStruct","TransmitDuration","TransmitDurationStruct","Voltage5","Voltage5Struct","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","confidence","confidence","confidence","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","device_id","device_id","device_model","device_type","distance","distance","distance","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","firmware_version_major","firmware_version_major","firmware_version_minor","firmware_version_minor","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","gain_setting","gain_setting","gain_setting","gain_setting","gain_setting","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","into","message_id","message_id_from_name","message_name","mode_auto","mode_auto","mode_auto","pcb_temperature","ping_enabled","ping_enabled","ping_interval","ping_interval","ping_interval","ping_number","ping_number","processor_temperature","profile_data","profile_data_length","scan_length","scan_length","scan_length","scan_length","scan_start","scan_start","scan_start","scan_start","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source_device_id","speed_of_sound","speed_of_sound","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","transmit_duration","transmit_duration","transmit_duration","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","voltage_5","voltage_5","AutoDeviceData","AutoDeviceDataStruct","AutoTransmit","AutoTransmitStruct","DeviceData","DeviceDataStruct","DeviceId","DeviceIdStruct","Messages","MotorOff","MotorOffStruct","PingProtocolHead","Reset","ResetStruct","Transducer","TransducerStruct","angle","angle","angle","bootloader","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","data","data","data_length","data_length","default","default","default","default","default","default","default","default","delay","delay","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","deserialize","destiny_device_id","eq","eq","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","gain_setting","gain_setting","gain_setting","gain_setting","id","id","id","id","id","id","id","id","inner","into","into","into","into","into","into","into","into","into","message_id","message_id_from_name","message_name","mode","mode","mode","mode","num_steps","num_steps","number_of_samples","number_of_samples","number_of_samples","number_of_samples","reserved","reserved","reserved","sample_period","sample_period","sample_period","sample_period","serialize","serialize","serialize","serialize","serialize","serialize","serialize","serialize","source_device_id","start_angle","start_angle","stop_angle","stop_angle","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","transmit","transmit_duration","transmit_duration","transmit_duration","transmit_duration","transmit_frequency","transmit_frequency","transmit_frequency","transmit_frequency","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id"],"q":[[0,"ping_rs"],[25,"ping_rs::bluebps"],[446,"ping_rs::codec"],[457,"ping_rs::common"],[634,"ping_rs::decoder"],[684,"ping_rs::error"],[696,"ping_rs::message"],[742,"ping_rs::ping1d"],[1295,"ping_rs::ping360"],[1501,"core::fmt"],[1502,"core::fmt"],[1503,"alloc::vec"],[1504,"core::result"],[1505,"core::any"],[1506,"alloc::string"],[1507,"bytes::bytes_mut"],[1508,"std::io::error"],[1509,"std::io"],[1510,"std::io::error"]],"d":["","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","Get the undervoltage timeout","","Get the minimum allowed cell voltage","","get the maximum allowed battery current","","Get the over-current timeout","","Erase flash, including parameter configuration and event …","","A record of events causing a power lock-out. These numbers …","","","","reboot the system","","Reset parameter configuration to default values.","","Set the minimum allowed cell voltage","","Set the under-voltage timeout","","Set the maximum allowed battery current","","Set the over-current timeout","","the frequency to take adc samples and run the filter.","","Low pass filter setting. This value represents x in the …","","Set the frequency to automatically output state messages.","","Set the maximum allowed battery temperature","","Set the over-temperature timeout","","Get the current state of the device","","Get the maximum allowed battery temperature","","Get the over-temperature timeout","The current measurement","The battery temperature","The main battery voltage","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Array containing cell voltages","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The cpu temperature","The number of over-current events","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","flags indicating if any of the configured limits are …","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","0 = normal reboot, run main application after reboot 1 = …","","","","","","","","","","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","The maximum allowed battery current 0~20000 = 0~200A","The maximum allowed battery current 0~20000 = 0~200A","The maximum temperature allowed at the thermistor probe …","The minimum voltage allowed for any individual cell. …","The minimum voltage allowed for any individual cell. …","The minimum voltage allowed for any individual cell. …","","","","Rate to stream state messages. 0~100000Hz","sample frequency in Hz. 1~100000","","","","","","","","","","","","","","","","","","","","","","0~999: x = 0~0.999","","The number of over-temperature events","If an individual cell exceeds the configured limit for …","If the battery temperature exceeds the configured limit …","If the battery current exceeds the configured limit for …","If the battery current exceeds the configured limit for …","If an individual cell exceeds the configured limit for …","If the battery temperature exceeds the configured limit …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The number of under-voltage events","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","Acknowledged.","","A message for transmitting text data.","","Device information","","Requests a specific message to be sent from the sonar to …","","","Not acknowledged.","","","The protocol version","","Set the device ID.","The message ID that is ACKnowledged.","ASCII text message. (not necessarily NULL terminated)","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Device ID (1-254). 0 is unknown and 255 is reserved for …","device-specific hardware revision","Device type. 0: Unknown; 1: Ping Echosounder; 2: Ping360","","","","","","","","","","Firmware version major number.","Firmware version minor number.","Firmware version patch number.","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","ASCII text message indicating NACK condition. (not …","The message ID that is Not ACKnowledged.","Message ID to be requested.","reserved","reserved","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Protocol version major number.","Protocol version minor number.","Protocol version patch number.","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","Message Format","","","","","","","","","","","","","","","","","Command to initiate continuous data stream of profile …","","Command to stop the continuous data stream of profile …","","The device ID.","","","The distance to target with confidence estimate.","The distance to target with confidence estimate. Relevant …","","Device information","","The current gain setting.","","General information.","","Send the device into the bootloader. This is useful for …","","","The current operating mode of the device. Manual mode …","","Temperature of the on-board thermistor.","","Acoustic output enabled state.","","The interval between acoustic measurements.","","","Temperature of the device cpu.","","A profile produced from a single acoustic measurement. The …","","The scan range for acoustic measurements. Measurements …","","Set the device ID.","","Set the current gain setting.","","Set automatic or manual mode. Manual mode allows for …","","Enable or disable acoustic measurements.","","The interval between acoustic measurements.","","Set the scan range for acoustic measurements.","","Set the speed of sound used for distance calculations.","","The speed of sound used for distance calculations.","","The duration of the acoustic activation/transmission.","","The 5V rail voltage.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Confidence in the most recent range measurement.","Confidence in the distance measurement.","Confidence in the most recent range measurement.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Device ID (0-254). 255 is reserved for broadcast messages.","The device ID (0-254). 255 is reserved for broadcast …","Device model. 0: Unknown; 1: Ping1D","Device type. 0: Unknown; 1: Echosounder","The current return distance determined for the most recent …","Distance to the target.","The current return distance determined for the most recent …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Firmware version major number.","Firmware major version.","Firmware version minor number.","Firmware minor version.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, …","","","","","","","","","","","","","","","","","","","","","","","","","","","The message id to stream. 1300: profile","The message id to stop streaming. 1300: profile","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","0: manual mode, 1: auto mode","0: manual mode. 1: auto mode.","The current operating mode of the device. 0: manual mode, …","The temperature in centi-degrees Centigrade (100 * degrees …","The state of the acoustic output. 0: disabled, 1:enabled","0: Disable, 1: Enable.","The interval between acoustic measurements.","The interval between acoustic measurements.","The minimum interval between acoustic measurements. The …","The pulse/measurement count since boot.","The pulse/measurement count since boot.","The temperature in centi-degrees Centigrade (100 * degrees …","","An array of return strength measurements taken at regular …","The length of the scan range.","The length of the scan region.","The length of the scan range.","The length of the scan region.","Not documented","The beginning of the scan region in mm from the transducer.","The beginning of the scan range in mm from the transducer.","The beginning of the scan region in mm from the transducer.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The speed of sound in the measurement medium. ~1,500,000 …","The speed of sound in the measurement medium. ~1,500,000 …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Acoustic pulse duration.","The acoustic pulse length during acoustic …","The acoustic pulse length during acoustic …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Device supply voltage.","The 5V rail voltage.","","Extended version of device_data with auto_transmit …","","Extended transducer message with auto-scan function. The …","","This message is used to communicate the current sonar …","","Change the device id","","","The sonar switches the current through the stepper motor …","","","Reset the sonar. The bootloader may run depending on the …","","The transducer will apply the commanded settings. The …","Head angle","Head angle","Head angle","0 = skip bootloader; 1 = run bootloader","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","8 bit binary data array representing sonar echo strength","8 bit binary data array representing sonar echo strength","","","","","","","","","An additional delay between successive transmit pulses …","An additional delay between successive transmit pulses …","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Analog gain setting (0 = low, 1 = normal, 2 = high)","Analog gain setting (0 = low, 1 = normal, 2 = high)","Analog gain setting (0 = low, 1 = normal, 2 = high)","Analog gain setting (0 = low, 1 = normal, 2 = high)","","","","","","","","Device ID (1-254). 0 and 255 are reserved.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","Operating mode (1 for Ping360)","Operating mode (1 for Ping360)","Operating mode (1 for Ping360)","Operating mode (1 for Ping360)","Number of 0.9 degree motor steps between pings for auto …","Number of 0.9 degree motor steps between pings for auto …","Number of samples per reflected signal","Number of samples per reflected signal","Number of samples per reflected signal","Number of samples per reflected signal","reserved","reserved","reserved","Time interval between individual signal intensity samples …","Time interval between individual signal intensity samples …","Time interval between individual signal intensity samples …","Time interval between individual signal intensity samples …","","","","","","","","","","Head angle to begin scan sector for autoscan in gradians …","Head angle to begin scan sector for autoscan in gradians …","Head angle to end scan sector for autoscan in gradians …","Head angle to end scan sector for autoscan in gradians …","","","","","","","","","","0 = do not transmit; 1 = transmit after the transducer has …","Acoustic transmission duration (1~1000 microseconds)","Acoustic transmission duration (1~1000 microseconds)","Acoustic transmission duration (1~1000 microseconds)","Acoustic transmission duration (1~1000 microseconds)","Acoustic operating frequency. Frequency range is 500kHz to …","Acoustic operating frequency. Frequency range is 500kHz to …","Acoustic operating frequency. Frequency range is 500kHz to …","Acoustic operating frequency. Frequency range is 500kHz to …","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[4,4,0,4,4,0,4,4,0,0,0,0,0,4,4,4,4,0,0,0,4,4,4,4,4,13,0,13,0,13,0,13,0,13,0,13,0,0,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,13,0,29,29,29,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,29,29,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,29,20,12,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,29,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,24,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,13,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,15,16,17,27,28,32,13,13,13,19,33,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,22,12,20,14,18,23,25,26,30,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,20,0,38,38,38,38,38,38,38,38,38,38,41,0,41,0,41,0,41,0,0,41,0,0,41,0,41,0,48,47,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,42,43,44,45,46,47,48,41,42,43,44,45,46,47,48,40,42,45,45,40,41,42,43,44,45,46,47,48,45,45,45,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,42,43,44,45,46,47,48,41,40,41,42,43,44,45,46,47,48,41,41,41,46,46,43,44,45,41,42,43,44,45,46,47,48,40,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,40,41,42,43,44,45,46,47,48,44,44,44,51,51,49,0,0,0,50,50,49,49,0,51,51,51,50,52,49,50,51,52,49,50,51,49,49,50,51,52,49,50,51,52,49,50,51,52,52,52,52,49,50,51,52,49,50,51,52,49,50,51,53,53,0,53,53,53,53,53,53,53,53,53,0,0,0,0,0,0,0,10,10,10,10,10,10,10,10,55,56,10,10,10,10,10,10,99,10,10,58,10,58,58,10,10,10,10,59,10,10,10,10,10,10,10,10,10,10,10,63,0,63,0,63,0,63,63,0,0,63,0,63,0,63,0,63,0,0,63,0,63,0,63,0,63,0,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,63,0,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,71,79,89,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,77,86,83,83,71,79,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,83,84,83,84,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,71,78,82,84,89,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,67,85,63,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,63,63,63,68,81,84,80,69,75,76,84,87,71,89,74,71,71,70,71,73,89,70,71,73,89,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,64,72,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,66,71,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,84,88,91,0,91,0,91,0,91,0,0,91,0,0,91,0,91,0,92,96,98,95,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,92,98,92,98,90,92,93,94,95,96,97,98,94,98,91,92,93,94,95,96,97,98,90,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,92,94,96,98,92,93,94,95,96,97,98,97,91,90,91,92,93,94,95,96,97,98,91,91,91,92,94,96,98,94,98,92,94,96,98,95,96,97,92,94,96,98,91,92,93,94,95,96,97,98,90,94,98,94,98,90,91,92,93,94,95,96,97,98,96,92,94,96,98,92,94,96,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98,90,91,92,93,94,95,96,97,98],"f":"``````{ce{}{}}0{{{d{b}}}f}````{{hj}l}{cc{}}{h{{n{c}}}{}}4```{{{A`{b}}}{{Ab{hc}}}{}}{Ad{{Ab{hc}}}{}}{c{{Ab{e}}}{}{}}0{cAf{}}`````````````````````````````````````````````88888888888888888888888888888888888888888888``{AhAh}{AjAj}{AlAl}{AnAn}{B`B`}{BbBb}{BdBd}{BfBf}{BhBh}{BjBj}{BlBl}{BnBn}{C`C`}{CbCb}{CdCd}{CfCf}{ChCh}{CjCj}{ClCl}{CnCn}{D`D`}{DbDb}{{ce}Dd{}{}}000000000000000000000``{{}Ah}{{}Al}{{}An}{{}B`}{{}Bb}{{}Bd}{{}Bf}{{}Bh}{{}Bj}{{}Bl}{{}Bn}{{}C`}{{}Cb}{{}Cd}{{}Cf}{{}Ch}{{}Cj}{{}Cl}{{}Cn}{{}D`}{{}Db}{{f{d{b}}}{{Ab{AjDf}}}}{{{d{b}}}Al}{{{d{b}}}An}{{{d{b}}}B`}{{{d{b}}}Bb}{{{d{b}}}Bd}{{{d{b}}}Bf}{{{d{b}}}Bh}{{{d{b}}}Bj}{{{d{b}}}Bl}{{{d{b}}}Bn}{{{d{b}}}C`}{{{d{b}}}Cb}{{{d{b}}}Cd}{{{d{b}}}Cf}{{{d{b}}}Ch}{{{d{b}}}Cj}{{{d{b}}}Cl}{{{d{b}}}Cn}{{{d{b}}}D`}{{{d{b}}}Db}`{{AhAh}Dh}{{AjAj}Dh}{{AlAl}Dh}{{AnAn}Dh}{{B`B`}Dh}{{BbBb}Dh}{{BdBd}Dh}{{BfBf}Dh}{{BhBh}Dh}{{BjBj}Dh}{{BlBl}Dh}{{BnBn}Dh}{{C`C`}Dh}{{CbCb}Dh}{{CdCd}Dh}{{CfCf}Dh}{{ChCh}Dh}{{CjCj}Dh}{{ClCl}Dh}{{CnCn}Dh}{{D`D`}Dh}{{DbDb}Dh}`{{Ahj}l}{{Ajj}l}{{Alj}l}{{Anj}l}{{B`j}l}{{Bbj}l}{{Bdj}l}{{Bfj}l}{{Bhj}l}{{Bjj}l}{{Blj}l}{{Bnj}l}{{C`j}l}{{Cbj}l}{{Cdj}l}{{Cfj}l}{{Chj}l}{{Cjj}l}{{Clj}l}{{Cnj}l}{{D`j}l}{{Dbj}l}{cc{}}000000000000000000000`{{}f}0000000000000000000{Aj{{n{c}}}{}}{ce{}{}}000000000000000000000``````{Ajf}{Df{{Ab{fDj}}}}{AjDf}``{Aj{{A`{b}}}}{Al{{A`{b}}}}{An{{A`{b}}}}{B`{{A`{b}}}}{Bb{{A`{b}}}}{Bd{{A`{b}}}}{Bf{{A`{b}}}}{Bh{{A`{b}}}}{Bj{{A`{b}}}}{Bl{{A`{b}}}}{Bn{{A`{b}}}}{C`{{A`{b}}}}{Cb{{A`{b}}}}{Cd{{A`{b}}}}{Cf{{A`{b}}}}{Ch{{A`{b}}}}{Cj{{A`{b}}}}{Cl{{A`{b}}}}{Cn{{A`{b}}}}{D`{{A`{b}}}}{Db{{A`{b}}}}`````````{ce{}{}}000000000000000000000{c{{Ab{e}}}{}{}}0000000000000000000000000000000000000000000{cAf{}}000000000000000000000``22{{DlDn}{{Ab{{n{c}}e}}}{}{}}{{DlAdDn}{{Ab{Ddc}}}{}}{cc{}}5{{}Dl}554``````````````````666666666666666666{E`E`}{EbEb}{EdEd}{EfEf}{EhEh}{EjEj}{ElEl}{EnEn}{F`F`}{{ce}Dd{}{}}00000000{{}E`}{{}Ed}{{}Ef}{{}Eh}{{}Ej}{{}El}{{}En}{{}F`}{{f{d{b}}}{{Ab{EbDf}}}}{{{d{b}}}Ed}{{{d{b}}}Ef}{{{d{b}}}Eh}{{{d{b}}}Ej}{{{d{b}}}El}{{{d{b}}}En}{{{d{b}}}F`}````{{E`E`}Dh}{{EbEb}Dh}{{EdEd}Dh}{{EfEf}Dh}{{EhEh}Dh}{{EjEj}Dh}{{ElEl}Dh}{{EnEn}Dh}{{F`F`}Dh}```{{E`j}l}{{Ebj}l}{{Edj}l}{{Efj}l}{{Ehj}l}{{Ejj}l}{{Elj}l}{{Enj}l}{{F`j}l}{cc{}}00000000{{}f}000000{Eb{{n{c}}}{}}{ce{}{}}00000000{Ebf}{Df{{Ab{fDj}}}}{EbDf}`````{Eb{{A`{b}}}}{Ed{{A`{b}}}}{Ef{{A`{b}}}}{Eh{{A`{b}}}}{Ej{{A`{b}}}}{El{{A`{b}}}}{En{{A`{b}}}}{F`{{A`{b}}}}`;;;;;;;;;{c{{Ab{e}}}{}{}}00000000000000000{cAf{}}00000000``````````````````========{{FbFb}Dh}{{Fbj}l}{{Fdj}l}{{Ffj}l}{cc{}}000{ce{}{}}000{{}Fh}{{Fhb}Fd}`999999998888```22{{Fjj}l}4{FlFj}4;;:```````44{Adf}0`{AdAd}{{ce}Dd{}{}}{{}Ad}{{{d{b}}}Fn}{{f{d{b}}}{{Ab{G`Df}}}}{Adb}`{{AdAd}Dh}{{Adj}l}>{AdDh}{{}f}?{AdGb}{Gdf}`{Df{{Ab{fDj}}}}{GdDf};{Ad{{d{b}}}}``{Gf{{A`{b}}}}{Ad{{A`{b}}}}{{Adb}Dd}{{Adc}DdGd}1`{ce{}{}}{c{{Ab{e}}}{}{}}0{cAf{}}{AdDd}{{AdGh}{{Gj{Gb}}}}``````````````````````````````````````````````````````44444444444444444444444444444444444444444444444444444444{GlGl}{GnGn}{H`H`}{HbHb}{HdHd}{HfHf}{HhHh}{HjHj}{HlHl}{HnHn}{I`I`}{IbIb}{IdId}{IfIf}{IhIh}{IjIj}{IlIl}{InIn}{J`J`}{JbJb}{JdJd}{JfJf}{JhJh}{JjJj}{JlJl}{JnJn}{K`K`}{KbKb}{{ce}Dd{}{}}000000000000000000000000000```{{}Gl}{{}H`}{{}Hb}{{}Hd}{{}Hf}{{}Hh}{{}Hj}{{}Hl}{{}Hn}{{}I`}{{}Ib}{{}Id}{{}If}{{}Ih}{{}Ij}{{}Il}{{}In}{{}J`}{{}Jb}{{}Jd}{{}Jf}{{}Jh}{{}Jj}{{}Jl}{{}Jn}{{}K`}{{}Kb}{{f{d{b}}}{{Ab{GnDf}}}}{{{d{b}}}H`}{{{d{b}}}Hb}{{{d{b}}}Hd}{{{d{b}}}Hf}{{{d{b}}}Hh}{{{d{b}}}Hj}{{{d{b}}}Hl}{{{d{b}}}Hn}{{{d{b}}}I`}{{{d{b}}}Ib}{{{d{b}}}Id}{{{d{b}}}If}{{{d{b}}}Ih}{{{d{b}}}Ij}{{{d{b}}}Il}{{{d{b}}}In}{{{d{b}}}J`}{{{d{b}}}Jb}{{{d{b}}}Jd}{{{d{b}}}Jf}{{{d{b}}}Jh}{{{d{b}}}Jj}{{{d{b}}}Jl}{{{d{b}}}Jn}{{{d{b}}}K`}{{{d{b}}}Kb}````````{{GlGl}Dh}{{GnGn}Dh}{{H`H`}Dh}{{HbHb}Dh}{{HdHd}Dh}{{HfHf}Dh}{{HhHh}Dh}{{HjHj}Dh}{{HlHl}Dh}{{HnHn}Dh}{{I`I`}Dh}{{IbIb}Dh}{{IdId}Dh}{{IfIf}Dh}{{IhIh}Dh}{{IjIj}Dh}{{IlIl}Dh}{{InIn}Dh}{{J`J`}Dh}{{JbJb}Dh}{{JdJd}Dh}{{JfJf}Dh}{{JhJh}Dh}{{JjJj}Dh}{{JlJl}Dh}{{JnJn}Dh}{{K`K`}Dh}{{KbKb}Dh}````{{Glj}l}{{Gnj}l}{{H`j}l}{{Hbj}l}{{Hdj}l}{{Hfj}l}{{Hhj}l}{{Hjj}l}{{Hlj}l}{{Hnj}l}{{I`j}l}{{Ibj}l}{{Idj}l}{{Ifj}l}{{Ihj}l}{{Ijj}l}{{Ilj}l}{{Inj}l}{{J`j}l}{{Jbj}l}{{Jdj}l}{{Jfj}l}{{Jhj}l}{{Jjj}l}{{Jlj}l}{{Jnj}l}{{K`j}l}{{Kbj}l}{cc{}}000000000000000000000000000`````{{}f}0000000000000000000000000``{Gn{{n{c}}}{}}{ce{}{}}000000000000000000000000000{Gnf}{Df{{Ab{fDj}}}}{GnDf}``````````````````````{Gn{{A`{b}}}}{H`{{A`{b}}}}{Hb{{A`{b}}}}{Hd{{A`{b}}}}{Hf{{A`{b}}}}{Hh{{A`{b}}}}{Hj{{A`{b}}}}{Hl{{A`{b}}}}{Hn{{A`{b}}}}{I`{{A`{b}}}}{Ib{{A`{b}}}}{Id{{A`{b}}}}{If{{A`{b}}}}{Ih{{A`{b}}}}{Ij{{A`{b}}}}{Il{{A`{b}}}}{In{{A`{b}}}}{J`{{A`{b}}}}{Jb{{A`{b}}}}{Jd{{A`{b}}}}{Jf{{A`{b}}}}{Jh{{A`{b}}}}{Jj{{A`{b}}}}{Jl{{A`{b}}}}{Jn{{A`{b}}}}{K`{{A`{b}}}}{Kb{{A`{b}}}}```{ce{}{}}000000000000000000000000000```{c{{Ab{e}}}{}{}}0000000000000000000000000000000000000000000000000000000{cAf{}}000000000000000000000000000``````````````````````222222222222222222{KdKd}{KfKf}{KhKh}{KjKj}{KlKl}{KnKn}{L`L`}{LbLb}{LdLd}{{ce}Dd{}{}}00000000````{{}Kd}{{}Kh}{{}Kj}{{}Kl}{{}Kn}{{}L`}{{}Lb}{{}Ld}``{{f{d{b}}}{{Ab{KfDf}}}}{{{d{b}}}Kh}{{{d{b}}}Kj}{{{d{b}}}Kl}{{{d{b}}}Kn}{{{d{b}}}L`}{{{d{b}}}Lb}{{{d{b}}}Ld}`{{KdKd}Dh}{{KfKf}Dh}{{KhKh}Dh}{{KjKj}Dh}{{KlKl}Dh}{{KnKn}Dh}{{L`L`}Dh}{{LbLb}Dh}{{LdLd}Dh}{{Kdj}l}{{Kfj}l}{{Khj}l}{{Kjj}l}{{Klj}l}{{Knj}l}{{L`j}l}{{Lbj}l}{{Ldj}l}{cc{}}00000000````{{}f}000000`{Kf{{n{c}}}{}}{ce{}{}}00000000{Kff}{Df{{Ab{fDj}}}}{KfDf}`````````````````{Kf{{A`{b}}}}{Kh{{A`{b}}}}{Kj{{A`{b}}}}{Kl{{A`{b}}}}{Kn{{A`{b}}}}{L`{{A`{b}}}}{Lb{{A`{b}}}}{Ld{{A`{b}}}}`````;;;;;;;;;`````````{c{{Ab{e}}}{}{}}00000000000000000{cAf{}}00000000","c":[],"p":[[1,"u8"],[1,"slice"],[1,"u16"],[6,"Messages",0],[5,"Formatter",1501],[8,"Result",1501],[6,"Option",1502],[5,"Vec",1503],[6,"Result",1504],[5,"ProtocolMessage",696],[5,"TypeId",1505],[5,"PingProtocolHead",25],[6,"Messages",25],[5,"CellTimeoutStruct",25],[5,"CurrentMaxStruct",25],[5,"SetCurrentMaxStruct",25],[5,"SetTemperatureMaxStruct",25],[5,"SetTemperatureTimeoutStruct",25],[5,"SetStreamRateStruct",25],[5,"EventsStruct",25],[5,"ResetDefaultsStruct",25],[5,"SetLpfSettingStruct",25],[5,"SetCurrentTimeoutStruct",25],[5,"RebootStruct",25],[5,"CurrentTimeoutStruct",25],[5,"SetCellVoltageTimeoutStruct",25],[5,"CellVoltageMinStruct",25],[5,"TemperatureMaxStruct",25],[5,"StateStruct",25],[5,"TemperatureTimeoutStruct",25],[5,"EraseFlashStruct",25],[5,"SetCellVoltageMinimumStruct",25],[5,"SetLpfSampleFrequencyStruct",25],[1,"unit"],[1,"str"],[1,"bool"],[5,"String",1506],[5,"PingCodec",446],[5,"BytesMut",1507],[5,"PingProtocolHead",457],[6,"Messages",457],[5,"SetDeviceIdStruct",457],[5,"GeneralRequestStruct",457],[5,"ProtocolVersionStruct",457],[5,"DeviceInformationStruct",457],[5,"NackStruct",457],[5,"AsciiTextStruct",457],[5,"AckStruct",457],[6,"ParseError",634],[6,"DecoderResult",634],[6,"DecoderState",634],[5,"Decoder",634],[6,"PingError",684],[5,"Error",1508],[10,"DeserializePayload",696],[10,"DeserializeGenericMessage",696],[1,"usize"],[10,"PingMessage",696],[10,"SerializePayload",696],[10,"Write",1509],[8,"Result",1508],[5,"PingProtocolHead",742],[6,"Messages",742],[5,"SpeedOfSoundStruct",742],[5,"GotoBootloaderStruct",742],[5,"TransmitDurationStruct",742],[5,"ContinuousStartStruct",742],[5,"ModeAutoStruct",742],[5,"PingEnableStruct",742],[5,"SetRangeStruct",742],[5,"ProfileStruct",742],[5,"SetSpeedOfSoundStruct",742],[5,"RangeStruct",742],[5,"ProcessorTemperatureStruct",742],[5,"SetPingEnableStruct",742],[5,"SetPingIntervalStruct",742],[5,"SetDeviceIdStruct",742],[5,"GainSettingStruct",742],[5,"DistanceSimpleStruct",742],[5,"PcbTemperatureStruct",742],[5,"SetModeAutoStruct",742],[5,"SetGainSettingStruct",742],[5,"FirmwareVersionStruct",742],[5,"GeneralInfoStruct",742],[5,"ContinuousStopStruct",742],[5,"DeviceIdStruct",742],[5,"PingIntervalStruct",742],[5,"Voltage5Struct",742],[5,"DistanceStruct",742],[5,"PingProtocolHead",1295],[6,"Messages",1295],[5,"DeviceDataStruct",1295],[5,"MotorOffStruct",1295],[5,"AutoTransmitStruct",1295],[5,"ResetStruct",1295],[5,"TransducerStruct",1295],[5,"DeviceIdStruct",1295],[5,"AutoDeviceDataStruct",1295],[10,"MessageInfo",696]],"b":[[20,"impl-TryFrom%3C%26Vec%3Cu8%3E%3E-for-Messages"],[21,"impl-TryFrom%3C%26ProtocolMessage%3E-for-Messages"]]}],\ ["proc_macro2",{"doc":"github crates-io docs-rs","t":"PPPGFPFPPFFPPPFPGFFGNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNFNNNNNNNNNNNNNNFENNNNNNNNNNNNNN","n":["Alone","Brace","Bracket","Delimiter","Group","Group","Ident","Ident","Joint","LexError","Literal","Literal","None","Parenthesis","Punct","Punct","Spacing","Span","TokenStream","TokenTree","as_char","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","byte_character","byte_string","c_string","call_site","character","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","default","delim_span","delimiter","eq","eq","eq","eq","extend","extend","extra","f32_suffixed","f32_unsuffixed","f64_suffixed","f64_unsuffixed","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_str","from_str","hash","i128_suffixed","i128_unsuffixed","i16_suffixed","i16_unsuffixed","i32_suffixed","i32_unsuffixed","i64_suffixed","i64_unsuffixed","i8_suffixed","i8_unsuffixed","into","into","into","into","into","into","into","into","into","into","into_iter","is_empty","isize_suffixed","isize_unsuffixed","join","located_at","mixed_site","new","new","new","new","new_raw","partial_cmp","resolved_at","set_span","set_span","set_span","set_span","set_span","source_text","spacing","span","span","span","span","span","span","span_close","span_open","stream","string","subspan","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","to_string","to_string","to_string","token_stream","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","u128_suffixed","u128_unsuffixed","u16_suffixed","u16_unsuffixed","u32_suffixed","u32_unsuffixed","u64_suffixed","u64_unsuffixed","u8_suffixed","u8_unsuffixed","unwrap","usize_suffixed","usize_unsuffixed","DelimSpan","borrow","borrow_mut","clone","clone_into","close","fmt","from","into","join","open","to_owned","try_from","try_into","type_id","IntoIter","TokenStream","borrow","borrow_mut","clone","clone_into","fmt","from","into","into_iter","next","size_hint","to_owned","try_from","try_into","type_id"],"q":[[0,"proc_macro2"],[230,"proc_macro2::extra"],[245,"proc_macro2::token_stream"],[261,"core::ffi::c_str"],[262,"core::cmp"],[263,"core::marker"],[264,"core::convert"],[265,"core::iter::traits::collect"],[266,"core::fmt"],[267,"core::fmt"],[268,"proc_macro"],[269,"core::hash"],[270,"core::option"],[271,"alloc::string"],[272,"core::ops::range"],[273,"core::any"]],"d":["E.g. + is Alone in + =, +ident or +().","{ ... }","[ ... ]","Describes how a sequence of token trees is delimited.","A delimited token stream.","A token stream surrounded by bracket delimiters.","A word of Rust code, which may be a keyword or legal …","An identifier.","E.g. + is Joint in += or ' is Joint in '#.","Error returned from TokenStream::from_str.","A literal string ("hello"), byte string (b"hello"), …","A literal character ('a'), string ("hello"), number (2.3), …","∅ ... ∅","( ... )","A Punct is a single punctuation character like +, - or #.","A single punctuation character (+, ,, $, etc.).","Whether a Punct is followed immediately by another Punct …","A region of source code, along with macro expansion …","An abstract stream of tokens, or more concretely a …","A single token or a delimited sequence of token trees …","Returns the value of this punctuation character as char.","","","","","","","","","","","","","","","","","","","","","Byte character literal.","Byte string literal.","C string literal.","The span of the invocation of the current procedural macro.","Character literal.","","","","","","","","","","","","","","","","","","","","","Returns an object that holds this group’s span_open() and","Returns the punctuation used as the delimiter for this …","","","","","","","Items which do not have a correspondence to any API in the …","Creates a new suffixed floating-point literal.","Creates a new unsuffixed floating-point literal.","Creates a new suffixed floating-point literal.","Creates a new unsuffixed floating-point literal.","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Checks if this TokenStream is empty.","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Create a new span encompassing self and other.","Creates a new span with the same name resolution behavior …","The span located at the invocation of the procedural …","Returns an empty TokenStream containing no token trees.","Creates a new Group with the given delimiter and token …","Creates a new Punct from the given character and spacing.","Creates a new Ident with the given string as well as the …","Same as Ident::new, but creates a raw identifier (r#ident…","","Creates a new span with the same line/column information …","Configures the span for only this token.","Configures the span for this Group’s delimiters, but not …","Configure the span for this punctuation character.","Configures the span of this Ident, possibly changing its …","Configures the span associated for this literal.","Returns the source text behind a span. This preserves the …","Returns the spacing of this punctuation character, …","","Returns the span of this tree, delegating to the span …","Returns the span for the delimiters of this token stream, …","Returns the span for this punctuation character.","Returns the span of this Ident.","Returns the span encompassing this literal.","Returns the span pointing to the closing delimiter of this …","Returns the span pointing to the opening delimiter of this …","Returns the TokenStream of tokens that are delimited in …","String literal.","Returns a Span that is a subset of self.span() containing …","","","","","","","","","","","","","","","","","Public implementation details for the TokenStream type, …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","Convert proc_macro2::Span to proc_macro::Span.","Creates a new suffixed integer literal with the specified …","Creates a new unsuffixed integer literal with the …","An object that holds a Group’s span_open() and …","","","","","Returns a span for the closing punctuation of the group …","","Returns the argument unchanged.","Calls U::from(self).","Returns a span covering the entire delimited group.","Returns a span for the opening punctuation of the group …","","","","","An iterator over TokenStream’s TokenTrees.","","","","","","","Returns the argument unchanged.","Calls U::from(self).","","","","","","",""],"i":[12,11,11,0,0,9,0,9,12,0,0,9,11,11,0,9,0,0,0,0,1,25,8,7,9,10,11,1,12,13,4,25,8,7,9,10,11,1,12,13,4,4,4,4,7,4,8,7,9,10,11,1,12,13,4,8,7,9,10,11,1,12,13,4,13,8,10,10,11,12,13,13,8,8,0,4,4,4,4,25,25,8,8,7,9,9,10,10,11,1,1,12,13,13,4,4,25,8,8,8,7,7,9,9,9,9,9,10,11,1,12,13,4,8,8,8,4,13,4,4,4,4,4,4,4,4,4,4,25,8,7,9,10,11,1,12,13,4,8,8,4,4,7,7,7,8,10,1,13,13,13,7,9,10,1,13,4,7,1,25,9,10,1,13,4,10,10,10,4,4,8,7,9,10,11,1,12,13,4,25,8,9,10,1,13,4,0,25,8,7,9,10,11,1,12,13,4,25,8,7,9,10,11,1,12,13,4,25,8,7,9,10,11,1,12,13,4,4,4,4,4,4,4,4,4,4,4,7,4,4,0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,0,0,37,37,37,37,37,37,37,37,37,37,37,37,37,37],"f":"````````````````````{bd}{ce{}{}}0000000000000000000{fh}{{{j{f}}}h}{lh}{{}n}{dh}{A`A`}{nn}{AbAb}{AdAd}{AfAf}{bb}{AhAh}{AjAj}{hh}{{ce}Al{}{}}00000000{{AjAj}An}{{}A`}{AdB`}{AdAf}{{AfAf}Bb}{{AhAh}Bb}{{Ajc}Bb{Bd{Bh{Bf}}}}{{AjAj}Bb}{{A`c}Al{{Bl{}{{Bj{A`}}}}}}{{A`c}Al{{Bl{}{{Bj{Ab}}}}}}`{Bnh}0{C`h}0{{CbCd}Cf}0{{A`Cd}Cf}0{{nCd}Cf}{{AbCd}Cf}0{{AdCd}Cf}0{{AfCd}Cf}{{bCd}Cf}0{{AhCd}Cf}{{AjCd}Cf}0{{hCd}Cf}0{cc{}}0{ChA`}{AbA`}2{Cjn}3{AdAb}{hAb}{bAb}{AjAb}777777{cA`{{Bl{}{{Bj{A`}}}}}}{cA`{{Bl{}{{Bj{Ab}}}}}}{Bf{{Cl{A`Cb}}}}{Bf{{Cl{hCb}}}}{{Ajc}AlCn}{D`h}0{Dbh}0{Ddh}0{Dfh}0{Dhh}0{ce{}{}}000000000{A`Dj}{A`Bb}{Dlh}0{{nn}{{Dn{n}}}}{{nn}n}{{}n}{{}A`}{{AfA`}Ad}{{dAh}b}{{Bfn}Aj}0{{AjAj}{{Dn{An}}}}6{{Abn}Al}{{Adn}Al}{{bn}Al}{{Ajn}Al}{{hn}Al}{n{{Dn{E`}}}}{bAh}{Cbn}{Abn}{Adn}{bn}{Ajn}{hn}33{AdA`}{Bfh}{{hc}{{Dn{n}}}{{Ed{Eb}}}}{ce{}{}}00000000{cE`{}}000000`{c{{Cl{e}}}{}{}}0000000000000000000{cEf{}}000000000{Ehh}0{Ejh}0{Elh}0{Enh}0{fh}0{nCj}{Ebh}0`::{B`B`}{{ce}Al{}{}}{B`n}{{B`Cd}Cf}{cc{}}?22?==<``??{DjDj}4{{DjCd}Cf}2{ce{}{}}0{Dj{{Dn{Ab}}}}{Dj{{F`{Eb{Dn{Eb}}}}}}2{c{{Cl{e}}}{}{}}0{cEf{}}","c":[],"p":[[5,"Punct",0],[1,"char"],[1,"u8"],[5,"Literal",0],[1,"slice"],[5,"CStr",261],[5,"Span",0],[5,"TokenStream",0],[6,"TokenTree",0],[5,"Group",0],[6,"Delimiter",0],[6,"Spacing",0],[5,"Ident",0],[1,"unit"],[6,"Ordering",262],[5,"DelimSpan",230],[1,"bool"],[10,"Sized",263],[1,"str"],[10,"AsRef",264],[17,"Item"],[10,"IntoIterator",265],[1,"f32"],[1,"f64"],[5,"LexError",0],[5,"Formatter",266],[8,"Result",266],[5,"TokenStream",267],[5,"Span",267],[6,"Result",268],[10,"Hasher",269],[1,"i128"],[1,"i16"],[1,"i32"],[1,"i64"],[1,"i8"],[5,"IntoIter",245],[1,"isize"],[6,"Option",270],[5,"String",271],[1,"usize"],[10,"RangeBounds",272],[5,"TypeId",273],[1,"u128"],[1,"u16"],[1,"u32"],[1,"u64"],[1,"tuple"]],"b":[[70,"impl-PartialEq%3CT%3E-for-Ident"],[71,"impl-PartialEq-for-Ident"],[72,"impl-Extend%3CTokenStream%3E-for-TokenStream"],[73,"impl-Extend%3CTokenTree%3E-for-TokenStream"],[79,"impl-Display-for-LexError"],[80,"impl-Debug-for-LexError"],[81,"impl-Display-for-TokenStream"],[82,"impl-Debug-for-TokenStream"],[84,"impl-Display-for-TokenTree"],[85,"impl-Debug-for-TokenTree"],[86,"impl-Display-for-Group"],[87,"impl-Debug-for-Group"],[89,"impl-Display-for-Punct"],[90,"impl-Debug-for-Punct"],[92,"impl-Display-for-Ident"],[93,"impl-Debug-for-Ident"],[94,"impl-Debug-for-Literal"],[95,"impl-Display-for-Literal"],[98,"impl-From%3CTokenStream%3E-for-TokenStream"],[99,"impl-From%3CTokenTree%3E-for-TokenStream"],[103,"impl-From%3CGroup%3E-for-TokenTree"],[104,"impl-From%3CLiteral%3E-for-TokenTree"],[105,"impl-From%3CPunct%3E-for-TokenTree"],[106,"impl-From%3CIdent%3E-for-TokenTree"],[113,"impl-FromIterator%3CTokenStream%3E-for-TokenStream"],[114,"impl-FromIterator%3CTokenTree%3E-for-TokenStream"]]}],\ ["quote",{"doc":"github crates-io docs-rs","t":"KKKMMMMMQNNQQNNNNM","n":["IdentFragment","ToTokens","TokenStreamExt","append","append_all","append_separated","append_terminated","fmt","format_ident","into_token_stream","into_token_stream","quote","quote_spanned","span","span","to_token_stream","to_token_stream","to_tokens"],"q":[[0,"quote"],[18,"proc_macro2"],[19,"core::convert"],[20,"core::iter::traits::collect"],[21,"core::fmt"],[22,"core::fmt"]],"d":["Specialized formatting trait used by format_ident!.","Types that can be interpolated inside a quote! invocation.","TokenStream extension trait with methods for appending …","For use by ToTokens implementations.","For use by ToTokens implementations.","For use by ToTokens implementations.","For use by ToTokens implementations.","Format this value as an identifier fragment.","Formatting macro for constructing Idents.","Convert self directly into a TokenStream object.","Convert self directly into a TokenStream object.","The whole point.","Same as quote!, but applies a given span to all tokens …","Span associated with this IdentFragment.","Span associated with this IdentFragment.","Convert self directly into a TokenStream object.","Convert self directly into a TokenStream object.","Write self to the given TokenStream."],"i":[0,0,0,1,1,1,1,7,0,6,6,0,0,7,7,6,6,6],"f":"```{{bc}d{{h{f}}}}{{bc}dj}{{bce}djl}0{{nA`}Ab}`{lAd}0``{n{{Ah{Af}}}}011{{lAd}d}","c":[],"p":[[10,"TokenStreamExt",0],[1,"unit"],[6,"TokenTree",18],[10,"Into",19],[10,"IntoIterator",20],[10,"ToTokens",0],[10,"IdentFragment",0],[5,"Formatter",21],[8,"Result",21],[5,"TokenStream",18],[5,"Span",18],[6,"Option",22]],"b":[]}],\ ["scopeguard",{"doc":"A scope guard will run a given closure when it goes out of …","t":"GGGFKNNNNNNNNQQQNNNNNNNNNNNHHHNNNNNMNNNNNNNNNNNNNNNN","n":["Always","OnSuccess","OnUnwind","ScopeGuard","Strategy","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","defer","defer_on_success","defer_on_unwind","deref","deref_mut","drop","fmt","fmt","fmt","fmt","from","from","from","from","guard","guard_on_success","guard_on_unwind","into","into","into","into","into_inner","should_run","should_run","should_run","should_run","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","with_strategy"],"q":[[0,"scopeguard"],[52,"core::ops::function"],[53,"core::fmt"],[54,"core::fmt"],[55,"core::any"]],"d":["Always run on scope exit.","Run on regular scope exit, when not unwinding.","Run on scope exit through unwinding.","ScopeGuard is a scope guard that may own a protected value.","Controls in which cases the associated code should be run","","","","","","","","","Macro to create a ScopeGuard (always run).","Macro to create a ScopeGuard (run on successful scope …","Macro to create a ScopeGuard (run on unwinding from panic).","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new ScopeGuard owning v and with deferred closure …","Create a new ScopeGuard owning v and with deferred closure …","Create a new ScopeGuard owning v and with deferred closure …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","“Defuse” the guard and extract the value without …","Return true if the guard’s associated code should run …","","","","","","","","","","","","","","","","Create a ScopeGuard that owns v (accessible through deref) …"],"i":[0,0,0,0,0,1,8,9,10,1,8,9,10,0,0,0,1,1,1,1,8,9,10,1,8,9,10,0,0,0,1,8,9,10,1,3,8,9,10,1,8,9,10,1,8,9,10,1,8,9,10,1],"f":"`````{ce{}{}}0000000```{{{b{ceg}}}c{}{{d{c}}}f}0{{{b{ceg}}}h{}{{d{c}}}f}{{{b{ceg}}j}ln{{d{c}}}f}{{A`j}l}{{Abj}l}{{Adj}l}{cc{}}000{{ce}{{b{ceA`}}}{}{{d{c}}}}{{ce}{{b{ceAd}}}{}{{d{c}}}}{{ce}{{b{ceAb}}}{}{{d{c}}}}::::9{{}Af}000{c{{Ah{e}}}{}{}}0000000{cAj{}}000{{ce}{{b{ceg}}}{}{{d{c}}}f}","c":[],"p":[[5,"ScopeGuard",0],[10,"FnOnce",52],[10,"Strategy",0],[1,"unit"],[5,"Formatter",53],[8,"Result",53],[10,"Debug",53],[6,"Always",0],[6,"OnUnwind",0],[6,"OnSuccess",0],[1,"bool"],[6,"Result",54],[5,"TypeId",55]],"b":[]}],\ diff --git a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/bluebps.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/bluebps.rs.html index 2364a36a8..f7c98d575 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/bluebps.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/bluebps.rs.html @@ -888,24 +888,24 @@

Files

pub enum Messages { CellTimeout(CellTimeoutStruct), CurrentMax(CurrentMaxStruct), - CellVoltageMin(CellVoltageMinStruct), - EraseFlash(EraseFlashStruct), - TemperatureMax(TemperatureMaxStruct), - SetCellVoltageTimeout(SetCellVoltageTimeoutStruct), - Events(EventsStruct), - SetCellVoltageMinimum(SetCellVoltageMinimumStruct), - ResetDefaults(ResetDefaultsStruct), - SetTemperatureMax(SetTemperatureMaxStruct), - SetLpfSampleFrequency(SetLpfSampleFrequencyStruct), SetCurrentMax(SetCurrentMaxStruct), - TemperatureTimeout(TemperatureTimeoutStruct), - Reboot(RebootStruct), - SetCurrentTimeout(SetCurrentTimeoutStruct), + SetTemperatureMax(SetTemperatureMaxStruct), SetTemperatureTimeout(SetTemperatureTimeoutStruct), SetStreamRate(SetStreamRateStruct), - CurrentTimeout(CurrentTimeoutStruct), + Events(EventsStruct), + ResetDefaults(ResetDefaultsStruct), SetLpfSetting(SetLpfSettingStruct), + SetCurrentTimeout(SetCurrentTimeoutStruct), + Reboot(RebootStruct), + CurrentTimeout(CurrentTimeoutStruct), + SetCellVoltageTimeout(SetCellVoltageTimeoutStruct), + CellVoltageMin(CellVoltageMinStruct), + TemperatureMax(TemperatureMaxStruct), State(StateStruct), + TemperatureTimeout(TemperatureTimeoutStruct), + EraseFlash(EraseFlashStruct), + SetCellVoltageMinimum(SetCellVoltageMinimumStruct), + SetLpfSampleFrequency(SetLpfSampleFrequencyStruct), } impl Messages { pub fn inner<T: 'static>(&self) -> Option<&T> { @@ -916,54 +916,54 @@

Files

Self::CurrentMax(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::CellVoltageMin(inner_struct) => { + Self::SetCurrentMax(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::EraseFlash(inner_struct) => { + Self::SetTemperatureMax(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::TemperatureMax(inner_struct) => { + Self::SetTemperatureTimeout(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetCellVoltageTimeout(inner_struct) => { + Self::SetStreamRate(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } Self::Events(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::SetCellVoltageMinimum(inner_struct) => { + Self::ResetDefaults(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::ResetDefaults(inner_struct) => { + Self::SetLpfSetting(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetTemperatureMax(inner_struct) => { + Self::SetCurrentTimeout(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetLpfSampleFrequency(inner_struct) => { + Self::Reboot(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), + Self::CurrentTimeout(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetCurrentMax(inner_struct) => { + Self::SetCellVoltageTimeout(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::TemperatureTimeout(inner_struct) => { + Self::CellVoltageMin(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::Reboot(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::SetCurrentTimeout(inner_struct) => { + Self::TemperatureMax(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetTemperatureTimeout(inner_struct) => { + Self::State(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), + Self::TemperatureTimeout(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetStreamRate(inner_struct) => { + Self::EraseFlash(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::CurrentTimeout(inner_struct) => { + Self::SetCellVoltageMinimum(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetLpfSetting(inner_struct) => { + Self::SetLpfSampleFrequency(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::State(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), } } } @@ -1029,19 +1029,19 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the minimum allowed cell voltage"] -pub struct CellVoltageMinStruct { - #[doc = "The minimum voltage allowed for any individual cell. 0~5000: 0~5V"] +#[doc = "Set the maximum allowed battery current"] +pub struct SetCurrentMaxStruct { + #[doc = "The maximum allowed battery current 0~20000 = 0~200A"] pub limit: u16, } -impl SerializePayload for CellVoltageMinStruct { +impl SerializePayload for SetCurrentMaxStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); buffer.extend_from_slice(&self.limit.to_le_bytes()); buffer } } -impl DeserializePayload for CellVoltageMinStruct { +impl DeserializePayload for SetCurrentMaxStruct { fn deserialize(payload: &[u8]) -> Self { Self { limit: u16::from_le_bytes( @@ -1052,49 +1052,59 @@

Files

} } } -impl MessageInfo for CellVoltageMinStruct { +impl MessageInfo for SetCurrentMaxStruct { fn id() -> u16 { - 9100u16 + 9002u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!"] -pub struct EraseFlashStruct {} -impl SerializePayload for EraseFlashStruct { +#[doc = "Set the maximum allowed battery temperature"] +pub struct SetTemperatureMaxStruct { + #[doc = "The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V"] + pub limit: u16, +} +impl SerializePayload for SetTemperatureMaxStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); + buffer.extend_from_slice(&self.limit.to_le_bytes()); buffer } } -impl DeserializePayload for EraseFlashStruct { +impl DeserializePayload for SetTemperatureMaxStruct { fn deserialize(payload: &[u8]) -> Self { - Self {} + Self { + limit: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } } } -impl MessageInfo for EraseFlashStruct { +impl MessageInfo for SetTemperatureMaxStruct { fn id() -> u16 { - 9201u16 + 9004u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the maximum allowed battery temperature"] -pub struct TemperatureMaxStruct { - #[doc = "The minimum voltage allowed for any individual cell. 0~5000: 0~5V"] - pub limit: u16, +#[doc = "Set the over-temperature timeout"] +pub struct SetTemperatureTimeoutStruct { + #[doc = "If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out"] + pub timeout: u16, } -impl SerializePayload for TemperatureMaxStruct { +impl SerializePayload for SetTemperatureTimeoutStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.limit.to_le_bytes()); + buffer.extend_from_slice(&self.timeout.to_le_bytes()); buffer } } -impl DeserializePayload for TemperatureMaxStruct { +impl DeserializePayload for SetTemperatureTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { - limit: u16::from_le_bytes( + timeout: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1102,39 +1112,39 @@

Files

} } } -impl MessageInfo for TemperatureMaxStruct { +impl MessageInfo for SetTemperatureTimeoutStruct { fn id() -> u16 { - 9104u16 + 9005u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the under-voltage timeout"] -pub struct SetCellVoltageTimeoutStruct { - #[doc = "If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out"] - pub timeout: u16, +#[doc = "Set the frequency to automatically output state messages."] +pub struct SetStreamRateStruct { + #[doc = "Rate to stream `state` messages. 0~100000Hz"] + pub rate: u32, } -impl SerializePayload for SetCellVoltageTimeoutStruct { +impl SerializePayload for SetStreamRateStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.timeout.to_le_bytes()); + buffer.extend_from_slice(&self.rate.to_le_bytes()); buffer } } -impl DeserializePayload for SetCellVoltageTimeoutStruct { +impl DeserializePayload for SetStreamRateStruct { fn deserialize(payload: &[u8]) -> Self { Self { - timeout: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + rate: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), } } } -impl MessageInfo for SetCellVoltageTimeoutStruct { +impl MessageInfo for SetStreamRateStruct { fn id() -> u16 { - 9001u16 + 9006u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -1185,36 +1195,6 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the minimum allowed cell voltage"] -pub struct SetCellVoltageMinimumStruct { - #[doc = "The minimum voltage allowed for any individual cell. 0~5000: 0~5V"] - pub limit: u16, -} -impl SerializePayload for SetCellVoltageMinimumStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.limit.to_le_bytes()); - buffer - } -} -impl DeserializePayload for SetCellVoltageMinimumStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - limit: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - } - } -} -impl MessageInfo for SetCellVoltageMinimumStruct { - fn id() -> u16 { - 9000u16 - } -} -#[derive(Debug, Clone, PartialEq, Default)] -#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[doc = "Reset parameter configuration to default values."] pub struct ResetDefaultsStruct {} impl SerializePayload for ResetDefaultsStruct { @@ -1235,22 +1215,22 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the maximum allowed battery temperature"] -pub struct SetTemperatureMaxStruct { - #[doc = "The maximum temperature allowed at the thermistor probe installed on the battery. 0~5000: 0~5V"] - pub limit: u16, +#[doc = "Low pass filter setting. This value represents x in the equation `value = value * x + sample * (1-x)`. 0.0 = no filtering, 0.99 = heavy filtering."] +pub struct SetLpfSettingStruct { + #[doc = "0~999: x = 0~0.999"] + pub setting: u16, } -impl SerializePayload for SetTemperatureMaxStruct { +impl SerializePayload for SetLpfSettingStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.limit.to_le_bytes()); + buffer.extend_from_slice(&self.setting.to_le_bytes()); buffer } } -impl DeserializePayload for SetTemperatureMaxStruct { +impl DeserializePayload for SetLpfSettingStruct { fn deserialize(payload: &[u8]) -> Self { Self { - limit: u16::from_le_bytes( + setting: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1258,86 +1238,82 @@

Files

} } } -impl MessageInfo for SetTemperatureMaxStruct { +impl MessageInfo for SetLpfSettingStruct { fn id() -> u16 { - 9004u16 + 9008u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "the frequency to take adc samples and run the filter."] -pub struct SetLpfSampleFrequencyStruct { - #[doc = "sample frequency in Hz. 1~100000"] - pub sample_frequency: u32, +#[doc = "Set the over-current timeout"] +pub struct SetCurrentTimeoutStruct { + #[doc = "If the battery current exceeds the configured limit for this duration of time, the power will be locked-out"] + pub timeout: u16, } -impl SerializePayload for SetLpfSampleFrequencyStruct { +impl SerializePayload for SetCurrentTimeoutStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.sample_frequency.to_le_bytes()); + buffer.extend_from_slice(&self.timeout.to_le_bytes()); buffer } } -impl DeserializePayload for SetLpfSampleFrequencyStruct { +impl DeserializePayload for SetCurrentTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { - sample_frequency: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + timeout: u16::from_le_bytes( + payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), } } } -impl MessageInfo for SetLpfSampleFrequencyStruct { +impl MessageInfo for SetCurrentTimeoutStruct { fn id() -> u16 { - 9007u16 + 9003u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the maximum allowed battery current"] -pub struct SetCurrentMaxStruct { - #[doc = "The maximum allowed battery current 0~20000 = 0~200A"] - pub limit: u16, +#[doc = "reboot the system"] +pub struct RebootStruct { + #[doc = "0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot"] + pub goto_bootloader: u8, } -impl SerializePayload for SetCurrentMaxStruct { +impl SerializePayload for RebootStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.limit.to_le_bytes()); + buffer.extend_from_slice(&self.goto_bootloader.to_le_bytes()); buffer } } -impl DeserializePayload for SetCurrentMaxStruct { +impl DeserializePayload for RebootStruct { fn deserialize(payload: &[u8]) -> Self { Self { - limit: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), + goto_bootloader: payload[0usize].into(), } } } -impl MessageInfo for SetCurrentMaxStruct { +impl MessageInfo for RebootStruct { fn id() -> u16 { - 9002u16 + 9200u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the over-temperature timeout"] -pub struct TemperatureTimeoutStruct { - #[doc = "If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out"] +#[doc = "Get the over-current timeout"] +pub struct CurrentTimeoutStruct { + #[doc = "If the battery current exceeds the configured limit for this duration of time, the power will be locked-out"] pub timeout: u16, } -impl SerializePayload for TemperatureTimeoutStruct { +impl SerializePayload for CurrentTimeoutStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); buffer.extend_from_slice(&self.timeout.to_le_bytes()); buffer } } -impl DeserializePayload for TemperatureTimeoutStruct { +impl DeserializePayload for CurrentTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { timeout: u16::from_le_bytes( @@ -1348,55 +1324,59 @@

Files

} } } -impl MessageInfo for TemperatureTimeoutStruct { +impl MessageInfo for CurrentTimeoutStruct { fn id() -> u16 { - 9105u16 + 9103u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "reboot the system"] -pub struct RebootStruct { - #[doc = "0 = normal reboot, run main application after reboot 1 = hold the device in bootloader after reboot"] - pub goto_bootloader: u8, -} -impl SerializePayload for RebootStruct { +#[doc = "Set the under-voltage timeout"] +pub struct SetCellVoltageTimeoutStruct { + #[doc = "If an individual cell exceeds the configured limit for this duration of time, the power will be locked-out"] + pub timeout: u16, +} +impl SerializePayload for SetCellVoltageTimeoutStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.goto_bootloader.to_le_bytes()); + buffer.extend_from_slice(&self.timeout.to_le_bytes()); buffer } } -impl DeserializePayload for RebootStruct { +impl DeserializePayload for SetCellVoltageTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { - goto_bootloader: payload[0usize].into(), + timeout: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), } } } -impl MessageInfo for RebootStruct { +impl MessageInfo for SetCellVoltageTimeoutStruct { fn id() -> u16 { - 9200u16 + 9001u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the over-current timeout"] -pub struct SetCurrentTimeoutStruct { - #[doc = "If the battery current exceeds the configured limit for this duration of time, the power will be locked-out"] - pub timeout: u16, +#[doc = "Get the minimum allowed cell voltage"] +pub struct CellVoltageMinStruct { + #[doc = "The minimum voltage allowed for any individual cell. 0~5000: 0~5V"] + pub limit: u16, } -impl SerializePayload for SetCurrentTimeoutStruct { +impl SerializePayload for CellVoltageMinStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.timeout.to_le_bytes()); + buffer.extend_from_slice(&self.limit.to_le_bytes()); buffer } } -impl DeserializePayload for SetCurrentTimeoutStruct { +impl DeserializePayload for CellVoltageMinStruct { fn deserialize(payload: &[u8]) -> Self { Self { - timeout: u16::from_le_bytes( + limit: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1404,29 +1384,29 @@

Files

} } } -impl MessageInfo for SetCurrentTimeoutStruct { +impl MessageInfo for CellVoltageMinStruct { fn id() -> u16 { - 9003u16 + 9100u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the over-temperature timeout"] -pub struct SetTemperatureTimeoutStruct { - #[doc = "If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out"] - pub timeout: u16, +#[doc = "Get the maximum allowed battery temperature"] +pub struct TemperatureMaxStruct { + #[doc = "The minimum voltage allowed for any individual cell. 0~5000: 0~5V"] + pub limit: u16, } -impl SerializePayload for SetTemperatureTimeoutStruct { +impl SerializePayload for TemperatureMaxStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.timeout.to_le_bytes()); + buffer.extend_from_slice(&self.limit.to_le_bytes()); buffer } } -impl DeserializePayload for SetTemperatureTimeoutStruct { +impl DeserializePayload for TemperatureMaxStruct { fn deserialize(payload: &[u8]) -> Self { Self { - timeout: u16::from_le_bytes( + limit: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1434,56 +1414,97 @@

Files

} } } -impl MessageInfo for SetTemperatureTimeoutStruct { +impl MessageInfo for TemperatureMaxStruct { fn id() -> u16 { - 9005u16 + 9104u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the frequency to automatically output state messages."] -pub struct SetStreamRateStruct { - #[doc = "Rate to stream `state` messages. 0~100000Hz"] - pub rate: u32, +#[doc = "Get the current state of the device"] +pub struct StateStruct { + #[doc = "The main battery voltage"] + pub battery_voltage: u16, + #[doc = "The current measurement"] + pub battery_current: u16, + #[doc = "The battery temperature"] + pub battery_temperature: u16, + #[doc = "The cpu temperature"] + pub cpu_temperature: u16, + #[doc = "flags indicating if any of the configured limits are currently exceeded"] + pub flags: u8, + #[doc = "Array containing cell voltages"] + pub cell_voltages_length: u8, + pub cell_voltages: Vec<u16>, } -impl SerializePayload for SetStreamRateStruct { +impl SerializePayload for StateStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.rate.to_le_bytes()); + buffer.extend_from_slice(&self.battery_voltage.to_le_bytes()); + buffer.extend_from_slice(&self.battery_current.to_le_bytes()); + buffer.extend_from_slice(&self.battery_temperature.to_le_bytes()); + buffer.extend_from_slice(&self.cpu_temperature.to_le_bytes()); + buffer.extend_from_slice(&self.flags.to_le_bytes()); + buffer.extend_from_slice(&self.cell_voltages_length.to_le_bytes()); + for value in self.cell_voltages.iter() { + buffer.extend_from_slice(&value.to_le_bytes()); + } buffer } } -impl DeserializePayload for SetStreamRateStruct { +impl DeserializePayload for StateStruct { fn deserialize(payload: &[u8]) -> Self { Self { - rate: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + battery_voltage: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + battery_current: u16::from_le_bytes( + payload[2usize..2usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + battery_temperature: u16::from_le_bytes( + payload[4usize..4usize + 2usize] .try_into() .expect("Wrong slice length"), ), + cpu_temperature: u16::from_le_bytes( + payload[6usize..6usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + flags: payload[8usize].into(), + cell_voltages_length: payload.len() as u8, + cell_voltages: payload[9usize..payload.len()] + .chunks_exact(2usize) + .into_iter() + .map(|a| u16::from_le_bytes((*a).try_into().expect("Wrong slice length"))) + .collect::<Vec<u16>>(), } } } -impl MessageInfo for SetStreamRateStruct { +impl MessageInfo for StateStruct { fn id() -> u16 { - 9006u16 + 9106u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the over-current timeout"] -pub struct CurrentTimeoutStruct { - #[doc = "If the battery current exceeds the configured limit for this duration of time, the power will be locked-out"] +#[doc = "Get the over-temperature timeout"] +pub struct TemperatureTimeoutStruct { + #[doc = "If the battery temperature exceeds the configured limit for this duration of time, the power will be locked-out"] pub timeout: u16, } -impl SerializePayload for CurrentTimeoutStruct { +impl SerializePayload for TemperatureTimeoutStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); buffer.extend_from_slice(&self.timeout.to_le_bytes()); buffer } } -impl DeserializePayload for CurrentTimeoutStruct { +impl DeserializePayload for TemperatureTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { timeout: u16::from_le_bytes( @@ -1494,29 +1515,49 @@

Files

} } } -impl MessageInfo for CurrentTimeoutStruct { +impl MessageInfo for TemperatureTimeoutStruct { fn id() -> u16 { - 9103u16 + 9105u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Low pass filter setting. This value represents x in the equation `value = value * x + sample * (1-x)`. 0.0 = no filtering, 0.99 = heavy filtering."] -pub struct SetLpfSettingStruct { - #[doc = "0~999: x = 0~0.999"] - pub setting: u16, +#[doc = "Erase flash, including parameter configuration and event counters. The mcu has a limited number of write/erase cycles (1k)!"] +pub struct EraseFlashStruct {} +impl SerializePayload for EraseFlashStruct { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer + } } -impl SerializePayload for SetLpfSettingStruct { +impl DeserializePayload for EraseFlashStruct { + fn deserialize(payload: &[u8]) -> Self { + Self {} + } +} +impl MessageInfo for EraseFlashStruct { + fn id() -> u16 { + 9201u16 + } +} +#[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] +#[doc = "Set the minimum allowed cell voltage"] +pub struct SetCellVoltageMinimumStruct { + #[doc = "The minimum voltage allowed for any individual cell. 0~5000: 0~5V"] + pub limit: u16, +} +impl SerializePayload for SetCellVoltageMinimumStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.setting.to_le_bytes()); + buffer.extend_from_slice(&self.limit.to_le_bytes()); buffer } } -impl DeserializePayload for SetLpfSettingStruct { +impl DeserializePayload for SetCellVoltageMinimumStruct { fn deserialize(payload: &[u8]) -> Self { Self { - setting: u16::from_le_bytes( + limit: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1524,80 +1565,39 @@

Files

} } } -impl MessageInfo for SetLpfSettingStruct { +impl MessageInfo for SetCellVoltageMinimumStruct { fn id() -> u16 { - 9008u16 + 9000u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the current state of the device"] -pub struct StateStruct { - #[doc = "The main battery voltage"] - pub battery_voltage: u16, - #[doc = "The current measurement"] - pub battery_current: u16, - #[doc = "The battery temperature"] - pub battery_temperature: u16, - #[doc = "The cpu temperature"] - pub cpu_temperature: u16, - #[doc = "flags indicating if any of the configured limits are currently exceeded"] - pub flags: u8, - #[doc = "Array containing cell voltages"] - pub cell_voltages_length: u8, - pub cell_voltages: Vec<u16>, +#[doc = "the frequency to take adc samples and run the filter."] +pub struct SetLpfSampleFrequencyStruct { + #[doc = "sample frequency in Hz. 1~100000"] + pub sample_frequency: u32, } -impl SerializePayload for StateStruct { +impl SerializePayload for SetLpfSampleFrequencyStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.battery_voltage.to_le_bytes()); - buffer.extend_from_slice(&self.battery_current.to_le_bytes()); - buffer.extend_from_slice(&self.battery_temperature.to_le_bytes()); - buffer.extend_from_slice(&self.cpu_temperature.to_le_bytes()); - buffer.extend_from_slice(&self.flags.to_le_bytes()); - buffer.extend_from_slice(&self.cell_voltages_length.to_le_bytes()); - for value in self.cell_voltages.iter() { - buffer.extend_from_slice(&value.to_le_bytes()); - } + buffer.extend_from_slice(&self.sample_frequency.to_le_bytes()); buffer } } -impl DeserializePayload for StateStruct { +impl DeserializePayload for SetLpfSampleFrequencyStruct { fn deserialize(payload: &[u8]) -> Self { Self { - battery_voltage: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - battery_current: u16::from_le_bytes( - payload[2usize..2usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - battery_temperature: u16::from_le_bytes( - payload[4usize..4usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - cpu_temperature: u16::from_le_bytes( - payload[6usize..6usize + 2usize] + sample_frequency: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), - flags: payload[8usize].into(), - cell_voltages_length: payload.len() as u8, - cell_voltages: payload[9usize..payload.len()] - .chunks_exact(2usize) - .into_iter() - .map(|a| u16::from_le_bytes((*a).try_into().expect("Wrong slice length"))) - .collect::<Vec<u16>>(), } } } -impl MessageInfo for StateStruct { +impl MessageInfo for SetLpfSampleFrequencyStruct { fn id() -> u16 { - 9106u16 + 9007u16 } } impl PingMessage for Messages { @@ -1605,72 +1605,72 @@

Files

match self { Messages::CellTimeout(..) => "cell_timeout", Messages::CurrentMax(..) => "current_max", - Messages::CellVoltageMin(..) => "cell_voltage_min", - Messages::EraseFlash(..) => "erase_flash", - Messages::TemperatureMax(..) => "temperature_max", - Messages::SetCellVoltageTimeout(..) => "set_cell_voltage_timeout", - Messages::Events(..) => "events", - Messages::SetCellVoltageMinimum(..) => "set_cell_voltage_minimum", - Messages::ResetDefaults(..) => "reset_defaults", - Messages::SetTemperatureMax(..) => "set_temperature_max", - Messages::SetLpfSampleFrequency(..) => "set_lpf_sample_frequency", Messages::SetCurrentMax(..) => "set_current_max", - Messages::TemperatureTimeout(..) => "temperature_timeout", - Messages::Reboot(..) => "reboot", - Messages::SetCurrentTimeout(..) => "set_current_timeout", + Messages::SetTemperatureMax(..) => "set_temperature_max", Messages::SetTemperatureTimeout(..) => "set_temperature_timeout", Messages::SetStreamRate(..) => "set_stream_rate", - Messages::CurrentTimeout(..) => "current_timeout", + Messages::Events(..) => "events", + Messages::ResetDefaults(..) => "reset_defaults", Messages::SetLpfSetting(..) => "set_lpf_setting", + Messages::SetCurrentTimeout(..) => "set_current_timeout", + Messages::Reboot(..) => "reboot", + Messages::CurrentTimeout(..) => "current_timeout", + Messages::SetCellVoltageTimeout(..) => "set_cell_voltage_timeout", + Messages::CellVoltageMin(..) => "cell_voltage_min", + Messages::TemperatureMax(..) => "temperature_max", Messages::State(..) => "state", + Messages::TemperatureTimeout(..) => "temperature_timeout", + Messages::EraseFlash(..) => "erase_flash", + Messages::SetCellVoltageMinimum(..) => "set_cell_voltage_minimum", + Messages::SetLpfSampleFrequency(..) => "set_lpf_sample_frequency", } } fn message_id(&self) -> u16 { match self { Messages::CellTimeout(..) => 9101u16, Messages::CurrentMax(..) => 9102u16, - Messages::CellVoltageMin(..) => 9100u16, - Messages::EraseFlash(..) => 9201u16, - Messages::TemperatureMax(..) => 9104u16, - Messages::SetCellVoltageTimeout(..) => 9001u16, - Messages::Events(..) => 9107u16, - Messages::SetCellVoltageMinimum(..) => 9000u16, - Messages::ResetDefaults(..) => 9202u16, - Messages::SetTemperatureMax(..) => 9004u16, - Messages::SetLpfSampleFrequency(..) => 9007u16, Messages::SetCurrentMax(..) => 9002u16, - Messages::TemperatureTimeout(..) => 9105u16, - Messages::Reboot(..) => 9200u16, - Messages::SetCurrentTimeout(..) => 9003u16, + Messages::SetTemperatureMax(..) => 9004u16, Messages::SetTemperatureTimeout(..) => 9005u16, Messages::SetStreamRate(..) => 9006u16, - Messages::CurrentTimeout(..) => 9103u16, + Messages::Events(..) => 9107u16, + Messages::ResetDefaults(..) => 9202u16, Messages::SetLpfSetting(..) => 9008u16, + Messages::SetCurrentTimeout(..) => 9003u16, + Messages::Reboot(..) => 9200u16, + Messages::CurrentTimeout(..) => 9103u16, + Messages::SetCellVoltageTimeout(..) => 9001u16, + Messages::CellVoltageMin(..) => 9100u16, + Messages::TemperatureMax(..) => 9104u16, Messages::State(..) => 9106u16, + Messages::TemperatureTimeout(..) => 9105u16, + Messages::EraseFlash(..) => 9201u16, + Messages::SetCellVoltageMinimum(..) => 9000u16, + Messages::SetLpfSampleFrequency(..) => 9007u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { "cell_timeout" => Ok(9101u16), "current_max" => Ok(9102u16), - "cell_voltage_min" => Ok(9100u16), - "erase_flash" => Ok(9201u16), - "temperature_max" => Ok(9104u16), - "set_cell_voltage_timeout" => Ok(9001u16), - "events" => Ok(9107u16), - "set_cell_voltage_minimum" => Ok(9000u16), - "reset_defaults" => Ok(9202u16), - "set_temperature_max" => Ok(9004u16), - "set_lpf_sample_frequency" => Ok(9007u16), "set_current_max" => Ok(9002u16), - "temperature_timeout" => Ok(9105u16), - "reboot" => Ok(9200u16), - "set_current_timeout" => Ok(9003u16), + "set_temperature_max" => Ok(9004u16), "set_temperature_timeout" => Ok(9005u16), "set_stream_rate" => Ok(9006u16), - "current_timeout" => Ok(9103u16), + "events" => Ok(9107u16), + "reset_defaults" => Ok(9202u16), "set_lpf_setting" => Ok(9008u16), + "set_current_timeout" => Ok(9003u16), + "reboot" => Ok(9200u16), + "current_timeout" => Ok(9103u16), + "set_cell_voltage_timeout" => Ok(9001u16), + "cell_voltage_min" => Ok(9100u16), + "temperature_max" => Ok(9104u16), "state" => Ok(9106u16), + "temperature_timeout" => Ok(9105u16), + "erase_flash" => Ok(9201u16), + "set_cell_voltage_minimum" => Ok(9000u16), + "set_lpf_sample_frequency" => Ok(9007u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -1680,24 +1680,24 @@

Files

match self { Messages::CellTimeout(content) => content.serialize(), Messages::CurrentMax(content) => content.serialize(), - Messages::CellVoltageMin(content) => content.serialize(), - Messages::EraseFlash(content) => content.serialize(), - Messages::TemperatureMax(content) => content.serialize(), - Messages::SetCellVoltageTimeout(content) => content.serialize(), - Messages::Events(content) => content.serialize(), - Messages::SetCellVoltageMinimum(content) => content.serialize(), - Messages::ResetDefaults(content) => content.serialize(), - Messages::SetTemperatureMax(content) => content.serialize(), - Messages::SetLpfSampleFrequency(content) => content.serialize(), Messages::SetCurrentMax(content) => content.serialize(), - Messages::TemperatureTimeout(content) => content.serialize(), - Messages::Reboot(content) => content.serialize(), - Messages::SetCurrentTimeout(content) => content.serialize(), + Messages::SetTemperatureMax(content) => content.serialize(), Messages::SetTemperatureTimeout(content) => content.serialize(), Messages::SetStreamRate(content) => content.serialize(), - Messages::CurrentTimeout(content) => content.serialize(), + Messages::Events(content) => content.serialize(), + Messages::ResetDefaults(content) => content.serialize(), Messages::SetLpfSetting(content) => content.serialize(), + Messages::SetCurrentTimeout(content) => content.serialize(), + Messages::Reboot(content) => content.serialize(), + Messages::CurrentTimeout(content) => content.serialize(), + Messages::SetCellVoltageTimeout(content) => content.serialize(), + Messages::CellVoltageMin(content) => content.serialize(), + Messages::TemperatureMax(content) => content.serialize(), Messages::State(content) => content.serialize(), + Messages::TemperatureTimeout(content) => content.serialize(), + Messages::EraseFlash(content) => content.serialize(), + Messages::SetCellVoltageMinimum(content) => content.serialize(), + Messages::SetLpfSampleFrequency(content) => content.serialize(), } } } @@ -1706,32 +1706,32 @@

Files

Ok(match message_id { 9101u16 => Messages::CellTimeout(CellTimeoutStruct::deserialize(payload)), 9102u16 => Messages::CurrentMax(CurrentMaxStruct::deserialize(payload)), - 9100u16 => Messages::CellVoltageMin(CellVoltageMinStruct::deserialize(payload)), - 9201u16 => Messages::EraseFlash(EraseFlashStruct::deserialize(payload)), - 9104u16 => Messages::TemperatureMax(TemperatureMaxStruct::deserialize(payload)), + 9002u16 => Messages::SetCurrentMax(SetCurrentMaxStruct::deserialize(payload)), + 9004u16 => Messages::SetTemperatureMax(SetTemperatureMaxStruct::deserialize(payload)), + 9005u16 => { + Messages::SetTemperatureTimeout(SetTemperatureTimeoutStruct::deserialize(payload)) + } + 9006u16 => Messages::SetStreamRate(SetStreamRateStruct::deserialize(payload)), + 9107u16 => Messages::Events(EventsStruct::deserialize(payload)), + 9202u16 => Messages::ResetDefaults(ResetDefaultsStruct::deserialize(payload)), + 9008u16 => Messages::SetLpfSetting(SetLpfSettingStruct::deserialize(payload)), + 9003u16 => Messages::SetCurrentTimeout(SetCurrentTimeoutStruct::deserialize(payload)), + 9200u16 => Messages::Reboot(RebootStruct::deserialize(payload)), + 9103u16 => Messages::CurrentTimeout(CurrentTimeoutStruct::deserialize(payload)), 9001u16 => { Messages::SetCellVoltageTimeout(SetCellVoltageTimeoutStruct::deserialize(payload)) } - 9107u16 => Messages::Events(EventsStruct::deserialize(payload)), + 9100u16 => Messages::CellVoltageMin(CellVoltageMinStruct::deserialize(payload)), + 9104u16 => Messages::TemperatureMax(TemperatureMaxStruct::deserialize(payload)), + 9106u16 => Messages::State(StateStruct::deserialize(payload)), + 9105u16 => Messages::TemperatureTimeout(TemperatureTimeoutStruct::deserialize(payload)), + 9201u16 => Messages::EraseFlash(EraseFlashStruct::deserialize(payload)), 9000u16 => { Messages::SetCellVoltageMinimum(SetCellVoltageMinimumStruct::deserialize(payload)) } - 9202u16 => Messages::ResetDefaults(ResetDefaultsStruct::deserialize(payload)), - 9004u16 => Messages::SetTemperatureMax(SetTemperatureMaxStruct::deserialize(payload)), 9007u16 => { Messages::SetLpfSampleFrequency(SetLpfSampleFrequencyStruct::deserialize(payload)) } - 9002u16 => Messages::SetCurrentMax(SetCurrentMaxStruct::deserialize(payload)), - 9105u16 => Messages::TemperatureTimeout(TemperatureTimeoutStruct::deserialize(payload)), - 9200u16 => Messages::Reboot(RebootStruct::deserialize(payload)), - 9003u16 => Messages::SetCurrentTimeout(SetCurrentTimeoutStruct::deserialize(payload)), - 9005u16 => { - Messages::SetTemperatureTimeout(SetTemperatureTimeoutStruct::deserialize(payload)) - } - 9006u16 => Messages::SetStreamRate(SetStreamRateStruct::deserialize(payload)), - 9103u16 => Messages::CurrentTimeout(CurrentTimeoutStruct::deserialize(payload)), - 9008u16 => Messages::SetLpfSetting(SetLpfSettingStruct::deserialize(payload)), - 9106u16 => Messages::State(StateStruct::deserialize(payload)), _ => { return Err(&"Unknown message id"); } diff --git a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/common.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/common.rs.html index 992317320..6bc1b5069 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/common.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/common.rs.html @@ -364,129 +364,129 @@

Files

#[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { - Ack(AckStruct), - Nack(NackStruct), - AsciiText(AsciiTextStruct), - DeviceInformation(DeviceInformationStruct), - ProtocolVersion(ProtocolVersionStruct), SetDeviceId(SetDeviceIdStruct), GeneralRequest(GeneralRequestStruct), + ProtocolVersion(ProtocolVersionStruct), + DeviceInformation(DeviceInformationStruct), + Nack(NackStruct), + AsciiText(AsciiTextStruct), + Ack(AckStruct), } impl Messages { pub fn inner<T: 'static>(&self) -> Option<&T> { match self { - Self::Ack(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::Nack(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::AsciiText(inner_struct) => { + Self::SetDeviceId(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::DeviceInformation(inner_struct) => { + Self::GeneralRequest(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } Self::ProtocolVersion(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetDeviceId(inner_struct) => { + Self::DeviceInformation(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::GeneralRequest(inner_struct) => { + Self::Nack(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), + Self::AsciiText(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } + Self::Ack(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), } } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Acknowledged."] -pub struct AckStruct { - #[doc = "The message ID that is ACKnowledged."] - pub acked_id: u16, +#[doc = "Set the device ID."] +pub struct SetDeviceIdStruct { + #[doc = "Device ID (1-254). 0 is unknown and 255 is reserved for broadcast messages."] + pub device_id: u8, } -impl SerializePayload for AckStruct { +impl SerializePayload for SetDeviceIdStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.acked_id.to_le_bytes()); + buffer.extend_from_slice(&self.device_id.to_le_bytes()); buffer } } -impl DeserializePayload for AckStruct { +impl DeserializePayload for SetDeviceIdStruct { fn deserialize(payload: &[u8]) -> Self { Self { - acked_id: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), + device_id: payload[0usize].into(), } } } -impl MessageInfo for AckStruct { +impl MessageInfo for SetDeviceIdStruct { fn id() -> u16 { - 1u16 + 100u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Not acknowledged."] -pub struct NackStruct { - #[doc = "The message ID that is Not ACKnowledged."] - pub nacked_id: u16, - #[doc = "ASCII text message indicating NACK condition. (not necessarily NULL terminated)"] - pub nack_message: String, +#[doc = "Requests a specific message to be sent from the sonar to the host. Command timeout should be set to 50 msec."] +pub struct GeneralRequestStruct { + #[doc = "Message ID to be requested."] + pub requested_id: u16, } -impl SerializePayload for NackStruct { +impl SerializePayload for GeneralRequestStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.nacked_id.to_le_bytes()); - buffer.extend_from_slice(self.nack_message.as_bytes()); - buffer.push(0); + buffer.extend_from_slice(&self.requested_id.to_le_bytes()); buffer } } -impl DeserializePayload for NackStruct { +impl DeserializePayload for GeneralRequestStruct { fn deserialize(payload: &[u8]) -> Self { Self { - nacked_id: u16::from_le_bytes( + requested_id: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), - nack_message: String::from_utf8(payload[2usize..2usize + payload.len()].to_vec()) - .unwrap(), } } } -impl MessageInfo for NackStruct { +impl MessageInfo for GeneralRequestStruct { fn id() -> u16 { - 2u16 + 6u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "A message for transmitting text data."] -pub struct AsciiTextStruct { - #[doc = "ASCII text message. (not necessarily NULL terminated)"] - pub ascii_message: String, +#[doc = "The protocol version"] +pub struct ProtocolVersionStruct { + #[doc = "Protocol version major number."] + pub version_major: u8, + #[doc = "Protocol version minor number."] + pub version_minor: u8, + #[doc = "Protocol version patch number."] + pub version_patch: u8, + #[doc = "reserved"] + pub reserved: u8, } -impl SerializePayload for AsciiTextStruct { +impl SerializePayload for ProtocolVersionStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(self.ascii_message.as_bytes()); - buffer.push(0); + buffer.extend_from_slice(&self.version_major.to_le_bytes()); + buffer.extend_from_slice(&self.version_minor.to_le_bytes()); + buffer.extend_from_slice(&self.version_patch.to_le_bytes()); + buffer.extend_from_slice(&self.reserved.to_le_bytes()); buffer } } -impl DeserializePayload for AsciiTextStruct { +impl DeserializePayload for ProtocolVersionStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ascii_message: String::from_utf8(payload[0usize..0usize + payload.len()].to_vec()) - .unwrap(), + version_major: payload[0usize].into(), + version_minor: payload[1usize].into(), + version_patch: payload[2usize].into(), + reserved: payload[3usize].into(), } } } -impl MessageInfo for AsciiTextStruct { +impl MessageInfo for ProtocolVersionStruct { fn id() -> u16 { - 3u16 + 5u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -537,86 +537,86 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The protocol version"] -pub struct ProtocolVersionStruct { - #[doc = "Protocol version major number."] - pub version_major: u8, - #[doc = "Protocol version minor number."] - pub version_minor: u8, - #[doc = "Protocol version patch number."] - pub version_patch: u8, - #[doc = "reserved"] - pub reserved: u8, +#[doc = "Not acknowledged."] +pub struct NackStruct { + #[doc = "The message ID that is Not ACKnowledged."] + pub nacked_id: u16, + #[doc = "ASCII text message indicating NACK condition. (not necessarily NULL terminated)"] + pub nack_message: String, } -impl SerializePayload for ProtocolVersionStruct { +impl SerializePayload for NackStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.version_major.to_le_bytes()); - buffer.extend_from_slice(&self.version_minor.to_le_bytes()); - buffer.extend_from_slice(&self.version_patch.to_le_bytes()); - buffer.extend_from_slice(&self.reserved.to_le_bytes()); + buffer.extend_from_slice(&self.nacked_id.to_le_bytes()); + buffer.extend_from_slice(self.nack_message.as_bytes()); + buffer.push(0); buffer } } -impl DeserializePayload for ProtocolVersionStruct { +impl DeserializePayload for NackStruct { fn deserialize(payload: &[u8]) -> Self { Self { - version_major: payload[0usize].into(), - version_minor: payload[1usize].into(), - version_patch: payload[2usize].into(), - reserved: payload[3usize].into(), + nacked_id: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + nack_message: String::from_utf8(payload[2usize..2usize + payload.len()].to_vec()) + .unwrap(), } } } -impl MessageInfo for ProtocolVersionStruct { +impl MessageInfo for NackStruct { fn id() -> u16 { - 5u16 + 2u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the device ID."] -pub struct SetDeviceIdStruct { - #[doc = "Device ID (1-254). 0 is unknown and 255 is reserved for broadcast messages."] - pub device_id: u8, +#[doc = "A message for transmitting text data."] +pub struct AsciiTextStruct { + #[doc = "ASCII text message. (not necessarily NULL terminated)"] + pub ascii_message: String, } -impl SerializePayload for SetDeviceIdStruct { +impl SerializePayload for AsciiTextStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.device_id.to_le_bytes()); + buffer.extend_from_slice(self.ascii_message.as_bytes()); + buffer.push(0); buffer } } -impl DeserializePayload for SetDeviceIdStruct { +impl DeserializePayload for AsciiTextStruct { fn deserialize(payload: &[u8]) -> Self { Self { - device_id: payload[0usize].into(), + ascii_message: String::from_utf8(payload[0usize..0usize + payload.len()].to_vec()) + .unwrap(), } } } -impl MessageInfo for SetDeviceIdStruct { +impl MessageInfo for AsciiTextStruct { fn id() -> u16 { - 100u16 + 3u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Requests a specific message to be sent from the sonar to the host. Command timeout should be set to 50 msec."] -pub struct GeneralRequestStruct { - #[doc = "Message ID to be requested."] - pub requested_id: u16, +#[doc = "Acknowledged."] +pub struct AckStruct { + #[doc = "The message ID that is ACKnowledged."] + pub acked_id: u16, } -impl SerializePayload for GeneralRequestStruct { +impl SerializePayload for AckStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.requested_id.to_le_bytes()); + buffer.extend_from_slice(&self.acked_id.to_le_bytes()); buffer } } -impl DeserializePayload for GeneralRequestStruct { +impl DeserializePayload for AckStruct { fn deserialize(payload: &[u8]) -> Self { Self { - requested_id: u16::from_le_bytes( + acked_id: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -624,43 +624,43 @@

Files

} } } -impl MessageInfo for GeneralRequestStruct { +impl MessageInfo for AckStruct { fn id() -> u16 { - 6u16 + 1u16 } } impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { - Messages::Ack(..) => "ack", - Messages::Nack(..) => "nack", - Messages::AsciiText(..) => "ascii_text", - Messages::DeviceInformation(..) => "device_information", - Messages::ProtocolVersion(..) => "protocol_version", Messages::SetDeviceId(..) => "set_device_id", Messages::GeneralRequest(..) => "general_request", + Messages::ProtocolVersion(..) => "protocol_version", + Messages::DeviceInformation(..) => "device_information", + Messages::Nack(..) => "nack", + Messages::AsciiText(..) => "ascii_text", + Messages::Ack(..) => "ack", } } fn message_id(&self) -> u16 { match self { - Messages::Ack(..) => 1u16, - Messages::Nack(..) => 2u16, - Messages::AsciiText(..) => 3u16, - Messages::DeviceInformation(..) => 4u16, - Messages::ProtocolVersion(..) => 5u16, Messages::SetDeviceId(..) => 100u16, Messages::GeneralRequest(..) => 6u16, + Messages::ProtocolVersion(..) => 5u16, + Messages::DeviceInformation(..) => 4u16, + Messages::Nack(..) => 2u16, + Messages::AsciiText(..) => 3u16, + Messages::Ack(..) => 1u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { - "ack" => Ok(1u16), - "nack" => Ok(2u16), - "ascii_text" => Ok(3u16), - "device_information" => Ok(4u16), - "protocol_version" => Ok(5u16), "set_device_id" => Ok(100u16), "general_request" => Ok(6u16), + "protocol_version" => Ok(5u16), + "device_information" => Ok(4u16), + "nack" => Ok(2u16), + "ascii_text" => Ok(3u16), + "ack" => Ok(1u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -668,26 +668,26 @@

Files

impl SerializePayload for Messages { fn serialize(&self) -> Vec<u8> { match self { - Messages::Ack(content) => content.serialize(), - Messages::Nack(content) => content.serialize(), - Messages::AsciiText(content) => content.serialize(), - Messages::DeviceInformation(content) => content.serialize(), - Messages::ProtocolVersion(content) => content.serialize(), Messages::SetDeviceId(content) => content.serialize(), Messages::GeneralRequest(content) => content.serialize(), + Messages::ProtocolVersion(content) => content.serialize(), + Messages::DeviceInformation(content) => content.serialize(), + Messages::Nack(content) => content.serialize(), + Messages::AsciiText(content) => content.serialize(), + Messages::Ack(content) => content.serialize(), } } } impl DeserializeGenericMessage for Messages { fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str> { Ok(match message_id { - 1u16 => Messages::Ack(AckStruct::deserialize(payload)), - 2u16 => Messages::Nack(NackStruct::deserialize(payload)), - 3u16 => Messages::AsciiText(AsciiTextStruct::deserialize(payload)), - 4u16 => Messages::DeviceInformation(DeviceInformationStruct::deserialize(payload)), - 5u16 => Messages::ProtocolVersion(ProtocolVersionStruct::deserialize(payload)), 100u16 => Messages::SetDeviceId(SetDeviceIdStruct::deserialize(payload)), 6u16 => Messages::GeneralRequest(GeneralRequestStruct::deserialize(payload)), + 5u16 => Messages::ProtocolVersion(ProtocolVersionStruct::deserialize(payload)), + 4u16 => Messages::DeviceInformation(DeviceInformationStruct::deserialize(payload)), + 2u16 => Messages::Nack(NackStruct::deserialize(payload)), + 3u16 => Messages::AsciiText(AsciiTextStruct::deserialize(payload)), + 1u16 => Messages::Ack(AckStruct::deserialize(payload)), _ => { return Err(&"Unknown message id"); } diff --git a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping1d.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping1d.rs.html index 9c813d0fe..01c7d39d9 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping1d.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping1d.rs.html @@ -1218,108 +1218,108 @@

Files

#[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { - Distance(DistanceStruct), - DeviceId(DeviceIdStruct), - PcbTemperature(PcbTemperatureStruct), - GainSetting(GainSettingStruct), - ContinuousStop(ContinuousStopStruct), - SetSpeedOfSound(SetSpeedOfSoundStruct), - Profile(ProfileStruct), - GeneralInfo(GeneralInfoStruct), + SpeedOfSound(SpeedOfSoundStruct), + GotoBootloader(GotoBootloaderStruct), + TransmitDuration(TransmitDurationStruct), + ContinuousStart(ContinuousStartStruct), ModeAuto(ModeAutoStruct), - SetDeviceId(SetDeviceIdStruct), - SetGainSetting(SetGainSettingStruct), - ProcessorTemperature(ProcessorTemperatureStruct), + PingEnable(PingEnableStruct), SetRange(SetRangeStruct), - GotoBootloader(GotoBootloaderStruct), + Profile(ProfileStruct), + SetSpeedOfSound(SetSpeedOfSoundStruct), + Range(RangeStruct), + ProcessorTemperature(ProcessorTemperatureStruct), + SetPingEnable(SetPingEnableStruct), + SetPingInterval(SetPingIntervalStruct), + SetDeviceId(SetDeviceIdStruct), + GainSetting(GainSettingStruct), DistanceSimple(DistanceSimpleStruct), + PcbTemperature(PcbTemperatureStruct), SetModeAuto(SetModeAutoStruct), - SpeedOfSound(SpeedOfSoundStruct), - ContinuousStart(ContinuousStartStruct), - TransmitDuration(TransmitDurationStruct), + SetGainSetting(SetGainSettingStruct), + FirmwareVersion(FirmwareVersionStruct), + GeneralInfo(GeneralInfoStruct), + ContinuousStop(ContinuousStopStruct), + DeviceId(DeviceIdStruct), PingInterval(PingIntervalStruct), - PingEnable(PingEnableStruct), - SetPingInterval(SetPingIntervalStruct), Voltage5(Voltage5Struct), - FirmwareVersion(FirmwareVersionStruct), - Range(RangeStruct), - SetPingEnable(SetPingEnableStruct), + Distance(DistanceStruct), } impl Messages { pub fn inner<T: 'static>(&self) -> Option<&T> { match self { - Self::Distance(inner_struct) => { + Self::SpeedOfSound(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::DeviceId(inner_struct) => { + Self::GotoBootloader(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::PcbTemperature(inner_struct) => { + Self::TransmitDuration(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::GainSetting(inner_struct) => { + Self::ContinuousStart(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::ContinuousStop(inner_struct) => { + Self::ModeAuto(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetSpeedOfSound(inner_struct) => { + Self::PingEnable(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::Profile(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::GeneralInfo(inner_struct) => { + Self::SetRange(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::ModeAuto(inner_struct) => { + Self::Profile(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), + Self::SetSpeedOfSound(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetDeviceId(inner_struct) => { + Self::Range(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), + Self::ProcessorTemperature(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetGainSetting(inner_struct) => { + Self::SetPingEnable(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::ProcessorTemperature(inner_struct) => { + Self::SetPingInterval(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetRange(inner_struct) => { + Self::SetDeviceId(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::GotoBootloader(inner_struct) => { + Self::GainSetting(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } Self::DistanceSimple(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetModeAuto(inner_struct) => { + Self::PcbTemperature(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SpeedOfSound(inner_struct) => { + Self::SetModeAuto(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::ContinuousStart(inner_struct) => { + Self::SetGainSetting(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::TransmitDuration(inner_struct) => { + Self::FirmwareVersion(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::PingInterval(inner_struct) => { + Self::GeneralInfo(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::PingEnable(inner_struct) => { + Self::ContinuousStop(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::SetPingInterval(inner_struct) => { + Self::DeviceId(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::Voltage5(inner_struct) => { + Self::PingInterval(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::FirmwareVersion(inner_struct) => { + Self::Voltage5(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::Range(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::SetPingEnable(inner_struct) => { + Self::Distance(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } } @@ -1327,126 +1327,72 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The distance to target with confidence estimate. Relevant device parameters during the measurement are also provided."] -pub struct DistanceStruct { - #[doc = "The current return distance determined for the most recent acoustic measurement."] - pub distance: u32, - #[doc = "Confidence in the most recent range measurement."] - pub confidence: u16, - #[doc = "The acoustic pulse length during acoustic transmission/activation."] - pub transmit_duration: u16, - #[doc = "The pulse/measurement count since boot."] - pub ping_number: u32, - #[doc = "The beginning of the scan region in mm from the transducer."] - pub scan_start: u32, - #[doc = "The length of the scan region."] - pub scan_length: u32, - #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] - pub gain_setting: u32, +#[doc = "The speed of sound used for distance calculations."] +pub struct SpeedOfSoundStruct { + #[doc = "The speed of sound in the measurement medium. ~1,500,000 mm/s for water."] + pub speed_of_sound: u32, } -impl SerializePayload for DistanceStruct { +impl SerializePayload for SpeedOfSoundStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.distance.to_le_bytes()); - buffer.extend_from_slice(&self.confidence.to_le_bytes()); - buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); - buffer.extend_from_slice(&self.ping_number.to_le_bytes()); - buffer.extend_from_slice(&self.scan_start.to_le_bytes()); - buffer.extend_from_slice(&self.scan_length.to_le_bytes()); - buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); + buffer.extend_from_slice(&self.speed_of_sound.to_le_bytes()); buffer } } -impl DeserializePayload for DistanceStruct { +impl DeserializePayload for SpeedOfSoundStruct { fn deserialize(payload: &[u8]) -> Self { Self { - distance: u32::from_le_bytes( + speed_of_sound: u32::from_le_bytes( payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), - confidence: u16::from_le_bytes( - payload[4usize..4usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - transmit_duration: u16::from_le_bytes( - payload[6usize..6usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - ping_number: u32::from_le_bytes( - payload[8usize..8usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), - scan_start: u32::from_le_bytes( - payload[12usize..12usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), - scan_length: u32::from_le_bytes( - payload[16usize..16usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), - gain_setting: u32::from_le_bytes( - payload[20usize..20usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), } } } -impl MessageInfo for DistanceStruct { +impl MessageInfo for SpeedOfSoundStruct { fn id() -> u16 { - 1212u16 + 1203u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The device ID."] -pub struct DeviceIdStruct { - #[doc = "The device ID (0-254). 255 is reserved for broadcast messages."] - pub device_id: u8, -} -impl SerializePayload for DeviceIdStruct { +#[doc = "Send the device into the bootloader. This is useful for firmware updates."] +pub struct GotoBootloaderStruct {} +impl SerializePayload for GotoBootloaderStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.device_id.to_le_bytes()); buffer } } -impl DeserializePayload for DeviceIdStruct { +impl DeserializePayload for GotoBootloaderStruct { fn deserialize(payload: &[u8]) -> Self { - Self { - device_id: payload[0usize].into(), - } + Self {} } } -impl MessageInfo for DeviceIdStruct { +impl MessageInfo for GotoBootloaderStruct { fn id() -> u16 { - 1201u16 + 1100u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Temperature of the on-board thermistor."] -pub struct PcbTemperatureStruct { - #[doc = "The temperature in centi-degrees Centigrade (100 * degrees C)."] - pub pcb_temperature: u16, +#[doc = "The duration of the acoustic activation/transmission."] +pub struct TransmitDurationStruct { + #[doc = "Acoustic pulse duration."] + pub transmit_duration: u16, } -impl SerializePayload for PcbTemperatureStruct { +impl SerializePayload for TransmitDurationStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.pcb_temperature.to_le_bytes()); + buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); buffer } } -impl DeserializePayload for PcbTemperatureStruct { +impl DeserializePayload for TransmitDurationStruct { fn deserialize(payload: &[u8]) -> Self { Self { - pcb_temperature: u16::from_le_bytes( + transmit_duration: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1454,99 +1400,129 @@

Files

} } } -impl MessageInfo for PcbTemperatureStruct { +impl MessageInfo for TransmitDurationStruct { fn id() -> u16 { - 1214u16 + 1208u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The current gain setting."] -pub struct GainSettingStruct { - #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] - pub gain_setting: u32, +#[doc = "Command to initiate continuous data stream of profile messages."] +pub struct ContinuousStartStruct { + #[doc = "The message id to stream. 1300: profile"] + pub id: u16, } -impl SerializePayload for GainSettingStruct { +impl SerializePayload for ContinuousStartStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); + buffer.extend_from_slice(&self.id.to_le_bytes()); buffer } } -impl DeserializePayload for GainSettingStruct { +impl DeserializePayload for ContinuousStartStruct { fn deserialize(payload: &[u8]) -> Self { Self { - gain_setting: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + id: u16::from_le_bytes( + payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), } } } -impl MessageInfo for GainSettingStruct { +impl MessageInfo for ContinuousStartStruct { fn id() -> u16 { - 1207u16 + 1400u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Command to stop the continuous data stream of profile messages."] -pub struct ContinuousStopStruct { - #[doc = "The message id to stop streaming. 1300: profile"] - pub id: u16, +#[doc = "The current operating mode of the device. Manual mode allows for manual selection of the gain and scan range."] +pub struct ModeAutoStruct { + #[doc = "0: manual mode, 1: auto mode"] + pub mode_auto: u8, } -impl SerializePayload for ContinuousStopStruct { +impl SerializePayload for ModeAutoStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.id.to_le_bytes()); + buffer.extend_from_slice(&self.mode_auto.to_le_bytes()); buffer } } -impl DeserializePayload for ContinuousStopStruct { +impl DeserializePayload for ModeAutoStruct { fn deserialize(payload: &[u8]) -> Self { Self { - id: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), + mode_auto: payload[0usize].into(), } } } -impl MessageInfo for ContinuousStopStruct { +impl MessageInfo for ModeAutoStruct { fn id() -> u16 { - 1401u16 + 1205u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the speed of sound used for distance calculations."] -pub struct SetSpeedOfSoundStruct { - #[doc = "The speed of sound in the measurement medium. ~1,500,000 mm/s for water."] - pub speed_of_sound: u32, +#[doc = "Acoustic output enabled state."] +pub struct PingEnableStruct { + #[doc = "The state of the acoustic output. 0: disabled, 1:enabled"] + pub ping_enabled: u8, } -impl SerializePayload for SetSpeedOfSoundStruct { +impl SerializePayload for PingEnableStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.speed_of_sound.to_le_bytes()); + buffer.extend_from_slice(&self.ping_enabled.to_le_bytes()); buffer } } -impl DeserializePayload for SetSpeedOfSoundStruct { +impl DeserializePayload for PingEnableStruct { fn deserialize(payload: &[u8]) -> Self { Self { - speed_of_sound: u32::from_le_bytes( + ping_enabled: payload[0usize].into(), + } + } +} +impl MessageInfo for PingEnableStruct { + fn id() -> u16 { + 1215u16 + } +} +#[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] +#[doc = "Set the scan range for acoustic measurements."] +pub struct SetRangeStruct { + #[doc = "Not documented"] + pub scan_start: u32, + #[doc = "The length of the scan range."] + pub scan_length: u32, +} +impl SerializePayload for SetRangeStruct { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer.extend_from_slice(&self.scan_start.to_le_bytes()); + buffer.extend_from_slice(&self.scan_length.to_le_bytes()); + buffer + } +} +impl DeserializePayload for SetRangeStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + scan_start: u32::from_le_bytes( payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), + scan_length: u32::from_le_bytes( + payload[4usize..4usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), } } } -impl MessageInfo for SetSpeedOfSoundStruct { +impl MessageInfo for SetRangeStruct { fn id() -> u16 { - 1002u16 + 1001u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -1638,162 +1614,146 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "General information."] -pub struct GeneralInfoStruct { - #[doc = "Firmware major version."] - pub firmware_version_major: u16, - #[doc = "Firmware minor version."] - pub firmware_version_minor: u16, - #[doc = "Device supply voltage."] - pub voltage_5: u16, - #[doc = "The interval between acoustic measurements."] - pub ping_interval: u16, - #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] - pub gain_setting: u8, - #[doc = "The current operating mode of the device. 0: manual mode, 1: auto mode"] - pub mode_auto: u8, +#[doc = "Set the speed of sound used for distance calculations."] +pub struct SetSpeedOfSoundStruct { + #[doc = "The speed of sound in the measurement medium. ~1,500,000 mm/s for water."] + pub speed_of_sound: u32, } -impl SerializePayload for GeneralInfoStruct { +impl SerializePayload for SetSpeedOfSoundStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.firmware_version_major.to_le_bytes()); - buffer.extend_from_slice(&self.firmware_version_minor.to_le_bytes()); - buffer.extend_from_slice(&self.voltage_5.to_le_bytes()); - buffer.extend_from_slice(&self.ping_interval.to_le_bytes()); - buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); - buffer.extend_from_slice(&self.mode_auto.to_le_bytes()); + buffer.extend_from_slice(&self.speed_of_sound.to_le_bytes()); buffer } } -impl DeserializePayload for GeneralInfoStruct { +impl DeserializePayload for SetSpeedOfSoundStruct { fn deserialize(payload: &[u8]) -> Self { Self { - firmware_version_major: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - firmware_version_minor: u16::from_le_bytes( - payload[2usize..2usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - voltage_5: u16::from_le_bytes( - payload[4usize..4usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - ping_interval: u16::from_le_bytes( - payload[6usize..6usize + 2usize] + speed_of_sound: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), - gain_setting: payload[8usize].into(), - mode_auto: payload[9usize].into(), } } } -impl MessageInfo for GeneralInfoStruct { +impl MessageInfo for SetSpeedOfSoundStruct { fn id() -> u16 { - 1210u16 + 1002u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The current operating mode of the device. Manual mode allows for manual selection of the gain and scan range."] -pub struct ModeAutoStruct { - #[doc = "0: manual mode, 1: auto mode"] - pub mode_auto: u8, +#[doc = "The scan range for acoustic measurements. Measurements returned by the device will lie in the range (scan_start, scan_start + scan_length)."] +pub struct RangeStruct { + #[doc = "The beginning of the scan range in mm from the transducer."] + pub scan_start: u32, + #[doc = "The length of the scan range."] + pub scan_length: u32, } -impl SerializePayload for ModeAutoStruct { +impl SerializePayload for RangeStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.mode_auto.to_le_bytes()); + buffer.extend_from_slice(&self.scan_start.to_le_bytes()); + buffer.extend_from_slice(&self.scan_length.to_le_bytes()); buffer } } -impl DeserializePayload for ModeAutoStruct { +impl DeserializePayload for RangeStruct { fn deserialize(payload: &[u8]) -> Self { Self { - mode_auto: payload[0usize].into(), + scan_start: u32::from_le_bytes( + payload[0usize..0usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), + scan_length: u32::from_le_bytes( + payload[4usize..4usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), } } } -impl MessageInfo for ModeAutoStruct { +impl MessageInfo for RangeStruct { fn id() -> u16 { - 1205u16 + 1204u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the device ID."] -pub struct SetDeviceIdStruct { - #[doc = "Device ID (0-254). 255 is reserved for broadcast messages."] - pub device_id: u8, +#[doc = "Temperature of the device cpu."] +pub struct ProcessorTemperatureStruct { + #[doc = "The temperature in centi-degrees Centigrade (100 * degrees C)."] + pub processor_temperature: u16, } -impl SerializePayload for SetDeviceIdStruct { +impl SerializePayload for ProcessorTemperatureStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.device_id.to_le_bytes()); + buffer.extend_from_slice(&self.processor_temperature.to_le_bytes()); buffer } } -impl DeserializePayload for SetDeviceIdStruct { +impl DeserializePayload for ProcessorTemperatureStruct { fn deserialize(payload: &[u8]) -> Self { Self { - device_id: payload[0usize].into(), + processor_temperature: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), } } } -impl MessageInfo for SetDeviceIdStruct { +impl MessageInfo for ProcessorTemperatureStruct { fn id() -> u16 { - 1000u16 + 1213u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the current gain setting."] -pub struct SetGainSettingStruct { - #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] - pub gain_setting: u8, +#[doc = "Enable or disable acoustic measurements."] +pub struct SetPingEnableStruct { + #[doc = "0: Disable, 1: Enable."] + pub ping_enabled: u8, } -impl SerializePayload for SetGainSettingStruct { +impl SerializePayload for SetPingEnableStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); + buffer.extend_from_slice(&self.ping_enabled.to_le_bytes()); buffer } } -impl DeserializePayload for SetGainSettingStruct { +impl DeserializePayload for SetPingEnableStruct { fn deserialize(payload: &[u8]) -> Self { Self { - gain_setting: payload[0usize].into(), + ping_enabled: payload[0usize].into(), } } } -impl MessageInfo for SetGainSettingStruct { +impl MessageInfo for SetPingEnableStruct { fn id() -> u16 { - 1005u16 + 1006u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Temperature of the device cpu."] -pub struct ProcessorTemperatureStruct { - #[doc = "The temperature in centi-degrees Centigrade (100 * degrees C)."] - pub processor_temperature: u16, +#[doc = "The interval between acoustic measurements."] +pub struct SetPingIntervalStruct { + #[doc = "The interval between acoustic measurements."] + pub ping_interval: u16, } -impl SerializePayload for ProcessorTemperatureStruct { +impl SerializePayload for SetPingIntervalStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.processor_temperature.to_le_bytes()); + buffer.extend_from_slice(&self.ping_interval.to_le_bytes()); buffer } } -impl DeserializePayload for ProcessorTemperatureStruct { +impl DeserializePayload for SetPingIntervalStruct { fn deserialize(payload: &[u8]) -> Self { Self { - processor_temperature: u16::from_le_bytes( + ping_interval: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -1801,67 +1761,65 @@

Files

} } } -impl MessageInfo for ProcessorTemperatureStruct { +impl MessageInfo for SetPingIntervalStruct { fn id() -> u16 { - 1213u16 + 1004u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the scan range for acoustic measurements."] -pub struct SetRangeStruct { - #[doc = "Not documented"] - pub scan_start: u32, - #[doc = "The length of the scan range."] - pub scan_length: u32, +#[doc = "Set the device ID."] +pub struct SetDeviceIdStruct { + #[doc = "Device ID (0-254). 255 is reserved for broadcast messages."] + pub device_id: u8, } -impl SerializePayload for SetRangeStruct { +impl SerializePayload for SetDeviceIdStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.scan_start.to_le_bytes()); - buffer.extend_from_slice(&self.scan_length.to_le_bytes()); + buffer.extend_from_slice(&self.device_id.to_le_bytes()); buffer } } -impl DeserializePayload for SetRangeStruct { +impl DeserializePayload for SetDeviceIdStruct { fn deserialize(payload: &[u8]) -> Self { Self { - scan_start: u32::from_le_bytes( - payload[0usize..0usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), - scan_length: u32::from_le_bytes( - payload[4usize..4usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), + device_id: payload[0usize].into(), } } } -impl MessageInfo for SetRangeStruct { +impl MessageInfo for SetDeviceIdStruct { fn id() -> u16 { - 1001u16 + 1000u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Send the device into the bootloader. This is useful for firmware updates."] -pub struct GotoBootloaderStruct {} -impl SerializePayload for GotoBootloaderStruct { +#[doc = "The current gain setting."] +pub struct GainSettingStruct { + #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] + pub gain_setting: u32, +} +impl SerializePayload for GainSettingStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); + buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); buffer } } -impl DeserializePayload for GotoBootloaderStruct { +impl DeserializePayload for GainSettingStruct { fn deserialize(payload: &[u8]) -> Self { - Self {} + Self { + gain_setting: u32::from_le_bytes( + payload[0usize..0usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), + } } } -impl MessageInfo for GotoBootloaderStruct { +impl MessageInfo for GainSettingStruct { fn id() -> u16 { - 1100u16 + 1207u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -1900,10 +1858,40 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set automatic or manual mode. Manual mode allows for manual selection of the gain and scan range."] -pub struct SetModeAutoStruct { - #[doc = "0: manual mode. 1: auto mode."] - pub mode_auto: u8, +#[doc = "Temperature of the on-board thermistor."] +pub struct PcbTemperatureStruct { + #[doc = "The temperature in centi-degrees Centigrade (100 * degrees C)."] + pub pcb_temperature: u16, +} +impl SerializePayload for PcbTemperatureStruct { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer.extend_from_slice(&self.pcb_temperature.to_le_bytes()); + buffer + } +} +impl DeserializePayload for PcbTemperatureStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + pcb_temperature: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +impl MessageInfo for PcbTemperatureStruct { + fn id() -> u16 { + 1214u16 + } +} +#[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] +#[doc = "Set automatic or manual mode. Manual mode allows for manual selection of the gain and scan range."] +pub struct SetModeAutoStruct { + #[doc = "0: manual mode. 1: auto mode."] + pub mode_auto: u8, } impl SerializePayload for SetModeAutoStruct { fn serialize(&self) -> Vec<u8> { @@ -1926,112 +1914,156 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The speed of sound used for distance calculations."] -pub struct SpeedOfSoundStruct { - #[doc = "The speed of sound in the measurement medium. ~1,500,000 mm/s for water."] - pub speed_of_sound: u32, +#[doc = "Set the current gain setting."] +pub struct SetGainSettingStruct { + #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] + pub gain_setting: u8, } -impl SerializePayload for SpeedOfSoundStruct { +impl SerializePayload for SetGainSettingStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.speed_of_sound.to_le_bytes()); + buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); buffer } } -impl DeserializePayload for SpeedOfSoundStruct { +impl DeserializePayload for SetGainSettingStruct { fn deserialize(payload: &[u8]) -> Self { Self { - speed_of_sound: u32::from_le_bytes( - payload[0usize..0usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), + gain_setting: payload[0usize].into(), } } } -impl MessageInfo for SpeedOfSoundStruct { +impl MessageInfo for SetGainSettingStruct { fn id() -> u16 { - 1203u16 + 1005u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Command to initiate continuous data stream of profile messages."] -pub struct ContinuousStartStruct { - #[doc = "The message id to stream. 1300: profile"] - pub id: u16, +#[doc = "Device information"] +pub struct FirmwareVersionStruct { + #[doc = "Device type. 0: Unknown; 1: Echosounder"] + pub device_type: u8, + #[doc = "Device model. 0: Unknown; 1: Ping1D"] + pub device_model: u8, + #[doc = "Firmware version major number."] + pub firmware_version_major: u16, + #[doc = "Firmware version minor number."] + pub firmware_version_minor: u16, } -impl SerializePayload for ContinuousStartStruct { +impl SerializePayload for FirmwareVersionStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.id.to_le_bytes()); + buffer.extend_from_slice(&self.device_type.to_le_bytes()); + buffer.extend_from_slice(&self.device_model.to_le_bytes()); + buffer.extend_from_slice(&self.firmware_version_major.to_le_bytes()); + buffer.extend_from_slice(&self.firmware_version_minor.to_le_bytes()); buffer } } -impl DeserializePayload for ContinuousStartStruct { +impl DeserializePayload for FirmwareVersionStruct { fn deserialize(payload: &[u8]) -> Self { Self { - id: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + device_type: payload[0usize].into(), + device_model: payload[1usize].into(), + firmware_version_major: u16::from_le_bytes( + payload[2usize..2usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + firmware_version_minor: u16::from_le_bytes( + payload[4usize..4usize + 2usize] .try_into() .expect("Wrong slice length"), ), } } } -impl MessageInfo for ContinuousStartStruct { +impl MessageInfo for FirmwareVersionStruct { fn id() -> u16 { - 1400u16 + 1200u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The duration of the acoustic activation/transmission."] -pub struct TransmitDurationStruct { - #[doc = "Acoustic pulse duration."] - pub transmit_duration: u16, +#[doc = "General information."] +pub struct GeneralInfoStruct { + #[doc = "Firmware major version."] + pub firmware_version_major: u16, + #[doc = "Firmware minor version."] + pub firmware_version_minor: u16, + #[doc = "Device supply voltage."] + pub voltage_5: u16, + #[doc = "The interval between acoustic measurements."] + pub ping_interval: u16, + #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] + pub gain_setting: u8, + #[doc = "The current operating mode of the device. 0: manual mode, 1: auto mode"] + pub mode_auto: u8, } -impl SerializePayload for TransmitDurationStruct { +impl SerializePayload for GeneralInfoStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); + buffer.extend_from_slice(&self.firmware_version_major.to_le_bytes()); + buffer.extend_from_slice(&self.firmware_version_minor.to_le_bytes()); + buffer.extend_from_slice(&self.voltage_5.to_le_bytes()); + buffer.extend_from_slice(&self.ping_interval.to_le_bytes()); + buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); + buffer.extend_from_slice(&self.mode_auto.to_le_bytes()); buffer } } -impl DeserializePayload for TransmitDurationStruct { +impl DeserializePayload for GeneralInfoStruct { fn deserialize(payload: &[u8]) -> Self { Self { - transmit_duration: u16::from_le_bytes( + firmware_version_major: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), + firmware_version_minor: u16::from_le_bytes( + payload[2usize..2usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + voltage_5: u16::from_le_bytes( + payload[4usize..4usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + ping_interval: u16::from_le_bytes( + payload[6usize..6usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + gain_setting: payload[8usize].into(), + mode_auto: payload[9usize].into(), } } } -impl MessageInfo for TransmitDurationStruct { +impl MessageInfo for GeneralInfoStruct { fn id() -> u16 { - 1208u16 + 1210u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The interval between acoustic measurements."] -pub struct PingIntervalStruct { - #[doc = "The minimum interval between acoustic measurements. The actual interval may be longer."] - pub ping_interval: u16, +#[doc = "Command to stop the continuous data stream of profile messages."] +pub struct ContinuousStopStruct { + #[doc = "The message id to stop streaming. 1300: profile"] + pub id: u16, } -impl SerializePayload for PingIntervalStruct { +impl SerializePayload for ContinuousStopStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.ping_interval.to_le_bytes()); + buffer.extend_from_slice(&self.id.to_le_bytes()); buffer } } -impl DeserializePayload for PingIntervalStruct { +impl DeserializePayload for ContinuousStopStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ping_interval: u16::from_le_bytes( + id: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -2039,52 +2071,52 @@

Files

} } } -impl MessageInfo for PingIntervalStruct { +impl MessageInfo for ContinuousStopStruct { fn id() -> u16 { - 1206u16 + 1401u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Acoustic output enabled state."] -pub struct PingEnableStruct { - #[doc = "The state of the acoustic output. 0: disabled, 1:enabled"] - pub ping_enabled: u8, +#[doc = "The device ID."] +pub struct DeviceIdStruct { + #[doc = "The device ID (0-254). 255 is reserved for broadcast messages."] + pub device_id: u8, } -impl SerializePayload for PingEnableStruct { +impl SerializePayload for DeviceIdStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.ping_enabled.to_le_bytes()); + buffer.extend_from_slice(&self.device_id.to_le_bytes()); buffer } } -impl DeserializePayload for PingEnableStruct { +impl DeserializePayload for DeviceIdStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ping_enabled: payload[0usize].into(), + device_id: payload[0usize].into(), } } } -impl MessageInfo for PingEnableStruct { +impl MessageInfo for DeviceIdStruct { fn id() -> u16 { - 1215u16 + 1201u16 } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[doc = "The interval between acoustic measurements."] -pub struct SetPingIntervalStruct { - #[doc = "The interval between acoustic measurements."] +pub struct PingIntervalStruct { + #[doc = "The minimum interval between acoustic measurements. The actual interval may be longer."] pub ping_interval: u16, } -impl SerializePayload for SetPingIntervalStruct { +impl SerializePayload for PingIntervalStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); buffer.extend_from_slice(&self.ping_interval.to_le_bytes()); buffer } } -impl DeserializePayload for SetPingIntervalStruct { +impl DeserializePayload for PingIntervalStruct { fn deserialize(payload: &[u8]) -> Self { Self { ping_interval: u16::from_le_bytes( @@ -2095,9 +2127,9 @@

Files

} } } -impl MessageInfo for SetPingIntervalStruct { +impl MessageInfo for PingIntervalStruct { fn id() -> u16 { - 1004u16 + 1206u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -2132,203 +2164,171 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Device information"] -pub struct FirmwareVersionStruct { - #[doc = "Device type. 0: Unknown; 1: Echosounder"] - pub device_type: u8, - #[doc = "Device model. 0: Unknown; 1: Ping1D"] - pub device_model: u8, - #[doc = "Firmware version major number."] - pub firmware_version_major: u16, - #[doc = "Firmware version minor number."] - pub firmware_version_minor: u16, +#[doc = "The distance to target with confidence estimate. Relevant device parameters during the measurement are also provided."] +pub struct DistanceStruct { + #[doc = "The current return distance determined for the most recent acoustic measurement."] + pub distance: u32, + #[doc = "Confidence in the most recent range measurement."] + pub confidence: u16, + #[doc = "The acoustic pulse length during acoustic transmission/activation."] + pub transmit_duration: u16, + #[doc = "The pulse/measurement count since boot."] + pub ping_number: u32, + #[doc = "The beginning of the scan region in mm from the transducer."] + pub scan_start: u32, + #[doc = "The length of the scan region."] + pub scan_length: u32, + #[doc = "The current gain setting. 0: 0.6, 1: 1.8, 2: 5.5, 3: 12.9, 4: 30.2, 5: 66.1, 6: 144"] + pub gain_setting: u32, } -impl SerializePayload for FirmwareVersionStruct { +impl SerializePayload for DistanceStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.device_type.to_le_bytes()); - buffer.extend_from_slice(&self.device_model.to_le_bytes()); - buffer.extend_from_slice(&self.firmware_version_major.to_le_bytes()); - buffer.extend_from_slice(&self.firmware_version_minor.to_le_bytes()); + buffer.extend_from_slice(&self.distance.to_le_bytes()); + buffer.extend_from_slice(&self.confidence.to_le_bytes()); + buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); + buffer.extend_from_slice(&self.ping_number.to_le_bytes()); + buffer.extend_from_slice(&self.scan_start.to_le_bytes()); + buffer.extend_from_slice(&self.scan_length.to_le_bytes()); + buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); buffer } } -impl DeserializePayload for FirmwareVersionStruct { +impl DeserializePayload for DistanceStruct { fn deserialize(payload: &[u8]) -> Self { Self { - device_type: payload[0usize].into(), - device_model: payload[1usize].into(), - firmware_version_major: u16::from_le_bytes( - payload[2usize..2usize + 2usize] + distance: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), - firmware_version_minor: u16::from_le_bytes( + confidence: u16::from_le_bytes( payload[4usize..4usize + 2usize] .try_into() .expect("Wrong slice length"), ), - } - } -} -impl MessageInfo for FirmwareVersionStruct { - fn id() -> u16 { - 1200u16 - } -} -#[derive(Debug, Clone, PartialEq, Default)] -#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The scan range for acoustic measurements. Measurements returned by the device will lie in the range (scan_start, scan_start + scan_length)."] -pub struct RangeStruct { - #[doc = "The beginning of the scan range in mm from the transducer."] - pub scan_start: u32, - #[doc = "The length of the scan range."] - pub scan_length: u32, -} -impl SerializePayload for RangeStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.scan_start.to_le_bytes()); - buffer.extend_from_slice(&self.scan_length.to_le_bytes()); - buffer - } -} -impl DeserializePayload for RangeStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { + transmit_duration: u16::from_le_bytes( + payload[6usize..6usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + ping_number: u32::from_le_bytes( + payload[8usize..8usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), scan_start: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + payload[12usize..12usize + 4usize] .try_into() .expect("Wrong slice length"), ), scan_length: u32::from_le_bytes( - payload[4usize..4usize + 4usize] + payload[16usize..16usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), + gain_setting: u32::from_le_bytes( + payload[20usize..20usize + 4usize] .try_into() .expect("Wrong slice length"), ), } } } -impl MessageInfo for RangeStruct { - fn id() -> u16 { - 1204u16 - } -} -#[derive(Debug, Clone, PartialEq, Default)] -#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Enable or disable acoustic measurements."] -pub struct SetPingEnableStruct { - #[doc = "0: Disable, 1: Enable."] - pub ping_enabled: u8, -} -impl SerializePayload for SetPingEnableStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.ping_enabled.to_le_bytes()); - buffer - } -} -impl DeserializePayload for SetPingEnableStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - ping_enabled: payload[0usize].into(), - } - } -} -impl MessageInfo for SetPingEnableStruct { +impl MessageInfo for DistanceStruct { fn id() -> u16 { - 1006u16 + 1212u16 } } impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { - Messages::Distance(..) => "distance", - Messages::DeviceId(..) => "device_id", - Messages::PcbTemperature(..) => "pcb_temperature", - Messages::GainSetting(..) => "gain_setting", - Messages::ContinuousStop(..) => "continuous_stop", - Messages::SetSpeedOfSound(..) => "set_speed_of_sound", - Messages::Profile(..) => "profile", - Messages::GeneralInfo(..) => "general_info", + Messages::SpeedOfSound(..) => "speed_of_sound", + Messages::GotoBootloader(..) => "goto_bootloader", + Messages::TransmitDuration(..) => "transmit_duration", + Messages::ContinuousStart(..) => "continuous_start", Messages::ModeAuto(..) => "mode_auto", - Messages::SetDeviceId(..) => "set_device_id", - Messages::SetGainSetting(..) => "set_gain_setting", - Messages::ProcessorTemperature(..) => "processor_temperature", + Messages::PingEnable(..) => "ping_enable", Messages::SetRange(..) => "set_range", - Messages::GotoBootloader(..) => "goto_bootloader", + Messages::Profile(..) => "profile", + Messages::SetSpeedOfSound(..) => "set_speed_of_sound", + Messages::Range(..) => "range", + Messages::ProcessorTemperature(..) => "processor_temperature", + Messages::SetPingEnable(..) => "set_ping_enable", + Messages::SetPingInterval(..) => "set_ping_interval", + Messages::SetDeviceId(..) => "set_device_id", + Messages::GainSetting(..) => "gain_setting", Messages::DistanceSimple(..) => "distance_simple", + Messages::PcbTemperature(..) => "pcb_temperature", Messages::SetModeAuto(..) => "set_mode_auto", - Messages::SpeedOfSound(..) => "speed_of_sound", - Messages::ContinuousStart(..) => "continuous_start", - Messages::TransmitDuration(..) => "transmit_duration", + Messages::SetGainSetting(..) => "set_gain_setting", + Messages::FirmwareVersion(..) => "firmware_version", + Messages::GeneralInfo(..) => "general_info", + Messages::ContinuousStop(..) => "continuous_stop", + Messages::DeviceId(..) => "device_id", Messages::PingInterval(..) => "ping_interval", - Messages::PingEnable(..) => "ping_enable", - Messages::SetPingInterval(..) => "set_ping_interval", Messages::Voltage5(..) => "voltage_5", - Messages::FirmwareVersion(..) => "firmware_version", - Messages::Range(..) => "range", - Messages::SetPingEnable(..) => "set_ping_enable", + Messages::Distance(..) => "distance", } } fn message_id(&self) -> u16 { match self { - Messages::Distance(..) => 1212u16, - Messages::DeviceId(..) => 1201u16, - Messages::PcbTemperature(..) => 1214u16, - Messages::GainSetting(..) => 1207u16, - Messages::ContinuousStop(..) => 1401u16, - Messages::SetSpeedOfSound(..) => 1002u16, - Messages::Profile(..) => 1300u16, - Messages::GeneralInfo(..) => 1210u16, + Messages::SpeedOfSound(..) => 1203u16, + Messages::GotoBootloader(..) => 1100u16, + Messages::TransmitDuration(..) => 1208u16, + Messages::ContinuousStart(..) => 1400u16, Messages::ModeAuto(..) => 1205u16, - Messages::SetDeviceId(..) => 1000u16, - Messages::SetGainSetting(..) => 1005u16, - Messages::ProcessorTemperature(..) => 1213u16, + Messages::PingEnable(..) => 1215u16, Messages::SetRange(..) => 1001u16, - Messages::GotoBootloader(..) => 1100u16, + Messages::Profile(..) => 1300u16, + Messages::SetSpeedOfSound(..) => 1002u16, + Messages::Range(..) => 1204u16, + Messages::ProcessorTemperature(..) => 1213u16, + Messages::SetPingEnable(..) => 1006u16, + Messages::SetPingInterval(..) => 1004u16, + Messages::SetDeviceId(..) => 1000u16, + Messages::GainSetting(..) => 1207u16, Messages::DistanceSimple(..) => 1211u16, + Messages::PcbTemperature(..) => 1214u16, Messages::SetModeAuto(..) => 1003u16, - Messages::SpeedOfSound(..) => 1203u16, - Messages::ContinuousStart(..) => 1400u16, - Messages::TransmitDuration(..) => 1208u16, + Messages::SetGainSetting(..) => 1005u16, + Messages::FirmwareVersion(..) => 1200u16, + Messages::GeneralInfo(..) => 1210u16, + Messages::ContinuousStop(..) => 1401u16, + Messages::DeviceId(..) => 1201u16, Messages::PingInterval(..) => 1206u16, - Messages::PingEnable(..) => 1215u16, - Messages::SetPingInterval(..) => 1004u16, Messages::Voltage5(..) => 1202u16, - Messages::FirmwareVersion(..) => 1200u16, - Messages::Range(..) => 1204u16, - Messages::SetPingEnable(..) => 1006u16, + Messages::Distance(..) => 1212u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { - "distance" => Ok(1212u16), - "device_id" => Ok(1201u16), - "pcb_temperature" => Ok(1214u16), - "gain_setting" => Ok(1207u16), - "continuous_stop" => Ok(1401u16), - "set_speed_of_sound" => Ok(1002u16), - "profile" => Ok(1300u16), - "general_info" => Ok(1210u16), + "speed_of_sound" => Ok(1203u16), + "goto_bootloader" => Ok(1100u16), + "transmit_duration" => Ok(1208u16), + "continuous_start" => Ok(1400u16), "mode_auto" => Ok(1205u16), - "set_device_id" => Ok(1000u16), - "set_gain_setting" => Ok(1005u16), - "processor_temperature" => Ok(1213u16), + "ping_enable" => Ok(1215u16), "set_range" => Ok(1001u16), - "goto_bootloader" => Ok(1100u16), + "profile" => Ok(1300u16), + "set_speed_of_sound" => Ok(1002u16), + "range" => Ok(1204u16), + "processor_temperature" => Ok(1213u16), + "set_ping_enable" => Ok(1006u16), + "set_ping_interval" => Ok(1004u16), + "set_device_id" => Ok(1000u16), + "gain_setting" => Ok(1207u16), "distance_simple" => Ok(1211u16), + "pcb_temperature" => Ok(1214u16), "set_mode_auto" => Ok(1003u16), - "speed_of_sound" => Ok(1203u16), - "continuous_start" => Ok(1400u16), - "transmit_duration" => Ok(1208u16), + "set_gain_setting" => Ok(1005u16), + "firmware_version" => Ok(1200u16), + "general_info" => Ok(1210u16), + "continuous_stop" => Ok(1401u16), + "device_id" => Ok(1201u16), "ping_interval" => Ok(1206u16), - "ping_enable" => Ok(1215u16), - "set_ping_interval" => Ok(1004u16), "voltage_5" => Ok(1202u16), - "firmware_version" => Ok(1200u16), - "range" => Ok(1204u16), - "set_ping_enable" => Ok(1006u16), + "distance" => Ok(1212u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -2336,66 +2336,66 @@

Files

impl SerializePayload for Messages { fn serialize(&self) -> Vec<u8> { match self { - Messages::Distance(content) => content.serialize(), - Messages::DeviceId(content) => content.serialize(), - Messages::PcbTemperature(content) => content.serialize(), - Messages::GainSetting(content) => content.serialize(), - Messages::ContinuousStop(content) => content.serialize(), - Messages::SetSpeedOfSound(content) => content.serialize(), - Messages::Profile(content) => content.serialize(), - Messages::GeneralInfo(content) => content.serialize(), + Messages::SpeedOfSound(content) => content.serialize(), + Messages::GotoBootloader(content) => content.serialize(), + Messages::TransmitDuration(content) => content.serialize(), + Messages::ContinuousStart(content) => content.serialize(), Messages::ModeAuto(content) => content.serialize(), - Messages::SetDeviceId(content) => content.serialize(), - Messages::SetGainSetting(content) => content.serialize(), - Messages::ProcessorTemperature(content) => content.serialize(), + Messages::PingEnable(content) => content.serialize(), Messages::SetRange(content) => content.serialize(), - Messages::GotoBootloader(content) => content.serialize(), + Messages::Profile(content) => content.serialize(), + Messages::SetSpeedOfSound(content) => content.serialize(), + Messages::Range(content) => content.serialize(), + Messages::ProcessorTemperature(content) => content.serialize(), + Messages::SetPingEnable(content) => content.serialize(), + Messages::SetPingInterval(content) => content.serialize(), + Messages::SetDeviceId(content) => content.serialize(), + Messages::GainSetting(content) => content.serialize(), Messages::DistanceSimple(content) => content.serialize(), + Messages::PcbTemperature(content) => content.serialize(), Messages::SetModeAuto(content) => content.serialize(), - Messages::SpeedOfSound(content) => content.serialize(), - Messages::ContinuousStart(content) => content.serialize(), - Messages::TransmitDuration(content) => content.serialize(), + Messages::SetGainSetting(content) => content.serialize(), + Messages::FirmwareVersion(content) => content.serialize(), + Messages::GeneralInfo(content) => content.serialize(), + Messages::ContinuousStop(content) => content.serialize(), + Messages::DeviceId(content) => content.serialize(), Messages::PingInterval(content) => content.serialize(), - Messages::PingEnable(content) => content.serialize(), - Messages::SetPingInterval(content) => content.serialize(), Messages::Voltage5(content) => content.serialize(), - Messages::FirmwareVersion(content) => content.serialize(), - Messages::Range(content) => content.serialize(), - Messages::SetPingEnable(content) => content.serialize(), + Messages::Distance(content) => content.serialize(), } } } impl DeserializeGenericMessage for Messages { fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str> { Ok(match message_id { - 1212u16 => Messages::Distance(DistanceStruct::deserialize(payload)), - 1201u16 => Messages::DeviceId(DeviceIdStruct::deserialize(payload)), - 1214u16 => Messages::PcbTemperature(PcbTemperatureStruct::deserialize(payload)), - 1207u16 => Messages::GainSetting(GainSettingStruct::deserialize(payload)), - 1401u16 => Messages::ContinuousStop(ContinuousStopStruct::deserialize(payload)), - 1002u16 => Messages::SetSpeedOfSound(SetSpeedOfSoundStruct::deserialize(payload)), - 1300u16 => Messages::Profile(ProfileStruct::deserialize(payload)), - 1210u16 => Messages::GeneralInfo(GeneralInfoStruct::deserialize(payload)), + 1203u16 => Messages::SpeedOfSound(SpeedOfSoundStruct::deserialize(payload)), + 1100u16 => Messages::GotoBootloader(GotoBootloaderStruct::deserialize(payload)), + 1208u16 => Messages::TransmitDuration(TransmitDurationStruct::deserialize(payload)), + 1400u16 => Messages::ContinuousStart(ContinuousStartStruct::deserialize(payload)), 1205u16 => Messages::ModeAuto(ModeAutoStruct::deserialize(payload)), - 1000u16 => Messages::SetDeviceId(SetDeviceIdStruct::deserialize(payload)), - 1005u16 => Messages::SetGainSetting(SetGainSettingStruct::deserialize(payload)), + 1215u16 => Messages::PingEnable(PingEnableStruct::deserialize(payload)), + 1001u16 => Messages::SetRange(SetRangeStruct::deserialize(payload)), + 1300u16 => Messages::Profile(ProfileStruct::deserialize(payload)), + 1002u16 => Messages::SetSpeedOfSound(SetSpeedOfSoundStruct::deserialize(payload)), + 1204u16 => Messages::Range(RangeStruct::deserialize(payload)), 1213u16 => { Messages::ProcessorTemperature(ProcessorTemperatureStruct::deserialize(payload)) } - 1001u16 => Messages::SetRange(SetRangeStruct::deserialize(payload)), - 1100u16 => Messages::GotoBootloader(GotoBootloaderStruct::deserialize(payload)), + 1006u16 => Messages::SetPingEnable(SetPingEnableStruct::deserialize(payload)), + 1004u16 => Messages::SetPingInterval(SetPingIntervalStruct::deserialize(payload)), + 1000u16 => Messages::SetDeviceId(SetDeviceIdStruct::deserialize(payload)), + 1207u16 => Messages::GainSetting(GainSettingStruct::deserialize(payload)), 1211u16 => Messages::DistanceSimple(DistanceSimpleStruct::deserialize(payload)), + 1214u16 => Messages::PcbTemperature(PcbTemperatureStruct::deserialize(payload)), 1003u16 => Messages::SetModeAuto(SetModeAutoStruct::deserialize(payload)), - 1203u16 => Messages::SpeedOfSound(SpeedOfSoundStruct::deserialize(payload)), - 1400u16 => Messages::ContinuousStart(ContinuousStartStruct::deserialize(payload)), - 1208u16 => Messages::TransmitDuration(TransmitDurationStruct::deserialize(payload)), + 1005u16 => Messages::SetGainSetting(SetGainSettingStruct::deserialize(payload)), + 1200u16 => Messages::FirmwareVersion(FirmwareVersionStruct::deserialize(payload)), + 1210u16 => Messages::GeneralInfo(GeneralInfoStruct::deserialize(payload)), + 1401u16 => Messages::ContinuousStop(ContinuousStopStruct::deserialize(payload)), + 1201u16 => Messages::DeviceId(DeviceIdStruct::deserialize(payload)), 1206u16 => Messages::PingInterval(PingIntervalStruct::deserialize(payload)), - 1215u16 => Messages::PingEnable(PingEnableStruct::deserialize(payload)), - 1004u16 => Messages::SetPingInterval(SetPingIntervalStruct::deserialize(payload)), 1202u16 => Messages::Voltage5(Voltage5Struct::deserialize(payload)), - 1200u16 => Messages::FirmwareVersion(FirmwareVersionStruct::deserialize(payload)), - 1204u16 => Messages::Range(RangeStruct::deserialize(payload)), - 1006u16 => Messages::SetPingEnable(SetPingEnableStruct::deserialize(payload)), + 1212u16 => Messages::Distance(DistanceStruct::deserialize(payload)), _ => { return Err(&"Unknown message id"); } diff --git a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping360.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping360.rs.html index 9e5494ce5..616b57348 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping360.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-36562356da98f139/out/ping360.rs.html @@ -558,34 +558,34 @@

Files

#[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { + DeviceData(DeviceDataStruct), MotorOff(MotorOffStruct), AutoTransmit(AutoTransmitStruct), - DeviceData(DeviceDataStruct), - Transducer(TransducerStruct), Reset(ResetStruct), - AutoDeviceData(AutoDeviceDataStruct), + Transducer(TransducerStruct), DeviceId(DeviceIdStruct), + AutoDeviceData(AutoDeviceDataStruct), } impl Messages { pub fn inner<T: 'static>(&self) -> Option<&T> { match self { - Self::MotorOff(inner_struct) => { + Self::DeviceData(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::AutoTransmit(inner_struct) => { + Self::MotorOff(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::DeviceData(inner_struct) => { + Self::AutoTransmit(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } + Self::Reset(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), Self::Transducer(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::Reset(inner_struct) => (inner_struct as &dyn std::any::Any).downcast_ref::<T>(), - Self::AutoDeviceData(inner_struct) => { + Self::DeviceId(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } - Self::DeviceId(inner_struct) => { + Self::AutoDeviceData(inner_struct) => { (inner_struct as &dyn std::any::Any).downcast_ref::<T>() } } @@ -593,6 +593,85 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] +#[doc = "This message is used to communicate the current sonar state. If the data field is populated, the other fields indicate the sonar state when the data was captured. The time taken before the response to the command is sent depends on the difference between the last angle scanned and the new angle in the parameters as well as the number of samples and sample interval (range). To allow for the worst case reponse time the command timeout should be set to 4000 msec."] +pub struct DeviceDataStruct { + #[doc = "Operating mode (1 for Ping360)"] + pub mode: u8, + #[doc = "Analog gain setting (0 = low, 1 = normal, 2 = high)"] + pub gain_setting: u8, + #[doc = "Head angle"] + pub angle: u16, + #[doc = "Acoustic transmission duration (1~1000 microseconds)"] + pub transmit_duration: u16, + #[doc = "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)"] + pub sample_period: u16, + #[doc = "Acoustic operating frequency. Frequency range is 500kHz to 1000kHz, however it is only practical to use say 650kHz to 850kHz due to the narrow bandwidth of the acoustic receiver."] + pub transmit_frequency: u16, + #[doc = "Number of samples per reflected signal"] + pub number_of_samples: u16, + #[doc = "8 bit binary data array representing sonar echo strength"] + pub data_length: u16, + pub data: Vec<u8>, +} +impl SerializePayload for DeviceDataStruct { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer.extend_from_slice(&self.mode.to_le_bytes()); + buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); + buffer.extend_from_slice(&self.angle.to_le_bytes()); + buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); + buffer.extend_from_slice(&self.sample_period.to_le_bytes()); + buffer.extend_from_slice(&self.transmit_frequency.to_le_bytes()); + buffer.extend_from_slice(&self.number_of_samples.to_le_bytes()); + buffer.extend_from_slice(&self.data_length.to_le_bytes()); + for value in self.data.iter() { + buffer.extend_from_slice(&value.to_le_bytes()); + } + buffer + } +} +impl DeserializePayload for DeviceDataStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + mode: payload[0usize].into(), + gain_setting: payload[1usize].into(), + angle: u16::from_le_bytes( + payload[2usize..2usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + transmit_duration: u16::from_le_bytes( + payload[4usize..4usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + sample_period: u16::from_le_bytes( + payload[6usize..6usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + transmit_frequency: u16::from_le_bytes( + payload[8usize..8usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + number_of_samples: u16::from_le_bytes( + payload[10usize..10usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + data_length: payload.len() as u16, + data: payload[12usize..payload.len()].to_vec(), + } + } +} +impl MessageInfo for DeviceDataStruct { + fn id() -> u16 { + 2300u16 + } +} +#[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[doc = "The sonar switches the current through the stepper motor windings off to save power. The sonar will send an ack message in response. The command timeout should be set to 50 msec. If the sonar is idle (not scanning) for more than 30 seconds then the motor current will automatically turn off. When the user sends any command that involves moving the transducer then the motor current is automatically re-enabled."] pub struct MotorOffStruct {} impl SerializePayload for MotorOffStruct { @@ -699,81 +778,32 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "This message is used to communicate the current sonar state. If the data field is populated, the other fields indicate the sonar state when the data was captured. The time taken before the response to the command is sent depends on the difference between the last angle scanned and the new angle in the parameters as well as the number of samples and sample interval (range). To allow for the worst case reponse time the command timeout should be set to 4000 msec."] -pub struct DeviceDataStruct { - #[doc = "Operating mode (1 for Ping360)"] - pub mode: u8, - #[doc = "Analog gain setting (0 = low, 1 = normal, 2 = high)"] - pub gain_setting: u8, - #[doc = "Head angle"] - pub angle: u16, - #[doc = "Acoustic transmission duration (1~1000 microseconds)"] - pub transmit_duration: u16, - #[doc = "Time interval between individual signal intensity samples in 25nsec increments (80 to 40000 == 2 microseconds to 1000 microseconds)"] - pub sample_period: u16, - #[doc = "Acoustic operating frequency. Frequency range is 500kHz to 1000kHz, however it is only practical to use say 650kHz to 850kHz due to the narrow bandwidth of the acoustic receiver."] - pub transmit_frequency: u16, - #[doc = "Number of samples per reflected signal"] - pub number_of_samples: u16, - #[doc = "8 bit binary data array representing sonar echo strength"] - pub data_length: u16, - pub data: Vec<u8>, +#[doc = "Reset the sonar. The bootloader may run depending on the selection according to the `bootloader` payload field. When the bootloader runs, the external LED flashes at 5Hz. If the bootloader is not contacted within 5 seconds, it will run the current program. If there is no program, then the bootloader will wait forever for a connection. Note that if you issue a reset then you will have to close all your open comm ports and go back to issuing either a discovery message for UDP or go through the break sequence for serial comms before you can talk to the sonar again."] +pub struct ResetStruct { + #[doc = "0 = skip bootloader; 1 = run bootloader"] + pub bootloader: u8, + #[doc = "reserved"] + pub reserved: u8, } -impl SerializePayload for DeviceDataStruct { +impl SerializePayload for ResetStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.mode.to_le_bytes()); - buffer.extend_from_slice(&self.gain_setting.to_le_bytes()); - buffer.extend_from_slice(&self.angle.to_le_bytes()); - buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); - buffer.extend_from_slice(&self.sample_period.to_le_bytes()); - buffer.extend_from_slice(&self.transmit_frequency.to_le_bytes()); - buffer.extend_from_slice(&self.number_of_samples.to_le_bytes()); - buffer.extend_from_slice(&self.data_length.to_le_bytes()); - for value in self.data.iter() { - buffer.extend_from_slice(&value.to_le_bytes()); - } + buffer.extend_from_slice(&self.bootloader.to_le_bytes()); + buffer.extend_from_slice(&self.reserved.to_le_bytes()); buffer } } -impl DeserializePayload for DeviceDataStruct { +impl DeserializePayload for ResetStruct { fn deserialize(payload: &[u8]) -> Self { Self { - mode: payload[0usize].into(), - gain_setting: payload[1usize].into(), - angle: u16::from_le_bytes( - payload[2usize..2usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - transmit_duration: u16::from_le_bytes( - payload[4usize..4usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - sample_period: u16::from_le_bytes( - payload[6usize..6usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - transmit_frequency: u16::from_le_bytes( - payload[8usize..8usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - number_of_samples: u16::from_le_bytes( - payload[10usize..10usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - data_length: payload.len() as u16, - data: payload[12usize..payload.len()].to_vec(), + bootloader: payload[0usize].into(), + reserved: payload[1usize].into(), } } } -impl MessageInfo for DeviceDataStruct { +impl MessageInfo for ResetStruct { fn id() -> u16 { - 2300u16 + 2600u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -856,32 +886,32 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Reset the sonar. The bootloader may run depending on the selection according to the `bootloader` payload field. When the bootloader runs, the external LED flashes at 5Hz. If the bootloader is not contacted within 5 seconds, it will run the current program. If there is no program, then the bootloader will wait forever for a connection. Note that if you issue a reset then you will have to close all your open comm ports and go back to issuing either a discovery message for UDP or go through the break sequence for serial comms before you can talk to the sonar again."] -pub struct ResetStruct { - #[doc = "0 = skip bootloader; 1 = run bootloader"] - pub bootloader: u8, +#[doc = "Change the device id"] +pub struct DeviceIdStruct { + #[doc = "Device ID (1-254). 0 and 255 are reserved."] + pub id: u8, #[doc = "reserved"] pub reserved: u8, } -impl SerializePayload for ResetStruct { +impl SerializePayload for DeviceIdStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.bootloader.to_le_bytes()); + buffer.extend_from_slice(&self.id.to_le_bytes()); buffer.extend_from_slice(&self.reserved.to_le_bytes()); buffer } } -impl DeserializePayload for ResetStruct { +impl DeserializePayload for DeviceIdStruct { fn deserialize(payload: &[u8]) -> Self { Self { - bootloader: payload[0usize].into(), + id: payload[0usize].into(), reserved: payload[1usize].into(), } } } -impl MessageInfo for ResetStruct { +impl MessageInfo for DeviceIdStruct { fn id() -> u16 { - 2600u16 + 2000u16 } } #[derive(Debug, Clone, PartialEq, Default)] @@ -987,68 +1017,38 @@

Files

2301u16 } } -#[derive(Debug, Clone, PartialEq, Default)] -#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Change the device id"] -pub struct DeviceIdStruct { - #[doc = "Device ID (1-254). 0 and 255 are reserved."] - pub id: u8, - #[doc = "reserved"] - pub reserved: u8, -} -impl SerializePayload for DeviceIdStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.id.to_le_bytes()); - buffer.extend_from_slice(&self.reserved.to_le_bytes()); - buffer - } -} -impl DeserializePayload for DeviceIdStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - id: payload[0usize].into(), - reserved: payload[1usize].into(), - } - } -} -impl MessageInfo for DeviceIdStruct { - fn id() -> u16 { - 2000u16 - } -} impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { + Messages::DeviceData(..) => "device_data", Messages::MotorOff(..) => "motor_off", Messages::AutoTransmit(..) => "auto_transmit", - Messages::DeviceData(..) => "device_data", - Messages::Transducer(..) => "transducer", Messages::Reset(..) => "reset", - Messages::AutoDeviceData(..) => "auto_device_data", + Messages::Transducer(..) => "transducer", Messages::DeviceId(..) => "device_id", + Messages::AutoDeviceData(..) => "auto_device_data", } } fn message_id(&self) -> u16 { match self { + Messages::DeviceData(..) => 2300u16, Messages::MotorOff(..) => 2903u16, Messages::AutoTransmit(..) => 2602u16, - Messages::DeviceData(..) => 2300u16, - Messages::Transducer(..) => 2601u16, Messages::Reset(..) => 2600u16, - Messages::AutoDeviceData(..) => 2301u16, + Messages::Transducer(..) => 2601u16, Messages::DeviceId(..) => 2000u16, + Messages::AutoDeviceData(..) => 2301u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { + "device_data" => Ok(2300u16), "motor_off" => Ok(2903u16), "auto_transmit" => Ok(2602u16), - "device_data" => Ok(2300u16), - "transducer" => Ok(2601u16), "reset" => Ok(2600u16), - "auto_device_data" => Ok(2301u16), + "transducer" => Ok(2601u16), "device_id" => Ok(2000u16), + "auto_device_data" => Ok(2301u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -1056,26 +1056,26 @@

Files

impl SerializePayload for Messages { fn serialize(&self) -> Vec<u8> { match self { + Messages::DeviceData(content) => content.serialize(), Messages::MotorOff(content) => content.serialize(), Messages::AutoTransmit(content) => content.serialize(), - Messages::DeviceData(content) => content.serialize(), - Messages::Transducer(content) => content.serialize(), Messages::Reset(content) => content.serialize(), - Messages::AutoDeviceData(content) => content.serialize(), + Messages::Transducer(content) => content.serialize(), Messages::DeviceId(content) => content.serialize(), + Messages::AutoDeviceData(content) => content.serialize(), } } } impl DeserializeGenericMessage for Messages { fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str> { Ok(match message_id { + 2300u16 => Messages::DeviceData(DeviceDataStruct::deserialize(payload)), 2903u16 => Messages::MotorOff(MotorOffStruct::deserialize(payload)), 2602u16 => Messages::AutoTransmit(AutoTransmitStruct::deserialize(payload)), - 2300u16 => Messages::DeviceData(DeviceDataStruct::deserialize(payload)), - 2601u16 => Messages::Transducer(TransducerStruct::deserialize(payload)), 2600u16 => Messages::Reset(ResetStruct::deserialize(payload)), - 2301u16 => Messages::AutoDeviceData(AutoDeviceDataStruct::deserialize(payload)), + 2601u16 => Messages::Transducer(TransducerStruct::deserialize(payload)), 2000u16 => Messages::DeviceId(DeviceIdStruct::deserialize(payload)), + 2301u16 => Messages::AutoDeviceData(AutoDeviceDataStruct::deserialize(payload)), _ => { return Err(&"Unknown message id"); } diff --git a/trait.impl/core/clone/trait.Clone.js b/trait.impl/core/clone/trait.Clone.js index 4981fdc80..d5342b27e 100644 --- a/trait.impl/core/clone/trait.Clone.js +++ b/trait.impl/core/clone/trait.Clone.js @@ -6,7 +6,7 @@ "once_cell":[["impl<T: Clone> Clone for OnceCell<T>"],["impl<T: Clone> Clone for OnceCell<T>"]], "parking_lot":[["impl Clone for WaitTimeoutResult"],["impl Clone for OnceState"]], "parking_lot_core":[["impl Clone for UnparkToken"],["impl Clone for FilterOp"],["impl Clone for ParkToken"],["impl Clone for RequeueOp"],["impl Clone for UnparkResult"],["impl Clone for ParkResult"]], -"ping_rs":[["impl Clone for Voltage5Struct"],["impl Clone for ProcessorTemperatureStruct"],["impl Clone for ModeAutoStruct"],["impl Clone for TemperatureTimeoutStruct"],["impl Clone for DeviceDataStruct"],["impl Clone for SetTemperatureMaxStruct"],["impl Clone for SetLpfSampleFrequencyStruct"],["impl Clone for CurrentTimeoutStruct"],["impl Clone for SetCurrentMaxStruct"],["impl Clone for PingProtocolHead"],["impl Clone for GeneralRequestStruct"],["impl Clone for CellVoltageMinStruct"],["impl Clone for ProtocolMessage"],["impl Clone for ResetDefaultsStruct"],["impl Clone for RebootStruct"],["impl Clone for SetModeAutoStruct"],["impl Clone for CellTimeoutStruct"],["impl Clone for Messages"],["impl Clone for SetGainSettingStruct"],["impl Clone for AutoTransmitStruct"],["impl Clone for EraseFlashStruct"],["impl Clone for Messages"],["impl Clone for ContinuousStopStruct"],["impl Clone for PcbTemperatureStruct"],["impl Clone for EventsStruct"],["impl Clone for ProtocolVersionStruct"],["impl Clone for PingProtocolHead"],["impl Clone for SetCellVoltageTimeoutStruct"],["impl Clone for GeneralInfoStruct"],["impl Clone for SpeedOfSoundStruct"],["impl Clone for GainSettingStruct"],["impl Clone for ResetStruct"],["impl Clone for SetCellVoltageMinimumStruct"],["impl Clone for GotoBootloaderStruct"],["impl Clone for DistanceSimpleStruct"],["impl Clone for SetStreamRateStruct"],["impl Clone for SetPingIntervalStruct"],["impl Clone for StateStruct"],["impl Clone for PingIntervalStruct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for TransducerStruct"],["impl Clone for SetTemperatureTimeoutStruct"],["impl Clone for FirmwareVersionStruct"],["impl Clone for AckStruct"],["impl Clone for MotorOffStruct"],["impl Clone for Messages"],["impl Clone for DeviceIdStruct"],["impl Clone for ContinuousStartStruct"],["impl Clone for TransmitDurationStruct"],["impl Clone for SetPingEnableStruct"],["impl Clone for DeviceIdStruct"],["impl Clone for AsciiTextStruct"],["impl Clone for PingEnableStruct"],["impl Clone for DistanceStruct"],["impl Clone for PingProtocolHead"],["impl Clone for PingProtocolHead"],["impl Clone for CurrentMaxStruct"],["impl Clone for SetCurrentTimeoutStruct"],["impl Clone for ProfileStruct"],["impl Clone for SetRangeStruct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for RangeStruct"],["impl Clone for NackStruct"],["impl Clone for SetSpeedOfSoundStruct"],["impl Clone for TemperatureMaxStruct"],["impl Clone for DeviceInformationStruct"],["impl Clone for Messages"],["impl Clone for AutoDeviceDataStruct"],["impl Clone for SetLpfSettingStruct"]], +"ping_rs":[["impl Clone for DeviceIdStruct"],["impl Clone for SetPingEnableStruct"],["impl Clone for SetSpeedOfSoundStruct"],["impl Clone for SetCellVoltageTimeoutStruct"],["impl Clone for AutoTransmitStruct"],["impl Clone for SetCurrentTimeoutStruct"],["impl Clone for RebootStruct"],["impl Clone for EraseFlashStruct"],["impl Clone for CurrentTimeoutStruct"],["impl Clone for PingProtocolHead"],["impl Clone for AckStruct"],["impl Clone for SetCurrentMaxStruct"],["impl Clone for ProtocolMessage"],["impl Clone for SetLpfSettingStruct"],["impl Clone for CellVoltageMinStruct"],["impl Clone for DistanceSimpleStruct"],["impl Clone for CellTimeoutStruct"],["impl Clone for Messages"],["impl Clone for ProcessorTemperatureStruct"],["impl Clone for MotorOffStruct"],["impl Clone for SetTemperatureMaxStruct"],["impl Clone for Messages"],["impl Clone for ModeAutoStruct"],["impl Clone for TransmitDurationStruct"],["impl Clone for EventsStruct"],["impl Clone for NackStruct"],["impl Clone for PingProtocolHead"],["impl Clone for SetStreamRateStruct"],["impl Clone for ProfileStruct"],["impl Clone for PcbTemperatureStruct"],["impl Clone for ContinuousStartStruct"],["impl Clone for TransducerStruct"],["impl Clone for ResetDefaultsStruct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for GainSettingStruct"],["impl Clone for TemperatureTimeoutStruct"],["impl Clone for ContinuousStopStruct"],["impl Clone for SetLpfSampleFrequencyStruct"],["impl Clone for FirmwareVersionStruct"],["impl Clone for AsciiTextStruct"],["impl Clone for ResetStruct"],["impl Clone for StateStruct"],["impl Clone for PingIntervalStruct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for DeviceDataStruct"],["impl Clone for Messages"],["impl Clone for GotoBootloaderStruct"],["impl Clone for SetModeAutoStruct"],["impl Clone for SetGainSettingStruct"],["impl Clone for DistanceStruct"],["impl Clone for AutoDeviceDataStruct"],["impl Clone for ProtocolVersionStruct"],["impl Clone for GeneralInfoStruct"],["impl Clone for SpeedOfSoundStruct"],["impl Clone for PingProtocolHead"],["impl Clone for PingProtocolHead"],["impl Clone for CurrentMaxStruct"],["impl Clone for TemperatureMaxStruct"],["impl Clone for SetRangeStruct"],["impl Clone for SetPingIntervalStruct"],["impl Clone for RangeStruct"],["impl Clone for Voltage5Struct"],["impl Clone for GeneralRequestStruct"],["impl Clone for PingEnableStruct"],["impl Clone for SetTemperatureTimeoutStruct"],["impl Clone for DeviceInformationStruct"],["impl Clone for Messages"],["impl Clone for DeviceIdStruct"],["impl Clone for SetCellVoltageMinimumStruct"]], "proc_macro2":[["impl Clone for Delimiter"],["impl Clone for TokenTree"],["impl Clone for TokenStream"],["impl Clone for Group"],["impl Clone for DelimSpan"],["impl Clone for Ident"],["impl Clone for Spacing"],["impl Clone for Punct"],["impl Clone for Span"],["impl Clone for IntoIter"],["impl Clone for Literal"]], "signal_hook_registry":[["impl Clone for SigId"]], "smallvec":[["impl<A: Array + Clone> Clone for IntoIter<A>
where\n A::Item: Clone,
"],["impl<A: Array> Clone for SmallVec<A>
where\n A::Item: Clone,
"]], diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js index f5ec11591..fa69a11ec 100644 --- a/trait.impl/core/cmp/trait.PartialEq.js +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -6,7 +6,7 @@ "once_cell":[["impl<T: PartialEq> PartialEq for OnceCell<T>"],["impl<T: PartialEq> PartialEq for OnceCell<T>"]], "parking_lot":[["impl PartialEq for OnceState"],["impl PartialEq for WaitTimeoutResult"]], "parking_lot_core":[["impl PartialEq for FilterOp"],["impl PartialEq for UnparkToken"],["impl PartialEq for RequeueOp"],["impl PartialEq for UnparkResult"],["impl PartialEq for ParkResult"],["impl PartialEq for ParkToken"]], -"ping_rs":[["impl PartialEq for SetPingIntervalStruct"],["impl PartialEq for EventsStruct"],["impl PartialEq for NackStruct"],["impl PartialEq for ModeAutoStruct"],["impl PartialEq for DeviceDataStruct"],["impl PartialEq for SetGainSettingStruct"],["impl PartialEq for AutoTransmitStruct"],["impl PartialEq for TemperatureTimeoutStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for PingEnableStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for PingIntervalStruct"],["impl PartialEq for SetTemperatureMaxStruct"],["impl PartialEq for SetTemperatureTimeoutStruct"],["impl PartialEq for TransmitDurationStruct"],["impl PartialEq for ParseError"],["impl PartialEq for SetStreamRateStruct"],["impl PartialEq for DeviceInformationStruct"],["impl PartialEq for Messages"],["impl PartialEq for TransducerStruct"],["impl PartialEq for ResetDefaultsStruct"],["impl PartialEq for CurrentMaxStruct"],["impl PartialEq for ProtocolVersionStruct"],["impl PartialEq for StateStruct"],["impl PartialEq for SetCellVoltageTimeoutStruct"],["impl PartialEq for DistanceSimpleStruct"],["impl PartialEq for SetRangeStruct"],["impl PartialEq for GainSettingStruct"],["impl PartialEq for AutoDeviceDataStruct"],["impl PartialEq for ProtocolMessage"],["impl PartialEq for SetLpfSettingStruct"],["impl PartialEq for SetCellVoltageMinimumStruct"],["impl PartialEq for SetCurrentMaxStruct"],["impl PartialEq for Voltage5Struct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for RebootStruct"],["impl PartialEq for DistanceStruct"],["impl PartialEq for SetCurrentTimeoutStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for RangeStruct"],["impl PartialEq for SetLpfSampleFrequencyStruct"],["impl PartialEq for FirmwareVersionStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for ProcessorTemperatureStruct"],["impl PartialEq for ContinuousStopStruct"],["impl PartialEq for CellVoltageMinStruct"],["impl PartialEq for Messages"],["impl PartialEq for MotorOffStruct"],["impl PartialEq for SetModeAutoStruct"],["impl PartialEq for PcbTemperatureStruct"],["impl PartialEq for EraseFlashStruct"],["impl PartialEq for SpeedOfSoundStruct"],["impl PartialEq for Messages"],["impl PartialEq for CellTimeoutStruct"],["impl PartialEq for TemperatureMaxStruct"],["impl PartialEq for Messages"],["impl PartialEq for GeneralInfoStruct"],["impl PartialEq for AckStruct"],["impl PartialEq for SetPingEnableStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for GotoBootloaderStruct"],["impl PartialEq for SetSpeedOfSoundStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for AsciiTextStruct"],["impl PartialEq for ResetStruct"],["impl PartialEq for CurrentTimeoutStruct"],["impl PartialEq for ContinuousStartStruct"],["impl PartialEq for ProfileStruct"],["impl PartialEq for GeneralRequestStruct"]], +"ping_rs":[["impl PartialEq for ContinuousStopStruct"],["impl PartialEq for EventsStruct"],["impl PartialEq for GeneralRequestStruct"],["impl PartialEq for SetSpeedOfSoundStruct"],["impl PartialEq for AutoTransmitStruct"],["impl PartialEq for ProcessorTemperatureStruct"],["impl PartialEq for MotorOffStruct"],["impl PartialEq for SetCellVoltageTimeoutStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for GeneralInfoStruct"],["impl PartialEq for GotoBootloaderStruct"],["impl PartialEq for FirmwareVersionStruct"],["impl PartialEq for SetCurrentTimeoutStruct"],["impl PartialEq for StateStruct"],["impl PartialEq for SetGainSettingStruct"],["impl PartialEq for ParseError"],["impl PartialEq for TemperatureTimeoutStruct"],["impl PartialEq for DeviceInformationStruct"],["impl PartialEq for Messages"],["impl PartialEq for ResetStruct"],["impl PartialEq for SetLpfSettingStruct"],["impl PartialEq for CurrentMaxStruct"],["impl PartialEq for NackStruct"],["impl PartialEq for SetLpfSampleFrequencyStruct"],["impl PartialEq for SetStreamRateStruct"],["impl PartialEq for GainSettingStruct"],["impl PartialEq for SetPingIntervalStruct"],["impl PartialEq for ContinuousStartStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for ProtocolMessage"],["impl PartialEq for SetCellVoltageMinimumStruct"],["impl PartialEq for ResetDefaultsStruct"],["impl PartialEq for CurrentTimeoutStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for CellVoltageMinStruct"],["impl PartialEq for SpeedOfSoundStruct"],["impl PartialEq for TemperatureMaxStruct"],["impl PartialEq for AutoDeviceDataStruct"],["impl PartialEq for Voltage5Struct"],["impl PartialEq for RebootStruct"],["impl PartialEq for PingIntervalStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for SetPingEnableStruct"],["impl PartialEq for ModeAutoStruct"],["impl PartialEq for SetCurrentMaxStruct"],["impl PartialEq for Messages"],["impl PartialEq for DeviceDataStruct"],["impl PartialEq for DistanceSimpleStruct"],["impl PartialEq for TransmitDurationStruct"],["impl PartialEq for SetTemperatureMaxStruct"],["impl PartialEq for PcbTemperatureStruct"],["impl PartialEq for Messages"],["impl PartialEq for CellTimeoutStruct"],["impl PartialEq for SetTemperatureTimeoutStruct"],["impl PartialEq for Messages"],["impl PartialEq for ProfileStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for DistanceStruct"],["impl PartialEq for AsciiTextStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for PingEnableStruct"],["impl PartialEq for RangeStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for ProtocolVersionStruct"],["impl PartialEq for TransducerStruct"],["impl PartialEq for EraseFlashStruct"],["impl PartialEq for SetModeAutoStruct"],["impl PartialEq for SetRangeStruct"],["impl PartialEq for AckStruct"]], "proc_macro2":[["impl PartialEq for Delimiter"],["impl<T> PartialEq<T> for Ident
where\n T: ?Sized + AsRef<str>,
"],["impl PartialEq for Spacing"],["impl PartialEq for Ident"]], "signal_hook_registry":[["impl PartialEq for SigId"]], "smallvec":[["impl<A: Array, B: Array> PartialEq<SmallVec<B>> for SmallVec<A>
where\n A::Item: PartialEq<B::Item>,
"]], diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index 233fe2803..0a8ad657d 100644 --- a/trait.impl/core/default/trait.Default.js +++ b/trait.impl/core/default/trait.Default.js @@ -5,7 +5,7 @@ "once_cell":[["impl<T> Default for OnceCell<T>"],["impl<T: Default> Default for Lazy<T>"],["impl Default for OnceNonZeroUsize"],["impl<'a, T> Default for OnceRef<'a, T>"],["impl<T> Default for OnceCell<T>"],["impl<T> Default for OnceBox<T>"],["impl Default for OnceBool"],["impl<T: Default> Default for Lazy<T>"]], "parking_lot":[["impl Default for Once"],["impl Default for Condvar"]], "parking_lot_core":[["impl Default for SpinWait"],["impl Default for UnparkResult"]], -"ping_rs":[["impl Default for SetPingEnableStruct"],["impl Default for PingEnableStruct"],["impl Default for SetCurrentTimeoutStruct"],["impl Default for ProfileStruct"],["impl Default for SetRangeStruct"],["impl Default for DeviceIdStruct"],["impl Default for StateStruct"],["impl Default for FirmwareVersionStruct"],["impl Default for ProcessorTemperatureStruct"],["impl Default for DeviceIdStruct"],["impl Default for ContinuousStartStruct"],["impl Default for EraseFlashStruct"],["impl Default for SetCellVoltageTimeoutStruct"],["impl Default for GeneralInfoStruct"],["impl Default for CurrentMaxStruct"],["impl Default for GeneralRequestStruct"],["impl Default for SetCellVoltageMinimumStruct"],["impl Default for CurrentTimeoutStruct"],["impl Default for ContinuousStopStruct"],["impl Default for SetLpfSettingStruct"],["impl Default for ResetStruct"],["impl Default for RangeStruct"],["impl Default for ResetDefaultsStruct"],["impl Default for ProtocolVersionStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for SetModeAutoStruct"],["impl Default for AckStruct"],["impl Default for TransmitDurationStruct"],["impl Default for TemperatureTimeoutStruct"],["impl Default for NackStruct"],["impl Default for SpeedOfSoundStruct"],["impl Default for RebootStruct"],["impl Default for DeviceInformationStruct"],["impl Default for SetLpfSampleFrequencyStruct"],["impl Default for DistanceSimpleStruct"],["impl Default for EventsStruct"],["impl Default for ModeAutoStruct"],["impl Default for SetStreamRateStruct"],["impl Default for AutoTransmitStruct"],["impl Default for PcbTemperatureStruct"],["impl Default for MotorOffStruct"],["impl Default for SetTemperatureMaxStruct"],["impl Default for PingProtocolHead"],["impl Default for AsciiTextStruct"],["impl Default for DeviceDataStruct"],["impl Default for SetPingIntervalStruct"],["impl Default for TemperatureMaxStruct"],["impl Default for CellTimeoutStruct"],["impl Default for GainSettingStruct"],["impl Default for PingIntervalStruct"],["impl Default for SetCurrentMaxStruct"],["impl Default for AutoDeviceDataStruct"],["impl Default for SetSpeedOfSoundStruct"],["impl Default for PingProtocolHead"],["impl Default for SetGainSettingStruct"],["impl Default for CellVoltageMinStruct"],["impl Default for PingProtocolHead"],["impl Default for Voltage5Struct"],["impl Default for TransducerStruct"],["impl Default for DistanceStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for SetTemperatureTimeoutStruct"],["impl Default for PingProtocolHead"],["impl Default for GotoBootloaderStruct"],["impl Default for ProtocolMessage"]], +"ping_rs":[["impl Default for DistanceStruct"],["impl Default for GeneralInfoStruct"],["impl Default for TemperatureMaxStruct"],["impl Default for SetRangeStruct"],["impl Default for SetPingIntervalStruct"],["impl Default for AutoDeviceDataStruct"],["impl Default for SetLpfSampleFrequencyStruct"],["impl Default for PingIntervalStruct"],["impl Default for SetPingEnableStruct"],["impl Default for GotoBootloaderStruct"],["impl Default for SetModeAutoStruct"],["impl Default for SetTemperatureMaxStruct"],["impl Default for SetStreamRateStruct"],["impl Default for ProfileStruct"],["impl Default for CurrentMaxStruct"],["impl Default for AckStruct"],["impl Default for ResetDefaultsStruct"],["impl Default for EraseFlashStruct"],["impl Default for ModeAutoStruct"],["impl Default for SetCellVoltageMinimumStruct"],["impl Default for TransducerStruct"],["impl Default for Voltage5Struct"],["impl Default for SetLpfSettingStruct"],["impl Default for NackStruct"],["impl Default for RangeStruct"],["impl Default for DistanceSimpleStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for SetGainSettingStruct"],["impl Default for SetCellVoltageTimeoutStruct"],["impl Default for GeneralRequestStruct"],["impl Default for PcbTemperatureStruct"],["impl Default for CellVoltageMinStruct"],["impl Default for DeviceInformationStruct"],["impl Default for RebootStruct"],["impl Default for GainSettingStruct"],["impl Default for EventsStruct"],["impl Default for SetSpeedOfSoundStruct"],["impl Default for TemperatureTimeoutStruct"],["impl Default for MotorOffStruct"],["impl Default for TransmitDurationStruct"],["impl Default for DeviceDataStruct"],["impl Default for SetCurrentTimeoutStruct"],["impl Default for PingProtocolHead"],["impl Default for ProtocolVersionStruct"],["impl Default for AutoTransmitStruct"],["impl Default for ContinuousStopStruct"],["impl Default for SetTemperatureTimeoutStruct"],["impl Default for CellTimeoutStruct"],["impl Default for ContinuousStartStruct"],["impl Default for FirmwareVersionStruct"],["impl Default for CurrentTimeoutStruct"],["impl Default for DeviceIdStruct"],["impl Default for PingEnableStruct"],["impl Default for PingProtocolHead"],["impl Default for ProcessorTemperatureStruct"],["impl Default for SetCurrentMaxStruct"],["impl Default for PingProtocolHead"],["impl Default for DeviceIdStruct"],["impl Default for ResetStruct"],["impl Default for SpeedOfSoundStruct"],["impl Default for AsciiTextStruct"],["impl Default for StateStruct"],["impl Default for PingProtocolHead"],["impl Default for SetDeviceIdStruct"],["impl Default for ProtocolMessage"]], "proc_macro2":[["impl Default for TokenStream"]], "smallvec":[["impl<A: Array> Default for SmallVec<A>"]], "syn":[["impl Default for SelfValue"],["impl Default for Crate"],["impl Default for Shl"],["impl Default for SelfType"],["impl Default for PercentEq"],["impl Default for Comma"],["impl Default for Ge"],["impl Default for Question"],["impl Default for Default"],["impl Default for As"],["impl Default for Do"],["impl Default for Auto"],["impl Default for In"],["impl Default for FatArrow"],["impl Default for Priv"],["impl Default for Else"],["impl Default for PathArguments"],["impl Default for At"],["impl Default for While"],["impl Default for Let"],["impl Default for PathSep"],["impl Default for Tilde"],["impl Default for Static"],["impl Default for Eq"],["impl Default for RArrow"],["impl Default for OrEq"],["impl Default for Shr"],["impl Default for Not"],["impl Default for Break"],["impl Default for Group"],["impl Default for Loop"],["impl Default for Paren"],["impl Default for Async"],["impl Default for ShlEq"],["impl Default for Impl"],["impl Default for Struct"],["impl Default for MinusEq"],["impl Default for Extern"],["impl Default for OrOr"],["impl Default for Dyn"],["impl Default for Override"],["impl Default for Unsafe"],["impl Default for For"],["impl Default for AndEq"],["impl Default for Const"],["impl Default for Yield"],["impl Default for Pub"],["impl Default for Mut"],["impl Default for Type"],["impl Default for Union"],["impl Default for Return"],["impl Default for Final"],["impl Default for Minus"],["impl Default for Plus"],["impl Default for StarEq"],["impl Default for Slash"],["impl Default for Semi"],["impl Default for Percent"],["impl Default for If"],["impl Default for Ref"],["impl Default for Dollar"],["impl Default for EqEq"],["impl Default for DotDotEq"],["impl Default for Caret"],["impl Default for Le"],["impl Default for Bracket"],["impl Default for Generics"],["impl Default for Where"],["impl Default for CaretEq"],["impl Default for Trait"],["impl Default for SlashEq"],["impl Default for AndAnd"],["impl Default for Move"],["impl Default for Colon"],["impl Default for Match"],["impl Default for Abstract"],["impl Default for Brace"],["impl Default for Lt"],["impl Default for DotDotDot"],["impl Default for Await"],["impl Default for Virtual"],["impl Default for ShrEq"],["impl Default for Continue"],["impl Default for Fn"],["impl Default for Gt"],["impl Default for Super"],["impl Default for Box"],["impl Default for Or"],["impl Default for LArrow"],["impl<T, P> Default for Punctuated<T, P>"],["impl Default for Enum"],["impl Default for Mod"],["impl Default for Ne"],["impl Default for Unsized"],["impl Default for Dot"],["impl Default for Macro"],["impl Default for DotDot"],["impl Default for And"],["impl Default for BoundLifetimes"],["impl Default for Pound"],["impl Default for PlusEq"],["impl Default for Star"],["impl Default for Use"],["impl Default for Try"],["impl Default for Typeof"],["impl Default for Underscore"],["impl Default for Become"]], diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js index 7b76d489f..174c764e8 100644 --- a/trait.impl/core/fmt/trait.Debug.js +++ b/trait.impl/core/fmt/trait.Debug.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T: Debug, F> Debug for Lazy<T, F>"],["impl<T: Debug, F> Debug for Lazy<T, F>"],["impl<T> Debug for OnceBox<T>"],["impl Debug for OnceBool"],["impl Debug for OnceNonZeroUsize"],["impl<'a, T> Debug for OnceRef<'a, T>"],["impl<T: Debug> Debug for OnceCell<T>"],["impl<T: Debug> Debug for OnceCell<T>"]], "parking_lot":[["impl Debug for Once"],["impl Debug for Condvar"],["impl Debug for OnceState"],["impl Debug for WaitTimeoutResult"]], "parking_lot_core":[["impl Debug for FilterOp"],["impl Debug for UnparkToken"],["impl Debug for ParkToken"],["impl Debug for RequeueOp"],["impl Debug for UnparkResult"],["impl Debug for ParkResult"]], -"ping_rs":[["impl Debug for SetLpfSettingStruct"],["impl Debug for RangeStruct"],["impl Debug for CurrentTimeoutStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for AsciiTextStruct"],["impl Debug for Messages"],["impl Debug for PingProtocolHead"],["impl Debug for Messages"],["impl Debug for ContinuousStartStruct"],["impl Debug for PingProtocolHead"],["impl Debug for CellTimeoutStruct"],["impl Debug for TemperatureMaxStruct"],["impl Debug for Messages"],["impl Debug for Voltage5Struct"],["impl Debug for GeneralRequestStruct"],["impl Debug for Messages"],["impl Debug for ProtocolMessage"],["impl Debug for SetCellVoltageMinimumStruct"],["impl Debug for PingProtocolHead"],["impl Debug for TransmitDurationStruct"],["impl Debug for SetModeAutoStruct"],["impl Debug for DeviceDataStruct"],["impl Debug for ResetDefaultsStruct"],["impl Debug for GotoBootloaderStruct"],["impl Debug for SetPingIntervalStruct"],["impl Debug for PingIntervalStruct"],["impl Debug for PingProtocolHead"],["impl Debug for TemperatureTimeoutStruct"],["impl Debug for DecoderState"],["impl Debug for DistanceSimpleStruct"],["impl Debug for ProtocolVersionStruct"],["impl Debug for NackStruct"],["impl Debug for FirmwareVersionStruct"],["impl Debug for MotorOffStruct"],["impl Debug for DeviceInformationStruct"],["impl Debug for DeviceIdStruct"],["impl Debug for AutoDeviceDataStruct"],["impl Debug for CurrentMaxStruct"],["impl Debug for AckStruct"],["impl Debug for SetSpeedOfSoundStruct"],["impl Debug for DeviceIdStruct"],["impl Debug for GeneralInfoStruct"],["impl Debug for ContinuousStopStruct"],["impl Debug for DecoderResult"],["impl Debug for AutoTransmitStruct"],["impl Debug for CellVoltageMinStruct"],["impl Debug for RebootStruct"],["impl Debug for StateStruct"],["impl Debug for PcbTemperatureStruct"],["impl Debug for GainSettingStruct"],["impl Debug for DistanceStruct"],["impl Debug for SetCurrentTimeoutStruct"],["impl Debug for TransducerStruct"],["impl Debug for ProfileStruct"],["impl Debug for SetPingEnableStruct"],["impl Debug for ParseError"],["impl Debug for PingError"],["impl Debug for SpeedOfSoundStruct"],["impl Debug for SetStreamRateStruct"],["impl Debug for ModeAutoStruct"],["impl Debug for ProcessorTemperatureStruct"],["impl Debug for SetTemperatureMaxStruct"],["impl Debug for PingEnableStruct"],["impl Debug for Messages"],["impl Debug for SetCellVoltageTimeoutStruct"],["impl Debug for SetCurrentMaxStruct"],["impl Debug for SetTemperatureTimeoutStruct"],["impl Debug for EraseFlashStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for SetRangeStruct"],["impl Debug for SetLpfSampleFrequencyStruct"],["impl Debug for EventsStruct"],["impl Debug for ResetStruct"],["impl Debug for SetGainSettingStruct"]], +"ping_rs":[["impl Debug for SetCellVoltageMinimumStruct"],["impl Debug for Voltage5Struct"],["impl Debug for EraseFlashStruct"],["impl Debug for AsciiTextStruct"],["impl Debug for ProtocolVersionStruct"],["impl Debug for Messages"],["impl Debug for PingProtocolHead"],["impl Debug for Messages"],["impl Debug for SetModeAutoStruct"],["impl Debug for PingProtocolHead"],["impl Debug for CellTimeoutStruct"],["impl Debug for SetTemperatureTimeoutStruct"],["impl Debug for Messages"],["impl Debug for DeviceIdStruct"],["impl Debug for AckStruct"],["impl Debug for Messages"],["impl Debug for ProtocolMessage"],["impl Debug for ResetDefaultsStruct"],["impl Debug for PingProtocolHead"],["impl Debug for SetGainSettingStruct"],["impl Debug for DistanceSimpleStruct"],["impl Debug for AutoTransmitStruct"],["impl Debug for SetLpfSettingStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for ContinuousStopStruct"],["impl Debug for FirmwareVersionStruct"],["impl Debug for PingProtocolHead"],["impl Debug for SetCellVoltageTimeoutStruct"],["impl Debug for DecoderState"],["impl Debug for GainSettingStruct"],["impl Debug for NackStruct"],["impl Debug for GeneralRequestStruct"],["impl Debug for PingIntervalStruct"],["impl Debug for DeviceDataStruct"],["impl Debug for DeviceInformationStruct"],["impl Debug for AutoDeviceDataStruct"],["impl Debug for DeviceIdStruct"],["impl Debug for CurrentMaxStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for PingEnableStruct"],["impl Debug for GotoBootloaderStruct"],["impl Debug for ProfileStruct"],["impl Debug for ModeAutoStruct"],["impl Debug for DecoderResult"],["impl Debug for MotorOffStruct"],["impl Debug for SetCurrentMaxStruct"],["impl Debug for CellVoltageMinStruct"],["impl Debug for SetLpfSampleFrequencyStruct"],["impl Debug for TransmitDurationStruct"],["impl Debug for ContinuousStartStruct"],["impl Debug for SpeedOfSoundStruct"],["impl Debug for TemperatureMaxStruct"],["impl Debug for ResetStruct"],["impl Debug for SetRangeStruct"],["impl Debug for DistanceStruct"],["impl Debug for ParseError"],["impl Debug for PingError"],["impl Debug for PcbTemperatureStruct"],["impl Debug for TemperatureTimeoutStruct"],["impl Debug for SetSpeedOfSoundStruct"],["impl Debug for SetPingEnableStruct"],["impl Debug for SetCurrentTimeoutStruct"],["impl Debug for GeneralInfoStruct"],["impl Debug for Messages"],["impl Debug for SetStreamRateStruct"],["impl Debug for CurrentTimeoutStruct"],["impl Debug for StateStruct"],["impl Debug for SetTemperatureMaxStruct"],["impl Debug for RangeStruct"],["impl Debug for SetPingIntervalStruct"],["impl Debug for RebootStruct"],["impl Debug for EventsStruct"],["impl Debug for TransducerStruct"],["impl Debug for ProcessorTemperatureStruct"]], "proc_macro2":[["impl Debug for Group"],["impl Debug for IntoIter"],["impl Debug for TokenTree"],["impl Debug for Ident"],["impl Debug for Delimiter"],["impl Debug for DelimSpan"],["impl Debug for Span"],["impl Debug for Punct"],["impl Debug for LexError"],["impl Debug for TokenStream"],["impl Debug for Spacing"],["impl Debug for Literal"]], "scopeguard":[["impl<T, F, S> Debug for ScopeGuard<T, F, S>
where\n T: Debug,\n F: FnOnce(T),\n S: Strategy,
"],["impl Debug for OnUnwind"],["impl Debug for OnSuccess"],["impl Debug for Always"]], "signal_hook_registry":[["impl Debug for SigId"]], diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js index 2b88d6626..54ef4f6d6 100644 --- a/trait.impl/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T> !Freeze for OnceCell<T>",1,["once_cell::unsync::OnceCell"]],["impl<T, F = fn() -> T> !Freeze for Lazy<T, F>",1,["once_cell::unsync::Lazy"]],["impl<T> !Freeze for OnceCell<T>",1,["once_cell::sync::OnceCell"]],["impl<T, F = fn() -> T> !Freeze for Lazy<T, F>",1,["once_cell::sync::Lazy"]],["impl<T> !Freeze for OnceBox<T>",1,["once_cell::race::once_box::OnceBox"]],["impl !Freeze for OnceNonZeroUsize",1,["once_cell::race::OnceNonZeroUsize"]],["impl !Freeze for OnceBool",1,["once_cell::race::OnceBool"]],["impl<'a, T> !Freeze for OnceRef<'a, T>",1,["once_cell::race::OnceRef"]]], "parking_lot":[["impl Freeze for WaitTimeoutResult",1,["parking_lot::condvar::WaitTimeoutResult"]],["impl !Freeze for Condvar",1,["parking_lot::condvar::Condvar"]],["impl Freeze for OnceState",1,["parking_lot::once::OnceState"]],["impl !Freeze for Once",1,["parking_lot::once::Once"]],["impl !Freeze for RawFairMutex",1,["parking_lot::raw_fair_mutex::RawFairMutex"]],["impl !Freeze for RawMutex",1,["parking_lot::raw_mutex::RawMutex"]],["impl !Freeze for RawRwLock",1,["parking_lot::raw_rwlock::RawRwLock"]],["impl Freeze for RawThreadId",1,["parking_lot::remutex::RawThreadId"]]], "parking_lot_core":[["impl Freeze for ParkResult",1,["parking_lot_core::parking_lot::ParkResult"]],["impl Freeze for UnparkResult",1,["parking_lot_core::parking_lot::UnparkResult"]],["impl Freeze for RequeueOp",1,["parking_lot_core::parking_lot::RequeueOp"]],["impl Freeze for FilterOp",1,["parking_lot_core::parking_lot::FilterOp"]],["impl Freeze for UnparkToken",1,["parking_lot_core::parking_lot::UnparkToken"]],["impl Freeze for ParkToken",1,["parking_lot_core::parking_lot::ParkToken"]],["impl Freeze for SpinWait",1,["parking_lot_core::spinwait::SpinWait"]]], -"ping_rs":[["impl Freeze for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::common::Messages"]],["impl Freeze for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Freeze for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Freeze for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Freeze for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Freeze for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Freeze for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::bluebps::Messages"]],["impl Freeze for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Freeze for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Freeze for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Freeze for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Freeze for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Freeze for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Freeze for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Freeze for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Freeze for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Freeze for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Freeze for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Freeze for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Freeze for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Freeze for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Freeze for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Freeze for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Freeze for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Freeze for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Freeze for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Freeze for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping1d::Messages"]],["impl Freeze for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Freeze for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Freeze for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Freeze for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Freeze for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Freeze for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Freeze for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Freeze for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Freeze for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Freeze for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Freeze for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Freeze for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Freeze for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Freeze for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Freeze for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Freeze for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Freeze for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Freeze for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Freeze for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Freeze for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Freeze for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Freeze for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Freeze for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Freeze for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping360::Messages"]],["impl Freeze for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Freeze for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Freeze for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Freeze for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Freeze for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Freeze for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Freeze for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Freeze for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Freeze for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Freeze for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Freeze for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Freeze for PingError",1,["ping_rs::error::PingError"]],["impl Freeze for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Freeze for Messages",1,["ping_rs::Messages"]]], +"ping_rs":[["impl Freeze for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::common::Messages"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Freeze for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Freeze for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Freeze for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Freeze for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Freeze for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Freeze for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::bluebps::Messages"]],["impl Freeze for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Freeze for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Freeze for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Freeze for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Freeze for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Freeze for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Freeze for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Freeze for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Freeze for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Freeze for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Freeze for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Freeze for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Freeze for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Freeze for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Freeze for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Freeze for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Freeze for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Freeze for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Freeze for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Freeze for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping1d::Messages"]],["impl Freeze for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Freeze for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Freeze for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Freeze for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Freeze for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Freeze for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Freeze for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Freeze for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Freeze for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Freeze for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Freeze for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Freeze for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Freeze for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Freeze for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Freeze for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Freeze for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Freeze for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Freeze for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Freeze for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Freeze for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Freeze for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Freeze for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Freeze for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Freeze for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping360::Messages"]],["impl Freeze for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Freeze for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Freeze for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Freeze for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Freeze for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Freeze for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Freeze for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Freeze for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Freeze for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Freeze for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Freeze for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Freeze for PingError",1,["ping_rs::error::PingError"]],["impl Freeze for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Freeze for Messages",1,["ping_rs::Messages"]]], "proc_macro2":[["impl Freeze for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl Freeze for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl Freeze for TokenStream",1,["proc_macro2::TokenStream"]],["impl Freeze for LexError",1,["proc_macro2::LexError"]],["impl Freeze for Span",1,["proc_macro2::Span"]],["impl Freeze for TokenTree",1,["proc_macro2::TokenTree"]],["impl Freeze for Group",1,["proc_macro2::Group"]],["impl Freeze for Delimiter",1,["proc_macro2::Delimiter"]],["impl Freeze for Punct",1,["proc_macro2::Punct"]],["impl Freeze for Spacing",1,["proc_macro2::Spacing"]],["impl Freeze for Ident",1,["proc_macro2::Ident"]],["impl Freeze for Literal",1,["proc_macro2::Literal"]]], "scopeguard":[["impl Freeze for Always",1,["scopeguard::Always"]],["impl Freeze for OnUnwind",1,["scopeguard::OnUnwind"]],["impl Freeze for OnSuccess",1,["scopeguard::OnSuccess"]],["impl<T, F, S> Freeze for ScopeGuard<T, F, S>
where\n F: Freeze,\n T: Freeze,
",1,["scopeguard::ScopeGuard"]]], "signal_hook_registry":[["impl Freeze for SigId",1,["signal_hook_registry::SigId"]]], diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js index 9b1eabda7..ebe3df926 100644 --- a/trait.impl/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T> Send for OnceCell<T>
where\n T: Send,
",1,["once_cell::unsync::OnceCell"]],["impl<T, F> Send for Lazy<T, F>
where\n F: Send,\n T: Send,
",1,["once_cell::unsync::Lazy"]],["impl<T> Send for OnceCell<T>
where\n T: Send,
",1,["once_cell::sync::OnceCell"]],["impl<T, F> Send for Lazy<T, F>
where\n F: Send,\n T: Send,
",1,["once_cell::sync::Lazy"]],["impl<T> Send for OnceBox<T>
where\n T: Send,
",1,["once_cell::race::once_box::OnceBox"]],["impl Send for OnceNonZeroUsize",1,["once_cell::race::OnceNonZeroUsize"]],["impl Send for OnceBool",1,["once_cell::race::OnceBool"]],["impl<'a, T> Send for OnceRef<'a, T>
where\n T: Sync,
",1,["once_cell::race::OnceRef"]]], "parking_lot":[["impl Send for WaitTimeoutResult",1,["parking_lot::condvar::WaitTimeoutResult"]],["impl Send for Condvar",1,["parking_lot::condvar::Condvar"]],["impl Send for OnceState",1,["parking_lot::once::OnceState"]],["impl Send for Once",1,["parking_lot::once::Once"]],["impl Send for RawFairMutex",1,["parking_lot::raw_fair_mutex::RawFairMutex"]],["impl Send for RawMutex",1,["parking_lot::raw_mutex::RawMutex"]],["impl Send for RawRwLock",1,["parking_lot::raw_rwlock::RawRwLock"]],["impl Send for RawThreadId",1,["parking_lot::remutex::RawThreadId"]]], "parking_lot_core":[["impl Send for ParkResult",1,["parking_lot_core::parking_lot::ParkResult"]],["impl Send for UnparkResult",1,["parking_lot_core::parking_lot::UnparkResult"]],["impl Send for RequeueOp",1,["parking_lot_core::parking_lot::RequeueOp"]],["impl Send for FilterOp",1,["parking_lot_core::parking_lot::FilterOp"]],["impl Send for UnparkToken",1,["parking_lot_core::parking_lot::UnparkToken"]],["impl Send for ParkToken",1,["parking_lot_core::parking_lot::ParkToken"]],["impl Send for SpinWait",1,["parking_lot_core::spinwait::SpinWait"]]], -"ping_rs":[["impl Send for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::common::Messages"]],["impl Send for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Send for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Send for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Send for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Send for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Send for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::bluebps::Messages"]],["impl Send for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Send for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Send for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Send for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Send for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Send for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Send for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Send for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Send for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Send for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Send for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Send for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Send for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Send for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Send for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Send for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Send for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Send for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Send for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Send for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping1d::Messages"]],["impl Send for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Send for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Send for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Send for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Send for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Send for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Send for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Send for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Send for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Send for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Send for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Send for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Send for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Send for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Send for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Send for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Send for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Send for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Send for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Send for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Send for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Send for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Send for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Send for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping360::Messages"]],["impl Send for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Send for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Send for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Send for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Send for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Send for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Send for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Send for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Send for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Send for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Send for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Send for PingError",1,["ping_rs::error::PingError"]],["impl Send for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Send for Messages",1,["ping_rs::Messages"]]], +"ping_rs":[["impl Send for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::common::Messages"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Send for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Send for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Send for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Send for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Send for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Send for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::bluebps::Messages"]],["impl Send for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Send for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Send for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Send for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Send for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Send for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Send for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Send for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Send for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Send for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Send for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Send for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Send for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Send for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Send for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Send for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Send for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Send for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Send for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Send for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping1d::Messages"]],["impl Send for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Send for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Send for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Send for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Send for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Send for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Send for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Send for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Send for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Send for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Send for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Send for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Send for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Send for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Send for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Send for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Send for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Send for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Send for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Send for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Send for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Send for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Send for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Send for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping360::Messages"]],["impl Send for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Send for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Send for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Send for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Send for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Send for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Send for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Send for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Send for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Send for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Send for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Send for PingError",1,["ping_rs::error::PingError"]],["impl Send for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Send for Messages",1,["ping_rs::Messages"]]], "proc_macro2":[["impl !Send for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl !Send for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl !Send for TokenStream",1,["proc_macro2::TokenStream"]],["impl !Send for LexError",1,["proc_macro2::LexError"]],["impl !Send for Span",1,["proc_macro2::Span"]],["impl !Send for TokenTree",1,["proc_macro2::TokenTree"]],["impl !Send for Group",1,["proc_macro2::Group"]],["impl Send for Delimiter",1,["proc_macro2::Delimiter"]],["impl !Send for Punct",1,["proc_macro2::Punct"]],["impl Send for Spacing",1,["proc_macro2::Spacing"]],["impl !Send for Ident",1,["proc_macro2::Ident"]],["impl !Send for Literal",1,["proc_macro2::Literal"]]], "scopeguard":[["impl Send for Always",1,["scopeguard::Always"]],["impl Send for OnUnwind",1,["scopeguard::OnUnwind"]],["impl Send for OnSuccess",1,["scopeguard::OnSuccess"]],["impl<T, F, S> Send for ScopeGuard<T, F, S>
where\n F: Send,\n T: Send,
",1,["scopeguard::ScopeGuard"]]], "signal_hook_registry":[["impl Send for SigId",1,["signal_hook_registry::SigId"]]], diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js index 30e091876..3a20e6f97 100644 --- a/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -4,7 +4,7 @@ "mio":[["impl StructuralPartialEq for Interest"],["impl StructuralPartialEq for Token"]], "parking_lot":[["impl StructuralPartialEq for WaitTimeoutResult"],["impl StructuralPartialEq for OnceState"]], "parking_lot_core":[["impl StructuralPartialEq for UnparkResult"],["impl StructuralPartialEq for UnparkToken"],["impl StructuralPartialEq for RequeueOp"],["impl StructuralPartialEq for FilterOp"],["impl StructuralPartialEq for ParkResult"],["impl StructuralPartialEq for ParkToken"]], -"ping_rs":[["impl StructuralPartialEq for RangeStruct"],["impl StructuralPartialEq for AsciiTextStruct"],["impl StructuralPartialEq for SetCellVoltageMinimumStruct"],["impl StructuralPartialEq for EventsStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for GotoBootloaderStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for ContinuousStartStruct"],["impl StructuralPartialEq for TransducerStruct"],["impl StructuralPartialEq for ContinuousStopStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for MotorOffStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for EraseFlashStruct"],["impl StructuralPartialEq for ProtocolVersionStruct"],["impl StructuralPartialEq for SetLpfSampleFrequencyStruct"],["impl StructuralPartialEq for AutoDeviceDataStruct"],["impl StructuralPartialEq for PcbTemperatureStruct"],["impl StructuralPartialEq for ProcessorTemperatureStruct"],["impl StructuralPartialEq for DeviceDataStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for ResetStruct"],["impl StructuralPartialEq for ResetDefaultsStruct"],["impl StructuralPartialEq for SetTemperatureTimeoutStruct"],["impl StructuralPartialEq for SetPingIntervalStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for RebootStruct"],["impl StructuralPartialEq for ParseError"],["impl StructuralPartialEq for ProtocolMessage"],["impl StructuralPartialEq for ProfileStruct"],["impl StructuralPartialEq for GeneralInfoStruct"],["impl StructuralPartialEq for PingEnableStruct"],["impl StructuralPartialEq for CurrentMaxStruct"],["impl StructuralPartialEq for SetCurrentMaxStruct"],["impl StructuralPartialEq for SetPingEnableStruct"],["impl StructuralPartialEq for GeneralRequestStruct"],["impl StructuralPartialEq for SetLpfSettingStruct"],["impl StructuralPartialEq for SetRangeStruct"],["impl StructuralPartialEq for StateStruct"],["impl StructuralPartialEq for SetTemperatureMaxStruct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for TemperatureTimeoutStruct"],["impl StructuralPartialEq for SpeedOfSoundStruct"],["impl StructuralPartialEq for AutoTransmitStruct"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for CellTimeoutStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for Voltage5Struct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for DistanceSimpleStruct"],["impl StructuralPartialEq for NackStruct"],["impl StructuralPartialEq for SetCurrentTimeoutStruct"],["impl StructuralPartialEq for SetSpeedOfSoundStruct"],["impl StructuralPartialEq for SetStreamRateStruct"],["impl StructuralPartialEq for DeviceInformationStruct"],["impl StructuralPartialEq for GainSettingStruct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for SetCellVoltageTimeoutStruct"],["impl StructuralPartialEq for CurrentTimeoutStruct"],["impl StructuralPartialEq for ModeAutoStruct"],["impl StructuralPartialEq for PingIntervalStruct"],["impl StructuralPartialEq for SetGainSettingStruct"],["impl StructuralPartialEq for CellVoltageMinStruct"],["impl StructuralPartialEq for DistanceStruct"],["impl StructuralPartialEq for TransmitDurationStruct"],["impl StructuralPartialEq for TemperatureMaxStruct"],["impl StructuralPartialEq for AckStruct"],["impl StructuralPartialEq for FirmwareVersionStruct"],["impl StructuralPartialEq for SetModeAutoStruct"]], +"ping_rs":[["impl StructuralPartialEq for Voltage5Struct"],["impl StructuralPartialEq for ProtocolVersionStruct"],["impl StructuralPartialEq for ResetDefaultsStruct"],["impl StructuralPartialEq for EventsStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for AutoDeviceDataStruct"],["impl StructuralPartialEq for SetModeAutoStruct"],["impl StructuralPartialEq for ResetStruct"],["impl StructuralPartialEq for ModeAutoStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for DeviceDataStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for SetTemperatureMaxStruct"],["impl StructuralPartialEq for NackStruct"],["impl StructuralPartialEq for RebootStruct"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for TransmitDurationStruct"],["impl StructuralPartialEq for SetPingEnableStruct"],["impl StructuralPartialEq for AutoTransmitStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for TransducerStruct"],["impl StructuralPartialEq for SetLpfSettingStruct"],["impl StructuralPartialEq for StateStruct"],["impl StructuralPartialEq for ContinuousStopStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for CellVoltageMinStruct"],["impl StructuralPartialEq for ParseError"],["impl StructuralPartialEq for ProtocolMessage"],["impl StructuralPartialEq for SetRangeStruct"],["impl StructuralPartialEq for ProfileStruct"],["impl StructuralPartialEq for GeneralInfoStruct"],["impl StructuralPartialEq for CurrentMaxStruct"],["impl StructuralPartialEq for CurrentTimeoutStruct"],["impl StructuralPartialEq for DistanceStruct"],["impl StructuralPartialEq for AckStruct"],["impl StructuralPartialEq for SetCellVoltageMinimumStruct"],["impl StructuralPartialEq for SetPingIntervalStruct"],["impl StructuralPartialEq for SetLpfSampleFrequencyStruct"],["impl StructuralPartialEq for SetCurrentTimeoutStruct"],["impl StructuralPartialEq for RangeStruct"],["impl StructuralPartialEq for SetCellVoltageTimeoutStruct"],["impl StructuralPartialEq for PcbTemperatureStruct"],["impl StructuralPartialEq for MotorOffStruct"],["impl StructuralPartialEq for GotoBootloaderStruct"],["impl StructuralPartialEq for CellTimeoutStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for GainSettingStruct"],["impl StructuralPartialEq for GeneralRequestStruct"],["impl StructuralPartialEq for TemperatureMaxStruct"],["impl StructuralPartialEq for PingEnableStruct"],["impl StructuralPartialEq for TemperatureTimeoutStruct"],["impl StructuralPartialEq for DeviceInformationStruct"],["impl StructuralPartialEq for ContinuousStartStruct"],["impl StructuralPartialEq for AsciiTextStruct"],["impl StructuralPartialEq for SetStreamRateStruct"],["impl StructuralPartialEq for EraseFlashStruct"],["impl StructuralPartialEq for SetSpeedOfSoundStruct"],["impl StructuralPartialEq for FirmwareVersionStruct"],["impl StructuralPartialEq for ProcessorTemperatureStruct"],["impl StructuralPartialEq for SetCurrentMaxStruct"],["impl StructuralPartialEq for SpeedOfSoundStruct"],["impl StructuralPartialEq for SetGainSettingStruct"],["impl StructuralPartialEq for SetTemperatureTimeoutStruct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for PingIntervalStruct"],["impl StructuralPartialEq for DistanceSimpleStruct"]], "proc_macro2":[["impl StructuralPartialEq for Delimiter"],["impl StructuralPartialEq for Spacing"]], "signal_hook_registry":[["impl StructuralPartialEq for SigId"]], "socket2":[["impl StructuralPartialEq for Domain"],["impl StructuralPartialEq for RecvFlags"],["impl StructuralPartialEq for Type"],["impl StructuralPartialEq for Protocol"]], diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js index c819e4474..732314608 100644 --- a/trait.impl/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T> !Sync for OnceCell<T>",1,["once_cell::unsync::OnceCell"]],["impl<T, F = fn() -> T> !Sync for Lazy<T, F>",1,["once_cell::unsync::Lazy"]],["impl<T> Sync for OnceCell<T>
where\n T: Sync + Send,
",1,["once_cell::sync::OnceCell"]],["impl Sync for OnceNonZeroUsize",1,["once_cell::race::OnceNonZeroUsize"]],["impl Sync for OnceBool",1,["once_cell::race::OnceBool"]],["impl<T: Sync + Send> Sync for OnceBox<T>"],["impl<T, F: Send> Sync for Lazy<T, F>
where\n OnceCell<T>: Sync,
"],["impl<'a, T: Sync> Sync for OnceRef<'a, T>"]], "parking_lot":[["impl Sync for WaitTimeoutResult",1,["parking_lot::condvar::WaitTimeoutResult"]],["impl Sync for Condvar",1,["parking_lot::condvar::Condvar"]],["impl Sync for OnceState",1,["parking_lot::once::OnceState"]],["impl Sync for Once",1,["parking_lot::once::Once"]],["impl Sync for RawFairMutex",1,["parking_lot::raw_fair_mutex::RawFairMutex"]],["impl Sync for RawMutex",1,["parking_lot::raw_mutex::RawMutex"]],["impl Sync for RawRwLock",1,["parking_lot::raw_rwlock::RawRwLock"]],["impl Sync for RawThreadId",1,["parking_lot::remutex::RawThreadId"]]], "parking_lot_core":[["impl Sync for ParkResult",1,["parking_lot_core::parking_lot::ParkResult"]],["impl Sync for UnparkResult",1,["parking_lot_core::parking_lot::UnparkResult"]],["impl Sync for RequeueOp",1,["parking_lot_core::parking_lot::RequeueOp"]],["impl Sync for FilterOp",1,["parking_lot_core::parking_lot::FilterOp"]],["impl Sync for UnparkToken",1,["parking_lot_core::parking_lot::UnparkToken"]],["impl Sync for ParkToken",1,["parking_lot_core::parking_lot::ParkToken"]],["impl Sync for SpinWait",1,["parking_lot_core::spinwait::SpinWait"]]], -"ping_rs":[["impl Sync for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::common::Messages"]],["impl Sync for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Sync for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Sync for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Sync for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Sync for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Sync for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::bluebps::Messages"]],["impl Sync for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Sync for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Sync for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Sync for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Sync for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Sync for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Sync for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Sync for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Sync for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Sync for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Sync for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Sync for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Sync for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Sync for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Sync for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Sync for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Sync for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Sync for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Sync for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Sync for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping1d::Messages"]],["impl Sync for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Sync for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Sync for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Sync for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Sync for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Sync for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Sync for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Sync for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Sync for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Sync for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Sync for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Sync for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Sync for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Sync for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Sync for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Sync for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Sync for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Sync for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Sync for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Sync for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Sync for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Sync for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Sync for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Sync for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping360::Messages"]],["impl Sync for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Sync for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Sync for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Sync for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Sync for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Sync for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Sync for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Sync for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Sync for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Sync for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Sync for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Sync for PingError",1,["ping_rs::error::PingError"]],["impl Sync for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Sync for Messages",1,["ping_rs::Messages"]]], +"ping_rs":[["impl Sync for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::common::Messages"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Sync for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Sync for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Sync for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Sync for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Sync for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Sync for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::bluebps::Messages"]],["impl Sync for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Sync for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Sync for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Sync for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Sync for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Sync for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Sync for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Sync for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Sync for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Sync for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Sync for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Sync for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Sync for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Sync for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Sync for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Sync for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Sync for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Sync for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Sync for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Sync for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping1d::Messages"]],["impl Sync for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Sync for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Sync for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Sync for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Sync for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Sync for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Sync for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Sync for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Sync for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Sync for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Sync for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Sync for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Sync for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Sync for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Sync for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Sync for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Sync for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Sync for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Sync for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Sync for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Sync for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Sync for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Sync for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Sync for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping360::Messages"]],["impl Sync for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Sync for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Sync for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Sync for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Sync for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Sync for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Sync for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Sync for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Sync for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Sync for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Sync for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Sync for PingError",1,["ping_rs::error::PingError"]],["impl Sync for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Sync for Messages",1,["ping_rs::Messages"]]], "proc_macro2":[["impl !Sync for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl !Sync for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl !Sync for TokenStream",1,["proc_macro2::TokenStream"]],["impl !Sync for LexError",1,["proc_macro2::LexError"]],["impl !Sync for Span",1,["proc_macro2::Span"]],["impl !Sync for TokenTree",1,["proc_macro2::TokenTree"]],["impl !Sync for Group",1,["proc_macro2::Group"]],["impl Sync for Delimiter",1,["proc_macro2::Delimiter"]],["impl !Sync for Punct",1,["proc_macro2::Punct"]],["impl Sync for Spacing",1,["proc_macro2::Spacing"]],["impl !Sync for Ident",1,["proc_macro2::Ident"]],["impl !Sync for Literal",1,["proc_macro2::Literal"]]], "scopeguard":[["impl Sync for Always",1,["scopeguard::Always"]],["impl Sync for OnUnwind",1,["scopeguard::OnUnwind"]],["impl Sync for OnSuccess",1,["scopeguard::OnSuccess"]],["impl<T, F, S> Sync for ScopeGuard<T, F, S>
where\n T: Sync,\n F: FnOnce(T),\n S: Strategy,
"]], "signal_hook_registry":[["impl Sync for SigId",1,["signal_hook_registry::SigId"]]], diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js index 83d6c304f..ff3cd8d03 100644 --- a/trait.impl/core/marker/trait.Unpin.js +++ b/trait.impl/core/marker/trait.Unpin.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T> Unpin for OnceCell<T>
where\n T: Unpin,
",1,["once_cell::unsync::OnceCell"]],["impl<T, F> Unpin for Lazy<T, F>
where\n F: Unpin,\n T: Unpin,
",1,["once_cell::unsync::Lazy"]],["impl<T> Unpin for OnceCell<T>
where\n T: Unpin,
",1,["once_cell::sync::OnceCell"]],["impl<T, F> Unpin for Lazy<T, F>
where\n F: Unpin,\n T: Unpin,
",1,["once_cell::sync::Lazy"]],["impl<T> Unpin for OnceBox<T>",1,["once_cell::race::once_box::OnceBox"]],["impl Unpin for OnceNonZeroUsize",1,["once_cell::race::OnceNonZeroUsize"]],["impl Unpin for OnceBool",1,["once_cell::race::OnceBool"]],["impl<'a, T> Unpin for OnceRef<'a, T>",1,["once_cell::race::OnceRef"]]], "parking_lot":[["impl Unpin for WaitTimeoutResult",1,["parking_lot::condvar::WaitTimeoutResult"]],["impl Unpin for Condvar",1,["parking_lot::condvar::Condvar"]],["impl Unpin for OnceState",1,["parking_lot::once::OnceState"]],["impl Unpin for Once",1,["parking_lot::once::Once"]],["impl Unpin for RawFairMutex",1,["parking_lot::raw_fair_mutex::RawFairMutex"]],["impl Unpin for RawMutex",1,["parking_lot::raw_mutex::RawMutex"]],["impl Unpin for RawRwLock",1,["parking_lot::raw_rwlock::RawRwLock"]],["impl Unpin for RawThreadId",1,["parking_lot::remutex::RawThreadId"]]], "parking_lot_core":[["impl Unpin for ParkResult",1,["parking_lot_core::parking_lot::ParkResult"]],["impl Unpin for UnparkResult",1,["parking_lot_core::parking_lot::UnparkResult"]],["impl Unpin for RequeueOp",1,["parking_lot_core::parking_lot::RequeueOp"]],["impl Unpin for FilterOp",1,["parking_lot_core::parking_lot::FilterOp"]],["impl Unpin for UnparkToken",1,["parking_lot_core::parking_lot::UnparkToken"]],["impl Unpin for ParkToken",1,["parking_lot_core::parking_lot::ParkToken"]],["impl Unpin for SpinWait",1,["parking_lot_core::spinwait::SpinWait"]]], -"ping_rs":[["impl Unpin for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::common::Messages"]],["impl Unpin for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Unpin for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Unpin for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Unpin for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Unpin for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Unpin for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::bluebps::Messages"]],["impl Unpin for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Unpin for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Unpin for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Unpin for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Unpin for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Unpin for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Unpin for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Unpin for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Unpin for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Unpin for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Unpin for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Unpin for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Unpin for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Unpin for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Unpin for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Unpin for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Unpin for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Unpin for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Unpin for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Unpin for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping1d::Messages"]],["impl Unpin for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Unpin for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Unpin for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Unpin for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Unpin for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Unpin for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Unpin for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Unpin for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Unpin for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Unpin for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Unpin for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Unpin for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Unpin for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Unpin for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Unpin for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Unpin for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Unpin for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Unpin for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Unpin for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Unpin for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Unpin for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Unpin for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Unpin for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Unpin for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping360::Messages"]],["impl Unpin for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Unpin for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Unpin for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Unpin for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Unpin for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Unpin for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Unpin for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Unpin for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Unpin for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Unpin for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Unpin for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Unpin for PingError",1,["ping_rs::error::PingError"]],["impl Unpin for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Unpin for Messages",1,["ping_rs::Messages"]]], +"ping_rs":[["impl Unpin for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::common::Messages"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Unpin for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Unpin for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Unpin for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Unpin for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Unpin for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Unpin for AckStruct",1,["ping_rs::common::AckStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::bluebps::Messages"]],["impl Unpin for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Unpin for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Unpin for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Unpin for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Unpin for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Unpin for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Unpin for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Unpin for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Unpin for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Unpin for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Unpin for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Unpin for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Unpin for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Unpin for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Unpin for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Unpin for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Unpin for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Unpin for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Unpin for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Unpin for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping1d::Messages"]],["impl Unpin for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Unpin for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Unpin for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Unpin for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Unpin for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Unpin for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Unpin for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Unpin for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Unpin for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Unpin for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Unpin for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Unpin for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Unpin for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Unpin for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Unpin for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Unpin for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Unpin for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Unpin for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Unpin for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Unpin for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Unpin for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Unpin for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Unpin for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Unpin for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping360::Messages"]],["impl Unpin for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Unpin for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Unpin for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Unpin for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Unpin for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Unpin for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Unpin for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl Unpin for ParseError",1,["ping_rs::decoder::ParseError"]],["impl Unpin for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl Unpin for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl Unpin for Decoder",1,["ping_rs::decoder::Decoder"]],["impl Unpin for PingError",1,["ping_rs::error::PingError"]],["impl Unpin for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Unpin for Messages",1,["ping_rs::Messages"]]], "proc_macro2":[["impl Unpin for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl Unpin for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl Unpin for TokenStream",1,["proc_macro2::TokenStream"]],["impl Unpin for LexError",1,["proc_macro2::LexError"]],["impl Unpin for Span",1,["proc_macro2::Span"]],["impl Unpin for TokenTree",1,["proc_macro2::TokenTree"]],["impl Unpin for Group",1,["proc_macro2::Group"]],["impl Unpin for Delimiter",1,["proc_macro2::Delimiter"]],["impl Unpin for Punct",1,["proc_macro2::Punct"]],["impl Unpin for Spacing",1,["proc_macro2::Spacing"]],["impl Unpin for Ident",1,["proc_macro2::Ident"]],["impl Unpin for Literal",1,["proc_macro2::Literal"]]], "scopeguard":[["impl Unpin for Always",1,["scopeguard::Always"]],["impl Unpin for OnUnwind",1,["scopeguard::OnUnwind"]],["impl Unpin for OnSuccess",1,["scopeguard::OnSuccess"]],["impl<T, F, S> Unpin for ScopeGuard<T, F, S>
where\n F: Unpin,\n T: Unpin,
",1,["scopeguard::ScopeGuard"]]], "signal_hook_registry":[["impl Unpin for SigId",1,["signal_hook_registry::SigId"]]], diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index 00bcf5209..e819ac1a6 100644 --- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T> RefUnwindSafe for OnceCell<T>",1,["once_cell::sync::OnceCell"]],["impl<T> RefUnwindSafe for OnceBox<T>
where\n T: RefUnwindSafe,
",1,["once_cell::race::once_box::OnceBox"]],["impl RefUnwindSafe for OnceNonZeroUsize",1,["once_cell::race::OnceNonZeroUsize"]],["impl RefUnwindSafe for OnceBool",1,["once_cell::race::OnceBool"]],["impl<'a, T> !RefUnwindSafe for OnceRef<'a, T>",1,["once_cell::race::OnceRef"]],["impl<T, F: RefUnwindSafe> RefUnwindSafe for Lazy<T, F>
where\n OnceCell<T>: RefUnwindSafe,
"],["impl<T: RefUnwindSafe + UnwindSafe> RefUnwindSafe for OnceCell<T>"],["impl<T, F: RefUnwindSafe> RefUnwindSafe for Lazy<T, F>
where\n OnceCell<T>: RefUnwindSafe,
"]], "parking_lot":[["impl RefUnwindSafe for WaitTimeoutResult",1,["parking_lot::condvar::WaitTimeoutResult"]],["impl RefUnwindSafe for Condvar",1,["parking_lot::condvar::Condvar"]],["impl RefUnwindSafe for OnceState",1,["parking_lot::once::OnceState"]],["impl RefUnwindSafe for Once",1,["parking_lot::once::Once"]],["impl RefUnwindSafe for RawFairMutex",1,["parking_lot::raw_fair_mutex::RawFairMutex"]],["impl RefUnwindSafe for RawMutex",1,["parking_lot::raw_mutex::RawMutex"]],["impl RefUnwindSafe for RawRwLock",1,["parking_lot::raw_rwlock::RawRwLock"]],["impl RefUnwindSafe for RawThreadId",1,["parking_lot::remutex::RawThreadId"]]], "parking_lot_core":[["impl RefUnwindSafe for ParkResult",1,["parking_lot_core::parking_lot::ParkResult"]],["impl RefUnwindSafe for UnparkResult",1,["parking_lot_core::parking_lot::UnparkResult"]],["impl RefUnwindSafe for RequeueOp",1,["parking_lot_core::parking_lot::RequeueOp"]],["impl RefUnwindSafe for FilterOp",1,["parking_lot_core::parking_lot::FilterOp"]],["impl RefUnwindSafe for UnparkToken",1,["parking_lot_core::parking_lot::UnparkToken"]],["impl RefUnwindSafe for ParkToken",1,["parking_lot_core::parking_lot::ParkToken"]],["impl RefUnwindSafe for SpinWait",1,["parking_lot_core::spinwait::SpinWait"]]], -"ping_rs":[["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::common::Messages"]],["impl RefUnwindSafe for AckStruct",1,["ping_rs::common::AckStruct"]],["impl RefUnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl RefUnwindSafe for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl RefUnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl RefUnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl RefUnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl RefUnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl RefUnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl RefUnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl RefUnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl RefUnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl RefUnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl RefUnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl RefUnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl RefUnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl RefUnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl RefUnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl RefUnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl RefUnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl RefUnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl RefUnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl RefUnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl RefUnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl RefUnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl RefUnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl RefUnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl RefUnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl RefUnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl RefUnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl RefUnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl RefUnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl RefUnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl RefUnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl RefUnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl RefUnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl RefUnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl RefUnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl RefUnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl RefUnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl RefUnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl RefUnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl RefUnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl RefUnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl RefUnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl RefUnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl RefUnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl RefUnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl RefUnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl RefUnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl RefUnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl RefUnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl RefUnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl RefUnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl RefUnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl RefUnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl RefUnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl RefUnwindSafe for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl RefUnwindSafe for ParseError",1,["ping_rs::decoder::ParseError"]],["impl RefUnwindSafe for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl RefUnwindSafe for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl RefUnwindSafe for Decoder",1,["ping_rs::decoder::Decoder"]],["impl !RefUnwindSafe for PingError",1,["ping_rs::error::PingError"]],["impl RefUnwindSafe for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl RefUnwindSafe for Messages",1,["ping_rs::Messages"]]], +"ping_rs":[["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::common::Messages"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl RefUnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl RefUnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl RefUnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl RefUnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl RefUnwindSafe for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl RefUnwindSafe for AckStruct",1,["ping_rs::common::AckStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl RefUnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl RefUnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl RefUnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl RefUnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl RefUnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl RefUnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl RefUnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl RefUnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl RefUnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl RefUnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl RefUnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl RefUnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl RefUnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl RefUnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl RefUnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl RefUnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl RefUnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl RefUnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl RefUnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl RefUnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl RefUnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl RefUnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl RefUnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl RefUnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl RefUnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl RefUnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl RefUnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl RefUnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl RefUnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl RefUnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl RefUnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl RefUnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl RefUnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl RefUnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl RefUnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl RefUnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl RefUnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl RefUnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl RefUnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl RefUnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl RefUnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl RefUnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl RefUnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl RefUnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl RefUnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl RefUnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl RefUnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl RefUnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl RefUnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl RefUnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl RefUnwindSafe for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl RefUnwindSafe for ParseError",1,["ping_rs::decoder::ParseError"]],["impl RefUnwindSafe for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl RefUnwindSafe for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl RefUnwindSafe for Decoder",1,["ping_rs::decoder::Decoder"]],["impl !RefUnwindSafe for PingError",1,["ping_rs::error::PingError"]],["impl RefUnwindSafe for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl RefUnwindSafe for Messages",1,["ping_rs::Messages"]]], "proc_macro2":[["impl RefUnwindSafe for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl RefUnwindSafe for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl RefUnwindSafe for TokenStream",1,["proc_macro2::TokenStream"]],["impl RefUnwindSafe for LexError",1,["proc_macro2::LexError"]],["impl RefUnwindSafe for Span",1,["proc_macro2::Span"]],["impl RefUnwindSafe for TokenTree",1,["proc_macro2::TokenTree"]],["impl RefUnwindSafe for Group",1,["proc_macro2::Group"]],["impl RefUnwindSafe for Delimiter",1,["proc_macro2::Delimiter"]],["impl RefUnwindSafe for Punct",1,["proc_macro2::Punct"]],["impl RefUnwindSafe for Spacing",1,["proc_macro2::Spacing"]],["impl RefUnwindSafe for Ident",1,["proc_macro2::Ident"]],["impl RefUnwindSafe for Literal",1,["proc_macro2::Literal"]]], "scopeguard":[["impl RefUnwindSafe for Always",1,["scopeguard::Always"]],["impl RefUnwindSafe for OnUnwind",1,["scopeguard::OnUnwind"]],["impl RefUnwindSafe for OnSuccess",1,["scopeguard::OnSuccess"]],["impl<T, F, S> RefUnwindSafe for ScopeGuard<T, F, S>
where\n F: RefUnwindSafe,\n T: RefUnwindSafe,
",1,["scopeguard::ScopeGuard"]]], "signal_hook_registry":[["impl RefUnwindSafe for SigId",1,["signal_hook_registry::SigId"]]], diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index c4061a5f4..3de3f88ff 100644 --- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -7,7 +7,7 @@ "once_cell":[["impl<T, F> UnwindSafe for Lazy<T, F>
where\n F: UnwindSafe,\n T: UnwindSafe,
",1,["once_cell::unsync::Lazy"]],["impl<T> UnwindSafe for OnceCell<T>
where\n T: UnwindSafe,
",1,["once_cell::sync::OnceCell"]],["impl<T, F> UnwindSafe for Lazy<T, F>
where\n F: UnwindSafe,\n T: UnwindSafe,
",1,["once_cell::sync::Lazy"]],["impl<T> UnwindSafe for OnceBox<T>",1,["once_cell::race::once_box::OnceBox"]],["impl UnwindSafe for OnceNonZeroUsize",1,["once_cell::race::OnceNonZeroUsize"]],["impl UnwindSafe for OnceBool",1,["once_cell::race::OnceBool"]],["impl<'a, T> UnwindSafe for OnceRef<'a, T>
where\n T: RefUnwindSafe,
",1,["once_cell::race::OnceRef"]],["impl<T: UnwindSafe> UnwindSafe for OnceCell<T>"]], "parking_lot":[["impl UnwindSafe for WaitTimeoutResult",1,["parking_lot::condvar::WaitTimeoutResult"]],["impl UnwindSafe for Condvar",1,["parking_lot::condvar::Condvar"]],["impl UnwindSafe for OnceState",1,["parking_lot::once::OnceState"]],["impl UnwindSafe for Once",1,["parking_lot::once::Once"]],["impl UnwindSafe for RawFairMutex",1,["parking_lot::raw_fair_mutex::RawFairMutex"]],["impl UnwindSafe for RawMutex",1,["parking_lot::raw_mutex::RawMutex"]],["impl UnwindSafe for RawRwLock",1,["parking_lot::raw_rwlock::RawRwLock"]],["impl UnwindSafe for RawThreadId",1,["parking_lot::remutex::RawThreadId"]]], "parking_lot_core":[["impl UnwindSafe for ParkResult",1,["parking_lot_core::parking_lot::ParkResult"]],["impl UnwindSafe for UnparkResult",1,["parking_lot_core::parking_lot::UnparkResult"]],["impl UnwindSafe for RequeueOp",1,["parking_lot_core::parking_lot::RequeueOp"]],["impl UnwindSafe for FilterOp",1,["parking_lot_core::parking_lot::FilterOp"]],["impl UnwindSafe for UnparkToken",1,["parking_lot_core::parking_lot::UnparkToken"]],["impl UnwindSafe for ParkToken",1,["parking_lot_core::parking_lot::ParkToken"]],["impl UnwindSafe for SpinWait",1,["parking_lot_core::spinwait::SpinWait"]]], -"ping_rs":[["impl UnwindSafe for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::common::Messages"]],["impl UnwindSafe for AckStruct",1,["ping_rs::common::AckStruct"]],["impl UnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl UnwindSafe for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl UnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl UnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl UnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl UnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl UnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl UnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl UnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl UnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl UnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl UnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl UnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl UnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl UnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl UnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl UnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl UnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl UnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl UnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl UnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl UnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl UnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl UnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl UnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl UnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl UnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl UnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl UnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl UnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl UnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl UnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl UnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl UnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl UnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl UnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl UnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl UnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl UnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl UnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl UnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl UnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl UnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl UnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl UnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl UnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl UnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl UnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl UnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl UnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl UnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl UnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl UnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl UnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl UnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl UnwindSafe for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl UnwindSafe for ParseError",1,["ping_rs::decoder::ParseError"]],["impl UnwindSafe for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl UnwindSafe for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl UnwindSafe for Decoder",1,["ping_rs::decoder::Decoder"]],["impl !UnwindSafe for PingError",1,["ping_rs::error::PingError"]],["impl UnwindSafe for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl UnwindSafe for Messages",1,["ping_rs::Messages"]]], +"ping_rs":[["impl UnwindSafe for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::common::Messages"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl UnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl UnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl UnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl UnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl UnwindSafe for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl UnwindSafe for AckStruct",1,["ping_rs::common::AckStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl UnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl UnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl UnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl UnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl UnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl UnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl UnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl UnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl UnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl UnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl UnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl UnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl UnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl UnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl UnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl UnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl UnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl UnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl UnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl UnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl UnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl UnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl UnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl UnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl UnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl UnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl UnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl UnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl UnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl UnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl UnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl UnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl UnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl UnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl UnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl UnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl UnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl UnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl UnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl UnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl UnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl UnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl UnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl UnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl UnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl UnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl UnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl UnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl UnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl UnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl UnwindSafe for PingCodec",1,["ping_rs::codec::PingCodec"]],["impl UnwindSafe for ParseError",1,["ping_rs::decoder::ParseError"]],["impl UnwindSafe for DecoderResult",1,["ping_rs::decoder::DecoderResult"]],["impl UnwindSafe for DecoderState",1,["ping_rs::decoder::DecoderState"]],["impl UnwindSafe for Decoder",1,["ping_rs::decoder::Decoder"]],["impl !UnwindSafe for PingError",1,["ping_rs::error::PingError"]],["impl UnwindSafe for ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl UnwindSafe for Messages",1,["ping_rs::Messages"]]], "proc_macro2":[["impl UnwindSafe for DelimSpan",1,["proc_macro2::extra::DelimSpan"]],["impl UnwindSafe for IntoIter",1,["proc_macro2::token_stream::IntoIter"]],["impl UnwindSafe for TokenStream",1,["proc_macro2::TokenStream"]],["impl UnwindSafe for LexError",1,["proc_macro2::LexError"]],["impl UnwindSafe for Span",1,["proc_macro2::Span"]],["impl UnwindSafe for TokenTree",1,["proc_macro2::TokenTree"]],["impl UnwindSafe for Group",1,["proc_macro2::Group"]],["impl UnwindSafe for Delimiter",1,["proc_macro2::Delimiter"]],["impl UnwindSafe for Punct",1,["proc_macro2::Punct"]],["impl UnwindSafe for Spacing",1,["proc_macro2::Spacing"]],["impl UnwindSafe for Ident",1,["proc_macro2::Ident"]],["impl UnwindSafe for Literal",1,["proc_macro2::Literal"]]], "scopeguard":[["impl UnwindSafe for Always",1,["scopeguard::Always"]],["impl UnwindSafe for OnUnwind",1,["scopeguard::OnUnwind"]],["impl UnwindSafe for OnSuccess",1,["scopeguard::OnSuccess"]],["impl<T, F, S> UnwindSafe for ScopeGuard<T, F, S>
where\n F: UnwindSafe,\n T: UnwindSafe,
",1,["scopeguard::ScopeGuard"]]], "signal_hook_registry":[["impl UnwindSafe for SigId",1,["signal_hook_registry::SigId"]]],