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

Variants§

§

State(StateStruct)

§

SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)

§

SetTemperatureTimeout(SetTemperatureTimeoutStruct)

§

CellTimeout(CellTimeoutStruct)

§

Reboot(RebootStruct)

§

Events(EventsStruct)

§

TemperatureMax(TemperatureMaxStruct)

§

SetStreamRate(SetStreamRateStruct)

§

SetCurrentTimeout(SetCurrentTimeoutStruct)

§

SetLpfSetting(SetLpfSettingStruct)

§

SetCurrentMax(SetCurrentMaxStruct)

§

CurrentTimeout(CurrentTimeoutStruct)

§

SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)

§

ResetDefaults(ResetDefaultsStruct)

§

CurrentMax(CurrentMaxStruct)

§

CellVoltageMin(CellVoltageMinStruct)

§

SetTemperatureMax(SetTemperatureMaxStruct)

§

SetCellVoltageMinimum(SetCellVoltageMinimumStruct)

§

TemperatureTimeout(TemperatureTimeoutStruct)

§

EraseFlash(EraseFlashStruct)

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 + CurrentMax(CurrentMaxStruct), + SetCurrentTimeout(SetCurrentTimeoutStruct), + ResetDefaults(ResetDefaultsStruct), + SetStreamRate(SetStreamRateStruct), + CellTimeout(CellTimeoutStruct), + Events(EventsStruct), +
}

Variants§

§

SetTemperatureTimeout(SetTemperatureTimeoutStruct)

§

CurrentTimeout(CurrentTimeoutStruct)

§

SetCellVoltageMinimum(SetCellVoltageMinimumStruct)

§

SetCurrentMax(SetCurrentMaxStruct)

§

SetCellVoltageTimeout(SetCellVoltageTimeoutStruct)

§

State(StateStruct)

§

SetLpfSampleFrequency(SetLpfSampleFrequencyStruct)

§

TemperatureTimeout(TemperatureTimeoutStruct)

§

CellVoltageMin(CellVoltageMinStruct)

§

SetTemperatureMax(SetTemperatureMaxStruct)

§

Reboot(RebootStruct)

§

SetLpfSetting(SetLpfSettingStruct)

§

TemperatureMax(TemperatureMaxStruct)

§

EraseFlash(EraseFlashStruct)

§

CurrentMax(CurrentMaxStruct)

§

SetCurrentTimeout(SetCurrentTimeoutStruct)

§

ResetDefaults(ResetDefaultsStruct)

§

SetStreamRate(SetStreamRateStruct)

§

CellTimeout(CellTimeoutStruct)

§

Events(EventsStruct)

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.CellTimeoutStruct.html b/ping_rs/bluebps/struct.CellTimeoutStruct.html index 6e8d6f034..613963268 100644 --- a/ping_rs/bluebps/struct.CellTimeoutStruct.html +++ b/ping_rs/bluebps/struct.CellTimeoutStruct.html @@ -1,11 +1,11 @@ CellTimeoutStruct in ping_rs::bluebps - Rust -
pub struct CellTimeoutStruct {
+    
pub struct CellTimeoutStruct {
     pub timeout: u16,
 }
Expand description

Get the undervoltage 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 CellTimeoutStruct

source§

fn clone(&self) -> CellTimeoutStruct

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 CellTimeoutStruct

source§

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

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

impl Default for CellTimeoutStruct

source§

fn default() -> CellTimeoutStruct

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

impl DeserializePayload for CellTimeoutStruct

source§

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

source§

impl PartialEq for CellTimeoutStruct

source§

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

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

Trait Implementations§

source§

impl Clone for CellTimeoutStruct

source§

fn clone(&self) -> CellTimeoutStruct

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 CellTimeoutStruct

source§

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

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

impl Default for CellTimeoutStruct

source§

fn default() -> CellTimeoutStruct

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

impl DeserializePayload for CellTimeoutStruct

source§

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

source§

impl PartialEq for CellTimeoutStruct

source§

fn eq(&self, other: &CellTimeoutStruct) -> 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 CellTimeoutStruct

source§

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

source§

impl StructuralPartialEq for CellTimeoutStruct

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 CellTimeoutStruct

source§

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

source§

impl StructuralPartialEq for CellTimeoutStruct

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.CellVoltageMinStruct.html b/ping_rs/bluebps/struct.CellVoltageMinStruct.html index 7ccc1fc5a..e920b7832 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 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 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.CurrentMaxStruct.html b/ping_rs/bluebps/struct.CurrentMaxStruct.html index 0270ae581..cf5115550 100644 --- a/ping_rs/bluebps/struct.CurrentMaxStruct.html +++ b/ping_rs/bluebps/struct.CurrentMaxStruct.html @@ -1,11 +1,11 @@ CurrentMaxStruct in ping_rs::bluebps - Rust -
pub struct CurrentMaxStruct {
+    
pub struct CurrentMaxStruct {
     pub limit: u16,
 }
Expand description

get the maximum allowed battery current

Fields§

§limit: u16

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

-

Trait Implementations§

source§

impl Clone for CurrentMaxStruct

source§

fn clone(&self) -> CurrentMaxStruct

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 CurrentMaxStruct

source§

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

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

impl Default for CurrentMaxStruct

source§

fn default() -> CurrentMaxStruct

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

impl DeserializePayload for CurrentMaxStruct

source§

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

source§

impl PartialEq for CurrentMaxStruct

source§

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

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

Trait Implementations§

source§

impl Clone for CurrentMaxStruct

source§

fn clone(&self) -> CurrentMaxStruct

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 CurrentMaxStruct

source§

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

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

impl Default for CurrentMaxStruct

source§

fn default() -> CurrentMaxStruct

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

impl DeserializePayload for CurrentMaxStruct

source§

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

source§

impl PartialEq for CurrentMaxStruct

source§

fn eq(&self, other: &CurrentMaxStruct) -> 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 CurrentMaxStruct

source§

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

source§

impl StructuralPartialEq for CurrentMaxStruct

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 CurrentMaxStruct

source§

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

source§

impl StructuralPartialEq for CurrentMaxStruct

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 85246c65d..942d7d4d7 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 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 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 d07ef2de9..f484e55c5 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 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 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 22e57f1d4..4b6aee866 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 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 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 14891b690..89f58f6e5 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 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 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 04e5659b7..37a0a1ad8 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 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 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 9466c48bd..cea1fed56 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 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 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 3b63acfb1..92d7b2f23 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 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 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 2c96b9cea..0ad9d99ea 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 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 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 bd510887c..d3f7db437 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 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 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 8b86fa029..3c45535a9 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 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 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 fd160e1fe..a4ddfc762 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 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 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 f048c321f..20a9e2489 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 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 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 0ad62b04c..8d8eb7ea4 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 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 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 a8219ddfd..6544b9323 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 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 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 8ed402089..e9a54a754 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 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 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 d4f2151ff..3d70a9af2 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 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 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 1c0b11fcb..d35295320 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 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 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 88c5b42d9..e1afdb474 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),
+    ProtocolVersion(ProtocolVersionStruct),
+    AsciiText(AsciiTextStruct),
     Nack(NackStruct),
+    GeneralRequest(GeneralRequestStruct),
     SetDeviceId(SetDeviceIdStruct),
-    ProtocolVersion(ProtocolVersionStruct),
     DeviceInformation(DeviceInformationStruct),
-    GeneralRequest(GeneralRequestStruct),
-    AsciiText(AsciiTextStruct),
-    Ack(AckStruct),
-}

Variants§

§

Nack(NackStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

ProtocolVersion(ProtocolVersionStruct)

§

DeviceInformation(DeviceInformationStruct)

§

GeneralRequest(GeneralRequestStruct)

§

AsciiText(AsciiTextStruct)

§

Ack(AckStruct)

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 +}

Variants§

§

Ack(AckStruct)

§

ProtocolVersion(ProtocolVersionStruct)

§

AsciiText(AsciiTextStruct)

§

Nack(NackStruct)

§

GeneralRequest(GeneralRequestStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

DeviceInformation(DeviceInformationStruct)

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 f1724029b..486dcc9f4 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 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 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 9eb4ba196..d48f4f569 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 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 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.DeviceInformationStruct.html b/ping_rs/common/struct.DeviceInformationStruct.html index 430628e75..9b76e8185 100644 --- a/ping_rs/common/struct.DeviceInformationStruct.html +++ b/ping_rs/common/struct.DeviceInformationStruct.html @@ -1,5 +1,5 @@ DeviceInformationStruct in ping_rs::common - Rust -
pub struct DeviceInformationStruct {
+    
pub struct DeviceInformationStruct {
     pub device_type: u8,
     pub device_revision: u8,
     pub firmware_version_major: u8,
@@ -13,9 +13,9 @@
 
§firmware_version_minor: u8

Firmware version minor number.

§firmware_version_patch: u8

Firmware version patch number.

§reserved: u8

reserved

-

Trait Implementations§

source§

impl Clone for DeviceInformationStruct

source§

fn clone(&self) -> DeviceInformationStruct

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 DeviceInformationStruct

source§

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

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

impl Default for DeviceInformationStruct

source§

fn default() -> DeviceInformationStruct

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

impl DeserializePayload for DeviceInformationStruct

source§

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

source§

impl PartialEq for DeviceInformationStruct

source§

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

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

Trait Implementations§

source§

impl Clone for DeviceInformationStruct

source§

fn clone(&self) -> DeviceInformationStruct

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 DeviceInformationStruct

source§

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

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

impl Default for DeviceInformationStruct

source§

fn default() -> DeviceInformationStruct

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

impl DeserializePayload for DeviceInformationStruct

source§

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

source§

impl PartialEq for DeviceInformationStruct

source§

fn eq(&self, other: &DeviceInformationStruct) -> 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 DeviceInformationStruct

source§

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

source§

impl StructuralPartialEq for DeviceInformationStruct

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 DeviceInformationStruct

source§

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

source§

impl StructuralPartialEq for DeviceInformationStruct

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 4396e4564..f45c4eb6e 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 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 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 fbf90dcfc..495151d25 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 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 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 06e7fcb04..93e6b1bee 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 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 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 cbc783936..d87b187ae 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 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 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/decoder/enum.ParseError.html b/ping_rs/decoder/enum.ParseError.html index fe330538e..7fc9d5a46 100644 --- a/ping_rs/decoder/enum.ParseError.html +++ b/ping_rs/decoder/enum.ParseError.html @@ -2,8 +2,8 @@
pub enum ParseError {
     InvalidStartByte,
     IncompleteData,
-    ChecksumError,
-}

Variants§

§

InvalidStartByte

§

IncompleteData

§

ChecksumError

Trait Implementations§

source§

impl Debug for ParseError

source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where + ChecksumError(ProtocolMessage), +}

Variants§

§

InvalidStartByte

§

IncompleteData

§

ChecksumError(ProtocolMessage)

Trait Implementations§

source§

impl Debug for ParseError

source§

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

Formats the value using the given formatter. Read more

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/decoder/index.html b/ping_rs/decoder/index.html index a8ec07500..f513585d7 100644 --- a/ping_rs/decoder/index.html +++ b/ping_rs/decoder/index.html @@ -1,2 +1,2 @@ ping_rs::decoder - Rust -
\ No newline at end of file +
\ No newline at end of file diff --git a/ping_rs/decoder/struct.Decoder.html b/ping_rs/decoder/struct.Decoder.html index e1da55206..afddd792d 100644 --- a/ping_rs/decoder/struct.Decoder.html +++ b/ping_rs/decoder/struct.Decoder.html @@ -2,7 +2,7 @@

Struct ping_rs::decoder::Decoder

source ·
pub struct Decoder {
     pub state: DecoderState,
     /* private fields */
-}

Fields§

§state: DecoderState

Implementations§

source§

impl Decoder

source

pub fn new() -> Self

source

pub fn parse_byte(&mut self, byte: u8) -> DecoderResult

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where +}

Fields§

§state: DecoderState

Implementations§

source§

impl Decoder

source

pub fn new() -> Self

source

pub fn parse_byte(&mut self, byte: u8) -> DecoderResult

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 88fd2d411..4e7c8159d 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.SerializePayload.html b/ping_rs/message/trait.SerializePayload.html index abc5f6f33..39af7461e 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 ade648033..3ec28fa5c 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 ProcessorTemperature(ProcessorTemperatureStruct), - ContinuousStop(ContinuousStopStruct), - GainSetting(GainSettingStruct), + SetPingEnable(SetPingEnableStruct), + FirmwareVersion(FirmwareVersionStruct), + GotoBootloader(GotoBootloaderStruct), GeneralInfo(GeneralInfoStruct), - Profile(ProfileStruct), + ModeAuto(ModeAutoStruct), + DeviceId(DeviceIdStruct), + SetSpeedOfSound(SetSpeedOfSoundStruct), + DistanceSimple(DistanceSimpleStruct), + ContinuousStop(ContinuousStopStruct), + SetDeviceId(SetDeviceIdStruct), PcbTemperature(PcbTemperatureStruct), + Profile(ProfileStruct), + PingEnable(PingEnableStruct), + SetRange(SetRangeStruct), Range(RangeStruct), Voltage5(Voltage5Struct), - ModeAuto(ModeAutoStruct), - SetRange(SetRangeStruct), - GotoBootloader(GotoBootloaderStruct), - PingInterval(PingIntervalStruct), SetGainSetting(SetGainSettingStruct), - FirmwareVersion(FirmwareVersionStruct), SetPingInterval(SetPingIntervalStruct), - SpeedOfSound(SpeedOfSoundStruct), - SetPingEnable(SetPingEnableStruct), - DistanceSimple(DistanceSimpleStruct), - DeviceId(DeviceIdStruct), - ContinuousStart(ContinuousStartStruct), - SetSpeedOfSound(SetSpeedOfSoundStruct), - Distance(DistanceStruct), - SetDeviceId(SetDeviceIdStruct), SetModeAuto(SetModeAutoStruct), + ContinuousStart(ContinuousStartStruct), + GainSetting(GainSettingStruct), + PingInterval(PingIntervalStruct), + SpeedOfSound(SpeedOfSoundStruct), TransmitDuration(TransmitDurationStruct), - PingEnable(PingEnableStruct), -
}

Variants§

§

ProcessorTemperature(ProcessorTemperatureStruct)

§

ContinuousStop(ContinuousStopStruct)

§

GainSetting(GainSettingStruct)

§

GeneralInfo(GeneralInfoStruct)

§

Profile(ProfileStruct)

§

PcbTemperature(PcbTemperatureStruct)

§

Range(RangeStruct)

§

Voltage5(Voltage5Struct)

§

ModeAuto(ModeAutoStruct)

§

SetRange(SetRangeStruct)

§

GotoBootloader(GotoBootloaderStruct)

§

PingInterval(PingIntervalStruct)

§

SetGainSetting(SetGainSettingStruct)

§

FirmwareVersion(FirmwareVersionStruct)

§

SetPingInterval(SetPingIntervalStruct)

§

SpeedOfSound(SpeedOfSoundStruct)

§

SetPingEnable(SetPingEnableStruct)

§

DistanceSimple(DistanceSimpleStruct)

§

DeviceId(DeviceIdStruct)

§

ContinuousStart(ContinuousStartStruct)

§

SetSpeedOfSound(SetSpeedOfSoundStruct)

§

Distance(DistanceStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

SetModeAuto(SetModeAutoStruct)

§

TransmitDuration(TransmitDurationStruct)

§

PingEnable(PingEnableStruct)

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§

§

ProcessorTemperature(ProcessorTemperatureStruct)

§

SetPingEnable(SetPingEnableStruct)

§

FirmwareVersion(FirmwareVersionStruct)

§

GotoBootloader(GotoBootloaderStruct)

§

GeneralInfo(GeneralInfoStruct)

§

ModeAuto(ModeAutoStruct)

§

DeviceId(DeviceIdStruct)

§

SetSpeedOfSound(SetSpeedOfSoundStruct)

§

DistanceSimple(DistanceSimpleStruct)

§

ContinuousStop(ContinuousStopStruct)

§

SetDeviceId(SetDeviceIdStruct)

§

PcbTemperature(PcbTemperatureStruct)

§

Profile(ProfileStruct)

§

PingEnable(PingEnableStruct)

§

SetRange(SetRangeStruct)

§

Range(RangeStruct)

§

Voltage5(Voltage5Struct)

§

SetGainSetting(SetGainSettingStruct)

§

SetPingInterval(SetPingIntervalStruct)

§

SetModeAuto(SetModeAutoStruct)

§

ContinuousStart(ContinuousStartStruct)

§

GainSetting(GainSettingStruct)

§

PingInterval(PingIntervalStruct)

§

SpeedOfSound(SpeedOfSoundStruct)

§

TransmitDuration(TransmitDurationStruct)

§

Distance(DistanceStruct)

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 99b5a2da0..8e5a89669 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 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 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 fa5eb8420..fb1b777ac 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 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 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 caef9bffb..068222d93 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 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 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 8d484d8c8..58996bcc5 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 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 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 ac2922605..25c98e44f 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 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 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 a626b3ca7..d5770aa2e 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 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 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 2c19351ab..542915575 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 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 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 a97a0623a..cd9e192ae 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 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 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 c9a5f2da5..dd075fab5 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 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 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 53af1d06a..156537eab 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 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 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 f76d3b774..bfbd3aef1 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 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 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 b7b15b698..5398b25cb 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 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 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 b7b4de4c2..40fc479b6 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 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 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.ProfileStruct.html b/ping_rs/ping1d/struct.ProfileStruct.html index ef330a3a5..d447a74e2 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 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 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 8afcce994..5ef0870cb 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 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 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 8764c9e16..fa90a3bf4 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 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 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 26e804c53..80a445d38 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 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 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 8435e2dc0..685fe144d 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 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 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 bb75d0e26..44ac8cd6d 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 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 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 67c960641..f382c7024 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 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 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 c099f63a1..67394443f 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 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 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 9e785fb89..739fd65ab 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 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 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 be0007f09..92d221d03 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 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 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 97e79b233..da6a823c6 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 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 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 a9b64c1e8..b030fe895 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 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 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 f5eec49fe..52956cd96 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 {
-    AutoDeviceData(AutoDeviceDataStruct),
     DeviceId(DeviceIdStruct),
+    AutoDeviceData(AutoDeviceDataStruct),
+    DeviceData(DeviceDataStruct),
     Reset(ResetStruct),
     MotorOff(MotorOffStruct),
-    DeviceData(DeviceDataStruct),
-    Transducer(TransducerStruct),
     AutoTransmit(AutoTransmitStruct),
-}

Variants§

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 + Transducer(TransducerStruct), +}

Variants§

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 068d12b6f..91478bfad 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 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 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 ee2ada452..2726d81a5 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 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 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 1bf42656e..e4464f21c 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 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 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 ed097b222..f67314548 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 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 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 67b404fcc..4970f1c7a 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 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 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 78155d904..061951fff 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 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 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 fc8c2dd8a..438c873ba 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 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 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 2b0fee771..e6fbfc91d 100644 --- a/search-index.js +++ b/search-index.js @@ -1,6 +1,6 @@ var searchIndex = new Map(JSON.parse('[\ ["bytes",{"doc":"Provides abstractions for working with bytes.","t":"EEFFNNNNNNNNNNNNNCNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNKKFFFFFFFMNNMNNNNNNNNNNNNNNNNNNNNNNMNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNMNNMNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Buf","BufMut","Bytes","BytesMut","advance","advance","advance_mut","as_mut","as_ref","as_ref","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","buf","capacity","chunk","chunk","chunk_mut","clear","clear","clone","clone","clone_into","clone_into","cmp","cmp","copy_from_slice","copy_to_bytes","copy_to_bytes","default","default","deref","deref","deref_mut","drop","drop","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","eq","extend","extend","extend","extend_from_slice","fmt","fmt","fmt","fmt","fmt","fmt","freeze","from","from","from","from","from","from","from","from","from","from","from_iter","from_iter","from_iter","from_static","hash","hash","into","into","into_iter","into_iter","into_iter","into_iter","is_empty","is_empty","is_unique","len","len","new","new","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","put","put_bytes","put_slice","remaining","remaining","remaining_mut","reserve","resize","set_len","slice","slice_ref","spare_capacity_mut","split","split_off","split_off","split_to","split_to","to_owned","to_owned","truncate","truncate","try_from","try_from","try_into","try_into","type_id","type_id","unsplit","with_capacity","write_fmt","write_str","zeroed","Buf","BufMut","Chain","IntoIter","Limit","Reader","Take","UninitSlice","Writer","advance","advance","advance","advance_mut","advance_mut","advance_mut","as_mut_ptr","as_uninit_slice_mut","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","chain","chain_mut","chain_mut","chunk","chunk","chunk","chunk_mut","chunk_mut","chunk_mut","chunks_vectored","chunks_vectored","chunks_vectored","consume","copy_from_slice","copy_to_bytes","copy_to_bytes","copy_to_bytes","copy_to_bytes","copy_to_slice","copy_to_slice","fill_buf","first_mut","first_ref","flush","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_raw_parts_mut","get_f32","get_f32","get_f32_le","get_f32_le","get_f32_ne","get_f32_ne","get_f64","get_f64","get_f64_le","get_f64_le","get_f64_ne","get_f64_ne","get_i128","get_i128","get_i128_le","get_i128_le","get_i128_ne","get_i128_ne","get_i16","get_i16","get_i16_le","get_i16_le","get_i16_ne","get_i16_ne","get_i32","get_i32","get_i32_le","get_i32_le","get_i32_ne","get_i32_ne","get_i64","get_i64","get_i64_le","get_i64_le","get_i64_ne","get_i64_ne","get_i8","get_i8","get_int","get_int","get_int_le","get_int_le","get_int_ne","get_int_ne","get_mut","get_mut","get_mut","get_mut","get_mut","get_ref","get_ref","get_ref","get_ref","get_ref","get_u128","get_u128","get_u128_le","get_u128_le","get_u128_ne","get_u128_ne","get_u16","get_u16","get_u16_le","get_u16_le","get_u16_ne","get_u16_ne","get_u32","get_u32","get_u32_le","get_u32_le","get_u32_ne","get_u32_ne","get_u64","get_u64","get_u64_le","get_u64_le","get_u64_ne","get_u64_ne","get_u8","get_u8","get_uint","get_uint","get_uint_le","get_uint_le","get_uint_ne","get_uint_ne","has_remaining","has_remaining","has_remaining_mut","has_remaining_mut","index","index","index","index","index","index","index_mut","index_mut","index_mut","index_mut","index_mut","index_mut","into","into","into","into","into","into","into_inner","into_inner","into_inner","into_inner","into_inner","into_inner","into_iter","into_iter","last_mut","last_ref","len","limit","limit","limit","limit","new","new","next","put","put","put_bytes","put_bytes","put_f32","put_f32","put_f32_le","put_f32_le","put_f32_ne","put_f32_ne","put_f64","put_f64","put_f64_le","put_f64_le","put_f64_ne","put_f64_ne","put_i128","put_i128","put_i128_le","put_i128_le","put_i128_ne","put_i128_ne","put_i16","put_i16","put_i16_le","put_i16_le","put_i16_ne","put_i16_ne","put_i32","put_i32","put_i32_le","put_i32_le","put_i32_ne","put_i32_ne","put_i64","put_i64","put_i64_le","put_i64_le","put_i64_ne","put_i64_ne","put_i8","put_i8","put_int","put_int","put_int_le","put_int_le","put_int_ne","put_int_ne","put_slice","put_slice","put_u128","put_u128","put_u128_le","put_u128_le","put_u128_ne","put_u128_ne","put_u16","put_u16","put_u16_le","put_u16_le","put_u16_ne","put_u16_ne","put_u32","put_u32","put_u32_le","put_u32_le","put_u32_ne","put_u32_ne","put_u64","put_u64","put_u64_le","put_u64_le","put_u64_ne","put_u64_ne","put_u8","put_u8","put_uint","put_uint","put_uint_le","put_uint_le","put_uint_ne","put_uint_ne","read","reader","reader","remaining","remaining","remaining","remaining_mut","remaining_mut","remaining_mut","set_limit","set_limit","size_hint","take","take","try_from","try_from","try_from","try_from","try_from","try_from","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","uninit","write","write_byte","writer","writer"],"q":[[0,"bytes"],[138,"bytes::buf"],[456,"core::cmp"],[457,"alloc::vec"],[458,"core::marker"],[459,"alloc::string"],[460,"core::iter::traits::collect"],[461,"core::fmt"],[462,"core::fmt"],[463,"core::hash"],[464,"core::option"],[465,"core::ops::range"],[466,"core::mem::maybe_uninit"],[467,"core::result"],[468,"core::any"],[469,"core::fmt"],[470,"std::io::error"],[471,"core::fmt"]],"d":["","","A cheaply cloneable and sliceable chunk of contiguous …","A unique reference to a contiguous slice of memory.","","","","","","","","","","","","","","Utilities for working with buffers.","Returns the number of bytes the BytesMut can hold without …","","","","Clears the buffer, removing all data.","Clears the buffer, removing all data. Existing capacity is …","","","","","","","Creates Bytes instance from slice, by copying it.","","","","","","","","","","","","","","","","","","","","","","","","","","","Appends given bytes to this BytesMut.","","","","","","","Converts self into an immutable Bytes.","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","","Creates a new Bytes from a static slice.","","","Calls U::from(self).","Calls U::from(self).","","","","","Returns true if the Bytes has a length of 0.","Returns true if the BytesMut has a length of 0.","Returns true if this is the only reference to the data.","Returns the number of bytes contained in this Bytes.","Returns the number of bytes contained in this BytesMut.","Creates a new empty Bytes.","Creates a new BytesMut with default capacity.","","","","","","","","","","","","","","","","","","","Reserves capacity for at least additional more bytes to be …","Resizes the buffer so that len is equal to new_len.","Sets the length of the buffer.","Returns a slice of self for the provided range.","Returns a slice of self that is equivalent to the given …","Returns the remaining spare capacity of the buffer as a …","Removes the bytes from the current view, returning them in …","Splits the bytes into two at the given index.","Splits the bytes into two at the given index.","Splits the bytes into two at the given index.","Splits the buffer into two at the given index.","","","Shortens the buffer, keeping the first len bytes and …","Shortens the buffer, keeping the first len bytes and …","","","","","","","Absorbs a BytesMut that was previously split off.","Creates a new BytesMut with the specified capacity.","","","Creates a new BytesMut, which is initialized with zero.","Read bytes from a buffer.","A trait for values that provide sequential write access to …","A Chain sequences two buffers.","Iterator over the bytes contained by the buffer.","A BufMut adapter which limits the amount of bytes that can …","A Buf adapter which implements io::Read for the inner …","A Buf adapter which limits the bytes read from an …","Uninitialized byte slice.","A BufMut adapter which implements io::Write for the inner …","Advance the internal cursor of the Buf","","","Advance the internal cursor of the BufMut","","","Return a raw pointer to the slice’s buffer.","Return a &mut [MaybeUninit<u8>] to this slice’s buffer.","","","","","","","","","","","","","","","Creates an adaptor which will chain this buffer with …","Creates an adaptor which will chain this buffer with …","Creates an adapter which will chain this buffer with …","Creates an adapter which will chain this buffer with …","Returns a slice starting at the current position and of …","","","Returns a mutable slice starting at the current BufMut …","","","Fills dst with potentially multiple slices starting at self…","Fills dst with potentially multiple slices starting at self…","","","Copies bytes from src into self.","Consumes len bytes inside self and returns new instance of …","Consumes len bytes inside self and returns new instance of …","","","Copies bytes from self into dst.","Copies bytes from self into dst.","","Gets a mutable reference to the first underlying Buf.","Gets a reference to the first underlying Buf.","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a &mut UninitSlice from a pointer and a length.","Gets an IEEE754 single-precision (4 bytes) floating point …","Gets an IEEE754 single-precision (4 bytes) floating point …","Gets an IEEE754 single-precision (4 bytes) floating point …","Gets an IEEE754 single-precision (4 bytes) floating point …","Gets an IEEE754 single-precision (4 bytes) floating point …","Gets an IEEE754 single-precision (4 bytes) floating point …","Gets an IEEE754 double-precision (8 bytes) floating point …","Gets an IEEE754 double-precision (8 bytes) floating point …","Gets an IEEE754 double-precision (8 bytes) floating point …","Gets an IEEE754 double-precision (8 bytes) floating point …","Gets an IEEE754 double-precision (8 bytes) floating point …","Gets an IEEE754 double-precision (8 bytes) floating point …","Gets a signed 128 bit integer from self in big-endian byte …","Gets a signed 128 bit integer from self in big-endian byte …","Gets a signed 128 bit integer from self in little-endian …","Gets a signed 128 bit integer from self in little-endian …","Gets a signed 128 bit integer from self in native-endian …","Gets a signed 128 bit integer from self in native-endian …","Gets a signed 16 bit integer from self in big-endian byte …","Gets a signed 16 bit integer from self in big-endian byte …","Gets a signed 16 bit integer from self in little-endian …","Gets a signed 16 bit integer from self in little-endian …","Gets a signed 16 bit integer from self in native-endian …","Gets a signed 16 bit integer from self in native-endian …","Gets a signed 32 bit integer from self in big-endian byte …","Gets a signed 32 bit integer from self in big-endian byte …","Gets a signed 32 bit integer from self in little-endian …","Gets a signed 32 bit integer from self in little-endian …","Gets a signed 32 bit integer from self in native-endian …","Gets a signed 32 bit integer from self in native-endian …","Gets a signed 64 bit integer from self in big-endian byte …","Gets a signed 64 bit integer from self in big-endian byte …","Gets a signed 64 bit integer from self in little-endian …","Gets a signed 64 bit integer from self in little-endian …","Gets a signed 64 bit integer from self in native-endian …","Gets a signed 64 bit integer from self in native-endian …","Gets a signed 8 bit integer from self.","Gets a signed 8 bit integer from self.","Gets a signed n-byte integer from self in big-endian byte …","Gets a signed n-byte integer from self in big-endian byte …","Gets a signed n-byte integer from self in little-endian …","Gets a signed n-byte integer from self in little-endian …","Gets a signed n-byte integer from self in native-endian …","Gets a signed n-byte integer from self in native-endian …","Gets a mutable reference to the underlying Buf.","Gets a mutable reference to the underlying BufMut.","Gets a mutable reference to the underlying Buf.","Gets a mutable reference to the underlying Buf.","Gets a mutable reference to the underlying BufMut.","Gets a reference to the underlying Buf.","Gets a reference to the underlying BufMut.","Gets a reference to the underlying Buf.","Gets a reference to the underlying Buf.","Gets a reference to the underlying BufMut.","Gets an unsigned 128 bit integer from self in big-endian …","Gets an unsigned 128 bit integer from self in big-endian …","Gets an unsigned 128 bit integer from self in …","Gets an unsigned 128 bit integer from self in …","Gets an unsigned 128 bit integer from self in …","Gets an unsigned 128 bit integer from self in …","Gets an unsigned 16 bit integer from self in big-endian …","Gets an unsigned 16 bit integer from self in big-endian …","Gets an unsigned 16 bit integer from self in little-endian …","Gets an unsigned 16 bit integer from self in little-endian …","Gets an unsigned 16 bit integer from self in native-endian …","Gets an unsigned 16 bit integer from self in native-endian …","Gets an unsigned 32 bit integer from self in the …","Gets an unsigned 32 bit integer from self in the …","Gets an unsigned 32 bit integer from self in the …","Gets an unsigned 32 bit integer from self in the …","Gets an unsigned 32 bit integer from self in native-endian …","Gets an unsigned 32 bit integer from self in native-endian …","Gets an unsigned 64 bit integer from self in big-endian …","Gets an unsigned 64 bit integer from self in big-endian …","Gets an unsigned 64 bit integer from self in little-endian …","Gets an unsigned 64 bit integer from self in little-endian …","Gets an unsigned 64 bit integer from self in native-endian …","Gets an unsigned 64 bit integer from self in native-endian …","Gets an unsigned 8 bit integer from self.","Gets an unsigned 8 bit integer from self.","Gets an unsigned n-byte integer from self in big-endian …","Gets an unsigned n-byte integer from self in big-endian …","Gets an unsigned n-byte integer from self in little-endian …","Gets an unsigned n-byte integer from self in little-endian …","Gets an unsigned n-byte integer from self in native-endian …","Gets an unsigned n-byte integer from self in native-endian …","Returns true if there are any more bytes to consume","Returns true if there are any more bytes to consume","Returns true if there is space in self for more bytes.","Returns true if there is space in self for more bytes.","","","","","","","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Consumes this Chain, returning the underlying values.","Consumes this IntoIter, returning the underlying value.","Consumes this Limit, returning the underlying value.","Consumes this Reader, returning the underlying value.","Consumes this Take, returning the underlying value.","Consumes this Writer, returning the underlying value.","","","Gets a mutable reference to the last underlying Buf.","Gets a reference to the last underlying Buf.","Returns the number of bytes in the slice.","Creates an adaptor which can write at most limit bytes to …","Creates an adaptor which can write at most limit bytes to …","Returns the maximum number of bytes that can be written","Returns the maximum number of bytes that can be read.","Creates a &mut UninitSlice wrapping a slice of initialised …","Creates an iterator over the bytes contained by the buffer.","","Transfer bytes into self from src and advance the cursor …","Transfer bytes into self from src and advance the cursor …","Put cnt bytes val into self.","Put cnt bytes val into self.","Writes an IEEE754 single-precision (4 bytes) floating …","Writes an IEEE754 single-precision (4 bytes) floating …","Writes an IEEE754 single-precision (4 bytes) floating …","Writes an IEEE754 single-precision (4 bytes) floating …","Writes an IEEE754 single-precision (4 bytes) floating …","Writes an IEEE754 single-precision (4 bytes) floating …","Writes an IEEE754 double-precision (8 bytes) floating …","Writes an IEEE754 double-precision (8 bytes) floating …","Writes an IEEE754 double-precision (8 bytes) floating …","Writes an IEEE754 double-precision (8 bytes) floating …","Writes an IEEE754 double-precision (8 bytes) floating …","Writes an IEEE754 double-precision (8 bytes) floating …","Writes a signed 128 bit integer to self in the big-endian …","Writes a signed 128 bit integer to self in the big-endian …","Writes a signed 128 bit integer to self in little-endian …","Writes a signed 128 bit integer to self in little-endian …","Writes a signed 128 bit integer to self in native-endian …","Writes a signed 128 bit integer to self in native-endian …","Writes a signed 16 bit integer to self in big-endian byte …","Writes a signed 16 bit integer to self in big-endian byte …","Writes a signed 16 bit integer to self in little-endian …","Writes a signed 16 bit integer to self in little-endian …","Writes a signed 16 bit integer to self in native-endian …","Writes a signed 16 bit integer to self in native-endian …","Writes a signed 32 bit integer to self in big-endian byte …","Writes a signed 32 bit integer to self in big-endian byte …","Writes a signed 32 bit integer to self in little-endian …","Writes a signed 32 bit integer to self in little-endian …","Writes a signed 32 bit integer to self in native-endian …","Writes a signed 32 bit integer to self in native-endian …","Writes a signed 64 bit integer to self in the big-endian …","Writes a signed 64 bit integer to self in the big-endian …","Writes a signed 64 bit integer to self in little-endian …","Writes a signed 64 bit integer to self in little-endian …","Writes a signed 64 bit integer to self in native-endian …","Writes a signed 64 bit integer to self in native-endian …","Writes a signed 8 bit integer to self.","Writes a signed 8 bit integer to self.","Writes low nbytes of a signed integer to self in …","Writes low nbytes of a signed integer to self in …","Writes low nbytes of a signed integer to self in …","Writes low nbytes of a signed integer to self in …","Writes low nbytes of a signed integer to self in …","Writes low nbytes of a signed integer to self in …","Transfer bytes into self from src and advance the cursor …","Transfer bytes into self from src and advance the cursor …","Writes an unsigned 128 bit integer to self in the …","Writes an unsigned 128 bit integer to self in the …","Writes an unsigned 128 bit integer to self in …","Writes an unsigned 128 bit integer to self in …","Writes an unsigned 128 bit integer to self in …","Writes an unsigned 128 bit integer to self in …","Writes an unsigned 16 bit integer to self in big-endian …","Writes an unsigned 16 bit integer to self in big-endian …","Writes an unsigned 16 bit integer to self in little-endian …","Writes an unsigned 16 bit integer to self in little-endian …","Writes an unsigned 16 bit integer to self in native-endian …","Writes an unsigned 16 bit integer to self in native-endian …","Writes an unsigned 32 bit integer to self in big-endian …","Writes an unsigned 32 bit integer to self in big-endian …","Writes an unsigned 32 bit integer to self in little-endian …","Writes an unsigned 32 bit integer to self in little-endian …","Writes an unsigned 32 bit integer to self in native-endian …","Writes an unsigned 32 bit integer to self in native-endian …","Writes an unsigned 64 bit integer to self in the …","Writes an unsigned 64 bit integer to self in the …","Writes an unsigned 64 bit integer to self in little-endian …","Writes an unsigned 64 bit integer to self in little-endian …","Writes an unsigned 64 bit integer to self in native-endian …","Writes an unsigned 64 bit integer to self in native-endian …","Writes an unsigned 8 bit integer to self.","Writes an unsigned 8 bit integer to self.","Writes an unsigned n-byte integer to self in big-endian …","Writes an unsigned n-byte integer to self in big-endian …","Writes an unsigned n-byte integer to self in the …","Writes an unsigned n-byte integer to self in the …","Writes an unsigned n-byte integer to self in the …","Writes an unsigned n-byte integer to self in the …","","Creates an adaptor which implements the Read trait for self…","Creates an adaptor which implements the Read trait for self…","Returns the number of bytes between the current position …","","","Returns the number of bytes that can be written from the …","","","Sets the maximum number of bytes that can be written.","Sets the maximum number of bytes that can be read.","","Creates an adaptor which will read at most limit bytes …","Creates an adaptor which will read at most limit bytes …","","","","","","","","","","","","","","","","","","","","Creates a &mut UninitSlice wrapping a slice of …","","Write a single byte at the specified offset.","Creates an adaptor which implements the Write trait for …","Creates an adaptor which implements the Write trait for …"],"i":[0,0,0,0,1,4,4,4,1,4,1,1,4,4,1,4,4,0,4,1,4,4,1,4,1,4,1,4,1,4,1,1,4,1,4,1,4,4,1,4,1,1,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4,1,1,1,4,4,4,4,1,1,1,1,1,1,1,4,4,4,1,4,4,1,1,4,1,4,1,1,4,4,1,4,1,1,4,1,4,1,1,1,1,1,1,4,4,4,4,4,4,4,4,4,1,4,4,4,4,4,1,1,4,4,1,4,1,4,1,4,1,4,1,4,1,4,1,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,21,27,28,29,27,30,7,7,7,27,36,30,32,28,34,7,27,36,30,32,28,34,21,21,29,29,21,27,28,29,27,30,21,21,27,32,7,21,21,27,28,21,21,32,27,27,34,7,27,36,30,32,28,34,7,7,27,36,30,32,28,34,7,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,36,30,32,28,34,36,30,32,28,34,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,29,29,7,7,7,7,7,7,7,7,7,7,7,7,27,36,30,32,28,34,27,36,30,32,28,34,27,36,27,27,7,29,29,30,28,7,36,36,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,32,21,21,21,27,28,29,27,30,30,28,36,21,21,27,36,30,32,28,34,27,36,30,32,28,34,7,27,36,30,32,28,34,7,34,7,29,29],"f":"````{{bd}f}{{hd}f}0{h{{l{j}}}}{b{{l{j}}}}10{ce{}{}}20020`{hd}23{hn}{bf}{hf}{bb}{hh}{{ce}f{}{}}0{{bb}A`}{{hh}A`}{{{l{j}}}b}{{bd}b}{{hd}b}{{}b}{{}h}?{h{{l{j}}}}0<;{{b{l{j}}}Ab}{{bh}Ab}{{b{Ad{j}}}Ab}{{bc}AbAf}{{bb}Ab}{{bAh}Ab}{{bAj}Ab}{{hAj}Ab}{{hAh}Ab}{{hh}Ab}{{h{l{j}}}Ab}{{hc}AbAf}{{hb}Ab}{{h{Ad{j}}}Ab}{{hc}f{{An{}{{Al{b}}}}}}{{hc}f{{An{}{{Al{j}}}}}}0{{h{l{j}}}f}{{bB`}Bb}00{{hB`}Bb}00{hb}{{{Bd{{l{j}}}}}b}{{{Ad{j}}}b}{Ahb}3{cc{}}{Ajb}{{{l{j}}}b}2{{{l{j}}}h}{Ahh}{cb{{An{}{{Al{j}}}}}}{ch{{An{}{{Al{j}}}}}}04{{bc}fBf}{{hc}fBf}{ce{}{}}0{bc{}}0{hc{}}0{bAb}{hAb}1{bd}{hd}{{}b}{{}h}{{b{Ad{j}}}{{Bh{A`}}}}{{bb}{{Bh{A`}}}}{{b{l{j}}}{{Bh{A`}}}}{{bAh}{{Bh{A`}}}}{{bAj}{{Bh{A`}}}}{{bc}{{Bh{A`}}}Af}{{hAh}{{Bh{A`}}}}{{hc}{{Bh{A`}}}Af}{{hAj}{{Bh{A`}}}}{{hh}{{Bh{A`}}}}{{h{l{j}}}{{Bh{A`}}}}{{h{Ad{j}}}{{Bh{A`}}}}{{hc}fBj}{{hjd}f}{{h{l{j}}}f}{bd}{hd}0{{hd}f}{{hdj}f}1{{bc}b{{Bl{d}}}}{{b{l{j}}}b}{h{{l{{Bn{j}}}}}}{hh}{{bd}b}{{hd}h}10{ce{}{}}0{{bd}f}9{c{{C`{e}}}{}{}}000{cCb{}}0{{hh}f}{dh}{{hCd}Bb}{{hAh}Bb}2`````````{{Bjd}f}{{{Cf{ce}}d}fBjBj}{{{Ch{c}}d}fBj}{{Cjd}f}{{{Cf{ce}}d}fCjCj}{{{Cl{c}}d}fCj}{nj}{n{{l{{Bn{j}}}}}}??????????????{{Bjc}{{Cf{Bjc}}}Bj}0{{Cjc}{{Cf{Cjc}}}Cj}0{Bj{{l{j}}}}{{{Cf{ce}}}{{l{j}}}BjBj}{{{Ch{c}}}{{l{j}}}Bj}{Cjn}{{{Cf{ce}}}nCjCj}{{{Cl{c}}}nCj}{{Bj{l{Cn}}}d}0{{{Cf{ce}}{l{Cn}}}dBjBj}{{{D`{c}}d}f{BjAf}}{{n{l{j}}}f}{{Bjd}b}0{{{Cf{ce}}d}bBjBj}{{{Ch{c}}d}bBj}{{Bj{l{j}}}f}0{{{D`{c}}}{{Db{{l{j}}}}}{BjAf}}{{{Cf{ce}}}c{}{}}0{{{Dd{c}}}{{Db{f}}}{CjAf}}{{nB`}Bb}{{{Cf{ce}}B`}BbDfDf}{{{Dh{c}}B`}BbDf}{{{Cl{c}}B`}BbDf}{{{D`{c}}B`}BbDf}{{{Ch{c}}B`}BbDf}{{{Dd{c}}B`}BbDf}{{{l{j}}}n}{{{l{{Bn{j}}}}}n}{cc{}}00000{{jd}n}{BjDj}00000{BjDl}00000{BjDn}00000{BjE`}00000{BjEb}00000{BjEd}00000{BjEf}0{{Bjd}Ed}00000{{{Dh{c}}}c{}}{{{Cl{c}}}c{}}{{{D`{c}}}cBj}{{{Ch{c}}}c{}}{{{Dd{c}}}cCj}43210{BjEh}00000{BjEj}00000{BjEl}00000{BjEn}00000{Bjj}0{{Bjd}En}00000{BjAb}0{CjAb}0{{n{F`{d}}}n}{{n{Fb{d}}}n}{{n{Fd{d}}}n}{{n{Ff{d}}}n}{{nFh}n}{{n{Fj{d}}}n}431502{ce{}{}}00000{{{Cf{ce}}}{{Fl{ce}}}{}{}}{{{Dh{c}}}c{}}{{{Cl{c}}}c{}}{{{D`{c}}}cBj}{{{Ch{c}}}c{}}{{{Dd{c}}}cCj}{{{Cf{ce}}}gBjBj{}}7{{{Cf{ce}}}e{}{}}0{nd}{{Cjd}{{Cl{Cj}}}}0{{{Cl{c}}}d{}}{{{Ch{c}}}d{}}{{{l{j}}}n}{c{{Dh{c}}}{}}{{{Dh{c}}}{{Bh{j}}}Bj}{{Cjc}fBj}0{{Cjjd}f}0{{CjDj}f}00000{{CjDl}f}00000{{CjDn}f}00000{{CjE`}f}00000{{CjEb}f}00000{{CjEd}f}00000{{CjEf}f}0{{CjEdd}f}00000{{Cj{l{j}}}f}0{{CjEh}f}00000{{CjEj}f}00000{{CjEl}f}00000{{CjEn}f}00000{{Cjj}f}0{{CjEnd}f}00000{{{D`{c}}{l{j}}}{{Db{d}}}{BjAf}}{Bj{{D`{Bj}}}}0{Bjd}{{{Cf{ce}}}dBjBj}{{{Ch{c}}}dBj}{Cjd}{{{Cf{ce}}}dCjCj}{{{Cl{c}}}dCj}{{{Cl{c}}d}f{}}{{{Ch{c}}d}f{}}{{{Dh{c}}}{{Fl{d{Bh{d}}}}}Bj}{{Bjd}{{Ch{Bj}}}}0{c{{C`{e}}}{}{}}00000000000{cCb{}}000000{{{l{{Bn{j}}}}}n}{{{Dd{c}}{l{j}}}{{Db{d}}}{CjAf}}{{ndj}f}{Cj{{Dd{Cj}}}}0","c":[],"p":[[5,"Bytes",0],[1,"usize"],[1,"unit"],[5,"BytesMut",0],[1,"u8"],[1,"slice"],[5,"UninitSlice",138],[6,"Ordering",456],[1,"bool"],[5,"Vec",457],[10,"Sized",458],[1,"str"],[5,"String",459],[17,"Item"],[10,"IntoIterator",460],[5,"Formatter",461],[8,"Result",461],[5,"Box",462],[10,"Hasher",463],[6,"Option",464],[10,"Buf",138],[10,"RangeBounds",465],[20,"MaybeUninit",466],[6,"Result",467],[5,"TypeId",468],[5,"Arguments",461],[5,"Chain",138],[5,"Take",138],[10,"BufMut",138],[5,"Limit",138],[5,"IoSlice",469],[5,"Reader",138],[8,"Result",470],[5,"Writer",138],[10,"Debug",461],[5,"IntoIter",138],[1,"f32"],[1,"f64"],[1,"i128"],[1,"i16"],[1,"i32"],[1,"i64"],[1,"i8"],[1,"u128"],[1,"u16"],[1,"u32"],[1,"u64"],[5,"RangeFrom",465],[5,"Range",465],[5,"RangeTo",465],[5,"RangeToInclusive",465],[5,"RangeFull",465],[5,"RangeInclusive",465],[1,"tuple"]],"b":[[40,"impl-PartialEq%3C%5Bu8%5D%3E-for-Bytes"],[41,"impl-PartialEq%3CBytesMut%3E-for-Bytes"],[42,"impl-PartialEq%3CVec%3Cu8%3E%3E-for-Bytes"],[43,"impl-PartialEq%3C%26T%3E-for-Bytes"],[44,"impl-PartialEq-for-Bytes"],[45,"impl-PartialEq%3Cstr%3E-for-Bytes"],[46,"impl-PartialEq%3CString%3E-for-Bytes"],[47,"impl-PartialEq%3CString%3E-for-BytesMut"],[48,"impl-PartialEq%3Cstr%3E-for-BytesMut"],[49,"impl-PartialEq-for-BytesMut"],[50,"impl-PartialEq%3C%5Bu8%5D%3E-for-BytesMut"],[51,"impl-PartialEq%3C%26T%3E-for-BytesMut"],[52,"impl-PartialEq%3CBytes%3E-for-BytesMut"],[53,"impl-PartialEq%3CVec%3Cu8%3E%3E-for-BytesMut"],[54,"impl-Extend%3CBytes%3E-for-BytesMut"],[55,"impl-Extend%3Cu8%3E-for-BytesMut"],[56,"impl-Extend%3C%26u8%3E-for-BytesMut"],[58,"impl-LowerHex-for-Bytes"],[59,"impl-Debug-for-Bytes"],[60,"impl-UpperHex-for-Bytes"],[61,"impl-LowerHex-for-BytesMut"],[62,"impl-Debug-for-BytesMut"],[63,"impl-UpperHex-for-BytesMut"],[65,"impl-From%3CBox%3C%5Bu8%5D%3E%3E-for-Bytes"],[66,"impl-From%3CVec%3Cu8%3E%3E-for-Bytes"],[67,"impl-From%3C%26str%3E-for-Bytes"],[68,"impl-From%3CBytesMut%3E-for-Bytes"],[70,"impl-From%3CString%3E-for-Bytes"],[71,"impl-From%3C%26%5Bu8%5D%3E-for-Bytes"],[73,"impl-From%3C%26%5Bu8%5D%3E-for-BytesMut"],[74,"impl-From%3C%26str%3E-for-BytesMut"],[76,"impl-FromIterator%3Cu8%3E-for-BytesMut"],[77,"impl-FromIterator%3C%26u8%3E-for-BytesMut"],[83,"impl-IntoIterator-for-%26Bytes"],[84,"impl-IntoIterator-for-Bytes"],[85,"impl-IntoIterator-for-%26BytesMut"],[86,"impl-IntoIterator-for-BytesMut"],[94,"impl-PartialOrd%3CVec%3Cu8%3E%3E-for-Bytes"],[95,"impl-PartialOrd-for-Bytes"],[96,"impl-PartialOrd%3C%5Bu8%5D%3E-for-Bytes"],[97,"impl-PartialOrd%3Cstr%3E-for-Bytes"],[98,"impl-PartialOrd%3CString%3E-for-Bytes"],[99,"impl-PartialOrd%3C%26T%3E-for-Bytes"],[100,"impl-PartialOrd%3Cstr%3E-for-BytesMut"],[101,"impl-PartialOrd%3C%26T%3E-for-BytesMut"],[102,"impl-PartialOrd%3CString%3E-for-BytesMut"],[103,"impl-PartialOrd-for-BytesMut"],[104,"impl-PartialOrd%3C%5Bu8%5D%3E-for-BytesMut"],[105,"impl-PartialOrd%3CVec%3Cu8%3E%3E-for-BytesMut"],[201,"impl-From%3C%26mut+%5Bu8%5D%3E-for-%26mut+UninitSlice"],[202,"impl-From%3C%26mut+%5BMaybeUninit%3Cu8%3E%5D%3E-for-%26mut+UninitSlice"],[300,"impl-Index%3CRangeFrom%3Cusize%3E%3E-for-UninitSlice"],[301,"impl-Index%3CRange%3Cusize%3E%3E-for-UninitSlice"],[302,"impl-Index%3CRangeTo%3Cusize%3E%3E-for-UninitSlice"],[303,"impl-Index%3CRangeToInclusive%3Cusize%3E%3E-for-UninitSlice"],[304,"impl-Index%3CRangeFull%3E-for-UninitSlice"],[305,"impl-Index%3CRangeInclusive%3Cusize%3E%3E-for-UninitSlice"],[306,"impl-IndexMut%3CRange%3Cusize%3E%3E-for-UninitSlice"],[307,"impl-IndexMut%3CRangeTo%3Cusize%3E%3E-for-UninitSlice"],[308,"impl-IndexMut%3CRangeFull%3E-for-UninitSlice"],[309,"impl-IndexMut%3CRangeFrom%3Cusize%3E%3E-for-UninitSlice"],[310,"impl-IndexMut%3CRangeInclusive%3Cusize%3E%3E-for-UninitSlice"],[311,"impl-IndexMut%3CRangeToInclusive%3Cusize%3E%3E-for-UninitSlice"]]}],\ -["ping_rs",{"doc":"","t":"PPGPPCNNHCCNNCCCNNNNNPFPFPFPFPFPFGFPFPFPFPFPFPFPFPFPFPFPFPFPFPFOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNOOOOOONNNOONNNNNNNNNNNNNNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOPFPFPFPFGPFFPFPFOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOPPPFGGPPPPGPPPPNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNKKSKFKNNNNONNNMMNONNNNNMOMMNNOOMNNNNONNNNNNPFPFPFPPFFPFPFPFPFGPFPFPFPFFPFPFPFPFPFPFPFPFPFPFPFPFPFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOPFPFPFPFGPFFPFPFOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNOOOOOOOOOOOOOOOOONNNNNNNNOOOOONNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Bluebps","Common","Messages","Ping1D","Ping360","bluebps","borrow","borrow_mut","calculate_crc","common","decoder","from","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","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","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","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","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","DeserializeGenericMessage","DeserializePayload","HEADER","PingMessage","ProtocolMessage","SerializePayload","borrow","borrow_mut","calculate_crc","checksum","checksum","clone","clone_into","default","deserialize","deserialize","dst_device_id","dst_device_id","fmt","from","has_valid_crc","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","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","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"],[21,"ping_rs::bluebps"],[421,"ping_rs::common"],[590,"ping_rs::decoder"],[639,"ping_rs::message"],[682,"ping_rs::ping1d"],[1208,"ping_rs::ping360"],[1406,"core::result"],[1407,"alloc::vec"],[1408,"core::any"],[1409,"core::fmt"],[1410,"core::fmt"],[1411,"std::io"],[1412,"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 minimum voltage allowed for any individual cell. …","The maximum allowed battery current 0~20000 = 0~200A","The maximum allowed battery current 0~20000 = 0~200A","The minimum voltage allowed for any individual cell. …","The maximum temperature allowed at the thermistor probe …","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 an individual cell exceeds the configured limit for …","If the battery current exceeds the configured limit for …","If the battery current exceeds the configured limit for …","If the battery temperature exceeds the configured limit …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The number of under-voltage events","","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).","","","","","","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.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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 …","Distance to the target.","The current return distance determined for the most recent …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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 …","0: Disable, 1: Enable.","The state of the acoustic output. 0: disabled, 1:enabled","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 range.","The length of the scan range.","The length of the scan region.","The beginning of the scan region in mm from the transducer.","The beginning of the scan range in mm from the transducer.","Not documented","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 …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","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":[5,5,0,5,5,0,5,5,0,0,0,5,5,0,0,0,5,5,5,5,5,10,0,10,0,10,0,10,0,10,0,10,0,0,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,11,11,11,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,11,11,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,11,16,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,11,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,15,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,17,21,25,26,27,28,10,10,10,18,23,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,20,9,16,12,13,14,19,22,29,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,16,38,0,38,0,38,0,38,0,0,38,0,0,38,0,38,0,45,44,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,39,40,41,42,43,44,45,38,39,40,41,42,43,44,45,37,40,42,42,37,38,39,40,41,42,43,44,45,42,42,42,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,38,38,38,39,39,43,41,42,38,39,40,41,42,43,44,45,37,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,41,41,41,48,48,46,0,0,0,47,47,46,46,0,48,48,48,47,49,46,47,48,49,46,47,48,46,47,48,49,46,47,48,49,46,47,48,49,49,49,49,46,47,48,49,46,47,48,49,46,47,48,0,0,0,0,0,0,4,4,4,4,4,4,4,4,50,51,4,4,4,4,4,4,4,53,4,53,53,4,4,4,4,54,4,4,4,4,4,4,4,4,4,4,4,58,0,58,0,58,0,58,58,0,0,58,0,58,0,58,0,58,0,0,58,0,58,0,58,0,58,0,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,63,76,80,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,77,81,72,72,63,76,80,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,62,72,62,72,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,61,62,63,71,80,60,78,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,58,58,58,62,67,82,64,75,84,62,70,73,63,80,59,63,63,63,65,68,80,63,65,68,80,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,74,79,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,63,80,83,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,62,66,86,0,86,0,86,0,86,0,0,86,0,0,86,0,86,0,87,91,92,89,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,87,91,87,91,85,87,88,89,90,91,92,93,87,93,86,87,88,89,90,91,92,93,85,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,87,91,92,93,88,85,86,87,88,89,90,91,92,93,86,86,86,87,91,92,93,87,93,87,91,92,93,88,89,92,87,91,92,93,86,87,88,89,90,91,92,93,85,87,93,87,93,85,86,87,88,89,90,91,92,93,92,87,91,92,93,87,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93],"f":"``````{ce{}{}}0{{{d{b}}}f}``{cc{}}2```{h{{l{jc}}}{}}{c{{l{e}}}{}{}}{{{n{b}}}{{l{jc}}}{}}1{cA`{}}`````````````````````````````````````````````66666666666666666666666666666666666666666666``{AbAb}{AdAd}{AfAf}{AhAh}{AjAj}{AlAl}{AnAn}{B`B`}{BbBb}{BdBd}{BfBf}{BhBh}{BjBj}{BlBl}{BnBn}{C`C`}{CbCb}{CdCd}{CfCf}{ChCh}{CjCj}{ClCl}{{ce}Cn{}{}}000000000000000000000``{{}Ab}{{}Af}{{}Ah}{{}Aj}{{}Al}{{}An}{{}B`}{{}Bb}{{}Bd}{{}Bf}{{}Bh}{{}Bj}{{}Bl}{{}Bn}{{}C`}{{}Cb}{{}Cd}{{}Cf}{{}Ch}{{}Cj}{{}Cl}{{f{d{b}}}{{l{AdD`}}}}{{{d{b}}}Af}{{{d{b}}}Ah}{{{d{b}}}Aj}{{{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}`{{AbAb}Db}{{AdAd}Db}{{AfAf}Db}{{AhAh}Db}{{AjAj}Db}{{AlAl}Db}{{AnAn}Db}{{B`B`}Db}{{BbBb}Db}{{BdBd}Db}{{BfBf}Db}{{BhBh}Db}{{BjBj}Db}{{BlBl}Db}{{BnBn}Db}{{C`C`}Db}{{CbCb}Db}{{CdCd}Db}{{CfCf}Db}{{ChCh}Db}{{CjCj}Db}{{ClCl}Db}`{{AbDd}Df}{{AdDd}Df}{{AfDd}Df}{{AhDd}Df}{{AjDd}Df}{{AlDd}Df}{{AnDd}Df}{{B`Dd}Df}{{BbDd}Df}{{BdDd}Df}{{BfDd}Df}{{BhDd}Df}{{BjDd}Df}{{BlDd}Df}{{BnDd}Df}{{C`Dd}Df}{{CbDd}Df}{{CdDd}Df}{{CfDd}Df}{{ChDd}Df}{{CjDd}Df}{{ClDd}Df}{cc{}}000000000000000000000`{ce{}{}}000000000000000000000``````{Adf}{D`{{l{fDh}}}}{AdD`}``{Ad{{n{b}}}}{Af{{n{b}}}}{Ah{{n{b}}}}{Aj{{n{b}}}}{Al{{n{b}}}}{An{{n{b}}}}{B`{{n{b}}}}{Bb{{n{b}}}}{Bd{{n{b}}}}{Bf{{n{b}}}}{Bh{{n{b}}}}{Bj{{n{b}}}}{Bl{{n{b}}}}{Bn{{n{b}}}}{C`{{n{b}}}}{Cb{{n{b}}}}{Cd{{n{b}}}}{Cf{{n{b}}}}{Ch{{n{b}}}}{Cj{{n{b}}}}{Cl{{n{b}}}}`````````{ce{}{}}000000000000000000000{c{{l{e}}}{}{}}0000000000000000000000000000000000000000000{cA`{}}000000000000000000000```````````````````222222222222222222{DjDj}{DlDl}{DnDn}{E`E`}{EbEb}{EdEd}{EfEf}{EhEh}{EjEj}{{ce}Cn{}{}}00000000{{}Dj}{{}Dn}{{}E`}{{}Eb}{{}Ed}{{}Ef}{{}Eh}{{}Ej}{{f{d{b}}}{{l{DlD`}}}}{{{d{b}}}Dn}{{{d{b}}}E`}{{{d{b}}}Eb}{{{d{b}}}Ed}{{{d{b}}}Ef}{{{d{b}}}Eh}{{{d{b}}}Ej}````{{DjDj}Db}{{DlDl}Db}{{DnDn}Db}{{E`E`}Db}{{EbEb}Db}{{EdEd}Db}{{EfEf}Db}{{EhEh}Db}{{EjEj}Db}```{{DjDd}Df}{{DlDd}Df}{{DnDd}Df}{{E`Dd}Df}{{EbDd}Df}{{EdDd}Df}{{EfDd}Df}{{EhDd}Df}{{EjDd}Df}{cc{}}00000000{ce{}{}}00000000{Dlf}{D`{{l{fDh}}}}{DlD`}`````{Dl{{n{b}}}}{Dn{{n{b}}}}{E`{{n{b}}}}{Eb{{n{b}}}}{Ed{{n{b}}}}{Ef{{n{b}}}}{Eh{{n{b}}}}{Ej{{n{b}}}}`;;;;;;;;;{c{{l{e}}}{}{}}00000000000000000{cA`{}}00000000``````````````````========{{ElDd}Df}{{EnDd}Df}{{F`Dd}Df}{cc{}}000{ce{}{}}000{{}Fb}{{Fbb}En}`888888887777``````22{hf}0`{hh}{{ce}Cn{}{}}{{}h}{{{d{b}}}Fd}{{f{d{b}}}{{l{FfD`}}}}{hb}`{{hDd}Df};{hDb};{hFh}{Fjf}`{D`{{l{fDh}}}}{FjD`}9{h{{d{b}}}}``{Fl{{n{b}}}}{h{{n{b}}}}{{hb}Cn}{{hc}CnFj}1`{ce{}{}}{c{{l{e}}}{}{}}0{cA`{}}{hCn}{{hFn}{{G`{Fh}}}}``````````````````````````````````````````````````````44444444444444444444444444444444444444444444444444444444{GbGb}{GdGd}{GfGf}{GhGh}{GjGj}{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}{{ce}Cn{}{}}000000000000000000000000000```{{}Gb}{{}Gf}{{}Gh}{{}Gj}{{}Gl}{{}Gn}{{}H`}{{}Hb}{{}Hd}{{}Hf}{{}Hh}{{}Hj}{{}Hl}{{}Hn}{{}I`}{{}Ib}{{}Id}{{}If}{{}Ih}{{}Ij}{{}Il}{{}In}{{}J`}{{}Jb}{{}Jd}{{}Jf}{{}Jh}{{f{d{b}}}{{l{GdD`}}}}{{{d{b}}}Gf}{{{d{b}}}Gh}{{{d{b}}}Gj}{{{d{b}}}Gl}{{{d{b}}}Gn}{{{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}````````{{GbGb}Db}{{GdGd}Db}{{GfGf}Db}{{GhGh}Db}{{GjGj}Db}{{GlGl}Db}{{GnGn}Db}{{H`H`}Db}{{HbHb}Db}{{HdHd}Db}{{HfHf}Db}{{HhHh}Db}{{HjHj}Db}{{HlHl}Db}{{HnHn}Db}{{I`I`}Db}{{IbIb}Db}{{IdId}Db}{{IfIf}Db}{{IhIh}Db}{{IjIj}Db}{{IlIl}Db}{{InIn}Db}{{J`J`}Db}{{JbJb}Db}{{JdJd}Db}{{JfJf}Db}{{JhJh}Db}````{{GbDd}Df}{{GdDd}Df}{{GfDd}Df}{{GhDd}Df}{{GjDd}Df}{{GlDd}Df}{{GnDd}Df}{{H`Dd}Df}{{HbDd}Df}{{HdDd}Df}{{HfDd}Df}{{HhDd}Df}{{HjDd}Df}{{HlDd}Df}{{HnDd}Df}{{I`Dd}Df}{{IbDd}Df}{{IdDd}Df}{{IfDd}Df}{{IhDd}Df}{{IjDd}Df}{{IlDd}Df}{{InDd}Df}{{J`Dd}Df}{{JbDd}Df}{{JdDd}Df}{{JfDd}Df}{{JhDd}Df}{cc{}}000000000000000000000000000```````{ce{}{}}000000000000000000000000000{Gdf}{D`{{l{fDh}}}}{GdD`}``````````````````````{Gd{{n{b}}}}{Gf{{n{b}}}}{Gh{{n{b}}}}{Gj{{n{b}}}}{Gl{{n{b}}}}{Gn{{n{b}}}}{H`{{n{b}}}}{Hb{{n{b}}}}{Hd{{n{b}}}}{Hf{{n{b}}}}{Hh{{n{b}}}}{Hj{{n{b}}}}{Hl{{n{b}}}}{Hn{{n{b}}}}{I`{{n{b}}}}{Ib{{n{b}}}}{Id{{n{b}}}}{If{{n{b}}}}{Ih{{n{b}}}}{Ij{{n{b}}}}{Il{{n{b}}}}{In{{n{b}}}}{J`{{n{b}}}}{Jb{{n{b}}}}{Jd{{n{b}}}}{Jf{{n{b}}}}{Jh{{n{b}}}}```{ce{}{}}000000000000000000000000000```{c{{l{e}}}{}{}}0000000000000000000000000000000000000000000000000000000{cA`{}}000000000000000000000000000``````````````````````222222222222222222{JjJj}{JlJl}{JnJn}{K`K`}{KbKb}{KdKd}{KfKf}{KhKh}{KjKj}{{ce}Cn{}{}}00000000````{{}Jj}{{}Jn}{{}K`}{{}Kb}{{}Kd}{{}Kf}{{}Kh}{{}Kj}``{{f{d{b}}}{{l{JlD`}}}}{{{d{b}}}Jn}{{{d{b}}}K`}{{{d{b}}}Kb}{{{d{b}}}Kd}{{{d{b}}}Kf}{{{d{b}}}Kh}{{{d{b}}}Kj}`{{JjJj}Db}{{JlJl}Db}{{JnJn}Db}{{K`K`}Db}{{KbKb}Db}{{KdKd}Db}{{KfKf}Db}{{KhKh}Db}{{KjKj}Db}{{JjDd}Df}{{JlDd}Df}{{JnDd}Df}{{K`Dd}Df}{{KbDd}Df}{{KdDd}Df}{{KfDd}Df}{{KhDd}Df}{{KjDd}Df}{cc{}}00000000`````{ce{}{}}00000000{Jlf}{D`{{l{fDh}}}}{JlD`}`````````````````{Jl{{n{b}}}}{Jn{{n{b}}}}{K`{{n{b}}}}{Kb{{n{b}}}}{Kd{{n{b}}}}{Kf{{n{b}}}}{Kh{{n{b}}}}{Kj{{n{b}}}}`````;;;;;;;;;`````````{c{{l{e}}}{}{}}00000000000000000{cA`{}}00000000","c":[],"p":[[1,"u8"],[1,"slice"],[1,"u16"],[5,"ProtocolMessage",639],[6,"Messages",0],[6,"Result",1406],[5,"Vec",1407],[5,"TypeId",1408],[5,"PingProtocolHead",21],[6,"Messages",21],[5,"StateStruct",21],[5,"SetCellVoltageTimeoutStruct",21],[5,"SetTemperatureTimeoutStruct",21],[5,"CellTimeoutStruct",21],[5,"RebootStruct",21],[5,"EventsStruct",21],[5,"TemperatureMaxStruct",21],[5,"SetStreamRateStruct",21],[5,"SetCurrentTimeoutStruct",21],[5,"SetLpfSettingStruct",21],[5,"SetCurrentMaxStruct",21],[5,"CurrentTimeoutStruct",21],[5,"SetLpfSampleFrequencyStruct",21],[5,"ResetDefaultsStruct",21],[5,"CurrentMaxStruct",21],[5,"CellVoltageMinStruct",21],[5,"SetTemperatureMaxStruct",21],[5,"SetCellVoltageMinimumStruct",21],[5,"TemperatureTimeoutStruct",21],[5,"EraseFlashStruct",21],[1,"unit"],[1,"str"],[1,"bool"],[5,"Formatter",1409],[8,"Result",1409],[5,"String",1410],[5,"PingProtocolHead",421],[6,"Messages",421],[5,"NackStruct",421],[5,"SetDeviceIdStruct",421],[5,"ProtocolVersionStruct",421],[5,"DeviceInformationStruct",421],[5,"GeneralRequestStruct",421],[5,"AsciiTextStruct",421],[5,"AckStruct",421],[6,"ParseError",590],[6,"DecoderResult",590],[6,"DecoderState",590],[5,"Decoder",590],[10,"DeserializePayload",639],[10,"DeserializeGenericMessage",639],[1,"usize"],[10,"PingMessage",639],[10,"SerializePayload",639],[10,"Write",1411],[8,"Result",1412],[5,"PingProtocolHead",682],[6,"Messages",682],[5,"ProcessorTemperatureStruct",682],[5,"ContinuousStopStruct",682],[5,"GainSettingStruct",682],[5,"GeneralInfoStruct",682],[5,"ProfileStruct",682],[5,"PcbTemperatureStruct",682],[5,"RangeStruct",682],[5,"Voltage5Struct",682],[5,"ModeAutoStruct",682],[5,"SetRangeStruct",682],[5,"GotoBootloaderStruct",682],[5,"PingIntervalStruct",682],[5,"SetGainSettingStruct",682],[5,"FirmwareVersionStruct",682],[5,"SetPingIntervalStruct",682],[5,"SpeedOfSoundStruct",682],[5,"SetPingEnableStruct",682],[5,"DistanceSimpleStruct",682],[5,"DeviceIdStruct",682],[5,"ContinuousStartStruct",682],[5,"SetSpeedOfSoundStruct",682],[5,"DistanceStruct",682],[5,"SetDeviceIdStruct",682],[5,"SetModeAutoStruct",682],[5,"TransmitDurationStruct",682],[5,"PingEnableStruct",682],[5,"PingProtocolHead",1208],[6,"Messages",1208],[5,"AutoDeviceDataStruct",1208],[5,"DeviceIdStruct",1208],[5,"ResetStruct",1208],[5,"MotorOffStruct",1208],[5,"DeviceDataStruct",1208],[5,"TransducerStruct",1208],[5,"AutoTransmitStruct",1208]],"b":[[16,"impl-TryFrom%3C%26ProtocolMessage%3E-for-Messages"],[18,"impl-TryFrom%3C%26Vec%3Cu8%3E%3E-for-Messages"]]}]\ +["ping_rs",{"doc":"","t":"PPGPPCNNHCCNNCCCNNNNNPFPFPFPFPFPFGFPFPFPFPFPFPFPFPFPFPFPFPFPFPFOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNNNNNNNNNNNOOOOOONNNOONNNNNNNNNNNNNNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOPFPFPFPFGPFFPFPFOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOPPPFGGPPPPGPPPPNNNNNNNNNNNNNNNNNNNNNONNNNNNNNNNNNKKSKFKNNNNONNNMMNONNNNNMOMMNNOOMNNNNONNNNNNPFPFPFPPFFPFPFPFPFGPFPFPFPFFPFPFPFPFPFPFPFPFPFPFPFPFPFNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOPFPFPFPFGPFFPFPFOOOONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOONNNNNNNNOONNNNNNNNONNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOONNNNNNNNNNNNOOOOOOOOOOOOOOOOONNNNNNNNOOOOONNNNNNNNNOOOOOOOOONNNNNNNNNNNNNNNNNNNNNNNNNNN","n":["Bluebps","Common","Messages","Ping1D","Ping360","bluebps","borrow","borrow_mut","calculate_crc","common","decoder","from","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","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","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","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","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","DeserializeGenericMessage","DeserializePayload","HEADER","PingMessage","ProtocolMessage","SerializePayload","borrow","borrow_mut","calculate_crc","checksum","checksum","clone","clone_into","default","deserialize","deserialize","dst_device_id","dst_device_id","fmt","from","has_valid_crc","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","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","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"],[21,"ping_rs::bluebps"],[421,"ping_rs::common"],[590,"ping_rs::decoder"],[639,"ping_rs::message"],[682,"ping_rs::ping1d"],[1208,"ping_rs::ping360"],[1406,"core::result"],[1407,"alloc::vec"],[1408,"core::any"],[1409,"core::fmt"],[1410,"core::fmt"],[1411,"std::io"],[1412,"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 minimum voltage allowed for any individual cell. …","The maximum allowed battery current 0~20000 = 0~200A","The minimum voltage allowed for any individual cell. …","The maximum temperature allowed at the thermistor probe …","The minimum voltage allowed for any individual cell. …","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 the battery temperature exceeds the configured limit …","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 …","If the battery current exceeds the configured limit for …","If an individual cell exceeds the configured limit for …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The number of under-voltage events","","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).","","","","","","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 distance measurement.","Confidence in the most recent range measurement.","Confidence in the most recent range 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","Distance to the target.","The current return distance determined for the most recent …","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 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 …","0: Disable, 1: Enable.","The state of the acoustic output. 0: disabled, 1:enabled","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 region.","The length of the scan range.","The length of the scan range.","The length of the scan region.","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 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 …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The acoustic pulse length during acoustic …","Acoustic pulse duration.","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":[6,6,0,6,6,0,6,6,0,0,0,6,6,0,0,0,6,6,6,6,6,10,0,10,0,10,0,10,0,10,0,10,0,0,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,10,0,16,16,16,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,16,16,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,16,30,9,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,16,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,21,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,13,14,19,20,23,25,10,10,10,28,17,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,22,9,30,11,12,15,18,26,29,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,30,38,0,38,0,38,0,38,0,0,38,0,0,38,0,38,0,39,41,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,39,40,41,42,43,44,45,38,39,40,41,42,43,44,45,37,44,45,45,37,38,39,40,41,42,43,44,45,45,45,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,38,38,38,42,42,43,40,45,38,39,40,41,42,43,44,45,37,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,37,38,39,40,41,42,43,44,45,40,40,40,48,48,46,0,0,0,47,47,46,46,0,48,48,48,47,49,46,47,48,49,46,47,48,46,47,48,49,46,47,48,49,46,47,48,49,49,49,49,46,47,48,49,46,47,48,49,46,47,48,0,0,0,0,0,0,7,7,7,7,7,7,7,7,50,51,7,7,7,7,7,7,7,53,7,53,53,7,7,7,7,54,7,7,7,7,7,7,7,7,7,7,7,58,0,58,0,58,0,58,58,0,0,58,0,58,0,58,0,58,0,0,58,0,58,0,58,0,58,0,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,58,0,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,67,71,84,57,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,65,69,61,61,67,71,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,61,63,61,63,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,63,71,76,80,84,68,79,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,58,58,58,63,64,78,70,60,72,63,77,81,71,84,59,71,71,71,73,74,84,71,73,74,84,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,66,82,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,71,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,63,75,86,0,86,0,86,0,86,0,0,86,0,0,86,0,86,0,88,89,93,90,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,88,89,88,89,85,87,88,89,90,91,92,93,88,92,86,87,88,89,90,91,92,93,85,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,88,89,92,93,87,85,86,87,88,89,90,91,92,93,86,86,86,88,89,92,93,88,92,88,89,92,93,87,90,93,88,89,92,93,86,87,88,89,90,91,92,93,85,88,92,88,92,85,86,87,88,89,90,91,92,93,93,88,89,92,93,88,89,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93,85,86,87,88,89,90,91,92,93],"f":"``````{ce{}{}}0{{{d{b}}}f}``{cc{}}2```{c{{h{e}}}{}{}}{{{j{b}}}{{h{lc}}}{}}{n{{h{lc}}}{}}2{cA`{}}`````````````````````````````````````````````66666666666666666666666666666666666666666666``{AbAb}{AdAd}{AfAf}{AhAh}{AjAj}{AlAl}{AnAn}{B`B`}{BbBb}{BdBd}{BfBf}{BhBh}{BjBj}{BlBl}{BnBn}{C`C`}{CbCb}{CdCd}{CfCf}{ChCh}{CjCj}{ClCl}{{ce}Cn{}{}}000000000000000000000``{{}Ab}{{}Af}{{}Ah}{{}Aj}{{}Al}{{}An}{{}B`}{{}Bb}{{}Bd}{{}Bf}{{}Bh}{{}Bj}{{}Bl}{{}Bn}{{}C`}{{}Cb}{{}Cd}{{}Cf}{{}Ch}{{}Cj}{{}Cl}{{f{d{b}}}{{h{AdD`}}}}{{{d{b}}}Af}{{{d{b}}}Ah}{{{d{b}}}Aj}{{{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}`{{AbAb}Db}{{AdAd}Db}{{AfAf}Db}{{AhAh}Db}{{AjAj}Db}{{AlAl}Db}{{AnAn}Db}{{B`B`}Db}{{BbBb}Db}{{BdBd}Db}{{BfBf}Db}{{BhBh}Db}{{BjBj}Db}{{BlBl}Db}{{BnBn}Db}{{C`C`}Db}{{CbCb}Db}{{CdCd}Db}{{CfCf}Db}{{ChCh}Db}{{CjCj}Db}{{ClCl}Db}`{{AbDd}Df}{{AdDd}Df}{{AfDd}Df}{{AhDd}Df}{{AjDd}Df}{{AlDd}Df}{{AnDd}Df}{{B`Dd}Df}{{BbDd}Df}{{BdDd}Df}{{BfDd}Df}{{BhDd}Df}{{BjDd}Df}{{BlDd}Df}{{BnDd}Df}{{C`Dd}Df}{{CbDd}Df}{{CdDd}Df}{{CfDd}Df}{{ChDd}Df}{{CjDd}Df}{{ClDd}Df}{cc{}}000000000000000000000`{ce{}{}}000000000000000000000``````{Adf}{D`{{h{fDh}}}}{AdD`}``{Ad{{j{b}}}}{Af{{j{b}}}}{Ah{{j{b}}}}{Aj{{j{b}}}}{Al{{j{b}}}}{An{{j{b}}}}{B`{{j{b}}}}{Bb{{j{b}}}}{Bd{{j{b}}}}{Bf{{j{b}}}}{Bh{{j{b}}}}{Bj{{j{b}}}}{Bl{{j{b}}}}{Bn{{j{b}}}}{C`{{j{b}}}}{Cb{{j{b}}}}{Cd{{j{b}}}}{Cf{{j{b}}}}{Ch{{j{b}}}}{Cj{{j{b}}}}{Cl{{j{b}}}}`````````{ce{}{}}000000000000000000000{c{{h{e}}}{}{}}0000000000000000000000000000000000000000000{cA`{}}000000000000000000000```````````````````222222222222222222{DjDj}{DlDl}{DnDn}{E`E`}{EbEb}{EdEd}{EfEf}{EhEh}{EjEj}{{ce}Cn{}{}}00000000{{}Dj}{{}Dn}{{}E`}{{}Eb}{{}Ed}{{}Ef}{{}Eh}{{}Ej}{{f{d{b}}}{{h{DlD`}}}}{{{d{b}}}Dn}{{{d{b}}}E`}{{{d{b}}}Eb}{{{d{b}}}Ed}{{{d{b}}}Ef}{{{d{b}}}Eh}{{{d{b}}}Ej}````{{DjDj}Db}{{DlDl}Db}{{DnDn}Db}{{E`E`}Db}{{EbEb}Db}{{EdEd}Db}{{EfEf}Db}{{EhEh}Db}{{EjEj}Db}```{{DjDd}Df}{{DlDd}Df}{{DnDd}Df}{{E`Dd}Df}{{EbDd}Df}{{EdDd}Df}{{EfDd}Df}{{EhDd}Df}{{EjDd}Df}{cc{}}00000000{ce{}{}}00000000{Dlf}{D`{{h{fDh}}}}{DlD`}`````{Dl{{j{b}}}}{Dn{{j{b}}}}{E`{{j{b}}}}{Eb{{j{b}}}}{Ed{{j{b}}}}{Ef{{j{b}}}}{Eh{{j{b}}}}{Ej{{j{b}}}}`;;;;;;;;;{c{{h{e}}}{}{}}00000000000000000{cA`{}}00000000``````````````````========{{ElDd}Df}{{EnDd}Df}{{F`Dd}Df}{cc{}}000{ce{}{}}000{{}Fb}{{Fbb}En}`888888887777``````22{nf}0`{nn}{{ce}Cn{}{}}{{}n}{{{d{b}}}Fd}{{f{d{b}}}{{h{FfD`}}}}{nb}`{{nDd}Df};{nDb};{nFh}{Fjf}`{D`{{h{fDh}}}}{FjD`}9{n{{d{b}}}}``{Fl{{j{b}}}}{n{{j{b}}}}{{nb}Cn}{{nc}CnFj}1`{ce{}{}}{c{{h{e}}}{}{}}0{cA`{}}{nCn}{{nFn}{{G`{Fh}}}}``````````````````````````````````````````````````````44444444444444444444444444444444444444444444444444444444{GbGb}{GdGd}{GfGf}{GhGh}{GjGj}{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}{{ce}Cn{}{}}000000000000000000000000000```{{}Gb}{{}Gf}{{}Gh}{{}Gj}{{}Gl}{{}Gn}{{}H`}{{}Hb}{{}Hd}{{}Hf}{{}Hh}{{}Hj}{{}Hl}{{}Hn}{{}I`}{{}Ib}{{}Id}{{}If}{{}Ih}{{}Ij}{{}Il}{{}In}{{}J`}{{}Jb}{{}Jd}{{}Jf}{{}Jh}{{f{d{b}}}{{h{GdD`}}}}{{{d{b}}}Gf}{{{d{b}}}Gh}{{{d{b}}}Gj}{{{d{b}}}Gl}{{{d{b}}}Gn}{{{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}````````{{GbGb}Db}{{GdGd}Db}{{GfGf}Db}{{GhGh}Db}{{GjGj}Db}{{GlGl}Db}{{GnGn}Db}{{H`H`}Db}{{HbHb}Db}{{HdHd}Db}{{HfHf}Db}{{HhHh}Db}{{HjHj}Db}{{HlHl}Db}{{HnHn}Db}{{I`I`}Db}{{IbIb}Db}{{IdId}Db}{{IfIf}Db}{{IhIh}Db}{{IjIj}Db}{{IlIl}Db}{{InIn}Db}{{J`J`}Db}{{JbJb}Db}{{JdJd}Db}{{JfJf}Db}{{JhJh}Db}````{{GbDd}Df}{{GdDd}Df}{{GfDd}Df}{{GhDd}Df}{{GjDd}Df}{{GlDd}Df}{{GnDd}Df}{{H`Dd}Df}{{HbDd}Df}{{HdDd}Df}{{HfDd}Df}{{HhDd}Df}{{HjDd}Df}{{HlDd}Df}{{HnDd}Df}{{I`Dd}Df}{{IbDd}Df}{{IdDd}Df}{{IfDd}Df}{{IhDd}Df}{{IjDd}Df}{{IlDd}Df}{{InDd}Df}{{J`Dd}Df}{{JbDd}Df}{{JdDd}Df}{{JfDd}Df}{{JhDd}Df}{cc{}}000000000000000000000000000```````{ce{}{}}000000000000000000000000000{Gdf}{D`{{h{fDh}}}}{GdD`}``````````````````````{Gd{{j{b}}}}{Gf{{j{b}}}}{Gh{{j{b}}}}{Gj{{j{b}}}}{Gl{{j{b}}}}{Gn{{j{b}}}}{H`{{j{b}}}}{Hb{{j{b}}}}{Hd{{j{b}}}}{Hf{{j{b}}}}{Hh{{j{b}}}}{Hj{{j{b}}}}{Hl{{j{b}}}}{Hn{{j{b}}}}{I`{{j{b}}}}{Ib{{j{b}}}}{Id{{j{b}}}}{If{{j{b}}}}{Ih{{j{b}}}}{Ij{{j{b}}}}{Il{{j{b}}}}{In{{j{b}}}}{J`{{j{b}}}}{Jb{{j{b}}}}{Jd{{j{b}}}}{Jf{{j{b}}}}{Jh{{j{b}}}}```{ce{}{}}000000000000000000000000000```{c{{h{e}}}{}{}}0000000000000000000000000000000000000000000000000000000{cA`{}}000000000000000000000000000``````````````````````222222222222222222{JjJj}{JlJl}{JnJn}{K`K`}{KbKb}{KdKd}{KfKf}{KhKh}{KjKj}{{ce}Cn{}{}}00000000````{{}Jj}{{}Jn}{{}K`}{{}Kb}{{}Kd}{{}Kf}{{}Kh}{{}Kj}``{{f{d{b}}}{{h{JlD`}}}}{{{d{b}}}Jn}{{{d{b}}}K`}{{{d{b}}}Kb}{{{d{b}}}Kd}{{{d{b}}}Kf}{{{d{b}}}Kh}{{{d{b}}}Kj}`{{JjJj}Db}{{JlJl}Db}{{JnJn}Db}{{K`K`}Db}{{KbKb}Db}{{KdKd}Db}{{KfKf}Db}{{KhKh}Db}{{KjKj}Db}{{JjDd}Df}{{JlDd}Df}{{JnDd}Df}{{K`Dd}Df}{{KbDd}Df}{{KdDd}Df}{{KfDd}Df}{{KhDd}Df}{{KjDd}Df}{cc{}}00000000`````{ce{}{}}00000000{Jlf}{D`{{h{fDh}}}}{JlD`}`````````````````{Jl{{j{b}}}}{Jn{{j{b}}}}{K`{{j{b}}}}{Kb{{j{b}}}}{Kd{{j{b}}}}{Kf{{j{b}}}}{Kh{{j{b}}}}{Kj{{j{b}}}}`````;;;;;;;;;`````````{c{{h{e}}}{}{}}00000000000000000{cA`{}}00000000","c":[],"p":[[1,"u8"],[1,"slice"],[1,"u16"],[6,"Result",1406],[5,"Vec",1407],[6,"Messages",0],[5,"ProtocolMessage",639],[5,"TypeId",1408],[5,"PingProtocolHead",21],[6,"Messages",21],[5,"SetTemperatureTimeoutStruct",21],[5,"CurrentTimeoutStruct",21],[5,"SetCellVoltageMinimumStruct",21],[5,"SetCurrentMaxStruct",21],[5,"SetCellVoltageTimeoutStruct",21],[5,"StateStruct",21],[5,"SetLpfSampleFrequencyStruct",21],[5,"TemperatureTimeoutStruct",21],[5,"CellVoltageMinStruct",21],[5,"SetTemperatureMaxStruct",21],[5,"RebootStruct",21],[5,"SetLpfSettingStruct",21],[5,"TemperatureMaxStruct",21],[5,"EraseFlashStruct",21],[5,"CurrentMaxStruct",21],[5,"SetCurrentTimeoutStruct",21],[5,"ResetDefaultsStruct",21],[5,"SetStreamRateStruct",21],[5,"CellTimeoutStruct",21],[5,"EventsStruct",21],[1,"unit"],[1,"str"],[1,"bool"],[5,"Formatter",1409],[8,"Result",1409],[5,"String",1410],[5,"PingProtocolHead",421],[6,"Messages",421],[5,"AckStruct",421],[5,"ProtocolVersionStruct",421],[5,"AsciiTextStruct",421],[5,"NackStruct",421],[5,"GeneralRequestStruct",421],[5,"SetDeviceIdStruct",421],[5,"DeviceInformationStruct",421],[6,"ParseError",590],[6,"DecoderResult",590],[6,"DecoderState",590],[5,"Decoder",590],[10,"DeserializePayload",639],[10,"DeserializeGenericMessage",639],[1,"usize"],[10,"PingMessage",639],[10,"SerializePayload",639],[10,"Write",1411],[8,"Result",1412],[5,"PingProtocolHead",682],[6,"Messages",682],[5,"ProcessorTemperatureStruct",682],[5,"SetPingEnableStruct",682],[5,"FirmwareVersionStruct",682],[5,"GotoBootloaderStruct",682],[5,"GeneralInfoStruct",682],[5,"ModeAutoStruct",682],[5,"DeviceIdStruct",682],[5,"SetSpeedOfSoundStruct",682],[5,"DistanceSimpleStruct",682],[5,"ContinuousStopStruct",682],[5,"SetDeviceIdStruct",682],[5,"PcbTemperatureStruct",682],[5,"ProfileStruct",682],[5,"PingEnableStruct",682],[5,"SetRangeStruct",682],[5,"RangeStruct",682],[5,"Voltage5Struct",682],[5,"SetGainSettingStruct",682],[5,"SetPingIntervalStruct",682],[5,"SetModeAutoStruct",682],[5,"ContinuousStartStruct",682],[5,"GainSettingStruct",682],[5,"PingIntervalStruct",682],[5,"SpeedOfSoundStruct",682],[5,"TransmitDurationStruct",682],[5,"DistanceStruct",682],[5,"PingProtocolHead",1208],[6,"Messages",1208],[5,"DeviceIdStruct",1208],[5,"AutoDeviceDataStruct",1208],[5,"DeviceDataStruct",1208],[5,"ResetStruct",1208],[5,"MotorOffStruct",1208],[5,"AutoTransmitStruct",1208],[5,"TransducerStruct",1208]],"b":[[17,"impl-TryFrom%3C%26Vec%3Cu8%3E%3E-for-Messages"],[18,"impl-TryFrom%3C%26ProtocolMessage%3E-for-Messages"]]}]\ ]')); if (typeof exports !== 'undefined') exports.searchIndex = searchIndex; else if (window.initSearch) window.initSearch(searchIndex); diff --git a/src/ping_rs/decoder.rs.html b/src/ping_rs/decoder.rs.html index 672d8b9b6..212f18dfd 100644 --- a/src/ping_rs/decoder.rs.html +++ b/src/ping_rs/decoder.rs.html @@ -106,13 +106,16 @@

Files

104 105 106 +107 +108 +109
use crate::message::{ProtocolMessage, HEADER};
 
 #[derive(Debug)]
 pub enum ParseError {
     InvalidStartByte,
     IncompleteData,
-    ChecksumError,
+    ChecksumError(ProtocolMessage),
 }
 
 #[derive(Debug)]
@@ -197,9 +200,12 @@ 

Files

self.buffer.push(byte); if self.buffer.len() == 2 { self.message.checksum = u16::from_le_bytes([self.buffer[0], self.buffer[1]]); + self.reset(); let message = self.message.clone(); self.message = ProtocolMessage::new(); - self.reset(); + if !message.has_valid_crc() { + return DecoderResult::Error(ParseError::ChecksumError(message)); + } return DecoderResult::Success(message); } return DecoderResult::InProgress; diff --git a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/bluebps.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/bluebps.rs.html index 511cd1c70..5a7c9f185 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/bluebps.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/bluebps.rs.html @@ -724,26 +724,151 @@

Files

#[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { - State(StateStruct), - SetCellVoltageTimeout(SetCellVoltageTimeoutStruct), SetTemperatureTimeout(SetTemperatureTimeoutStruct), - CellTimeout(CellTimeoutStruct), - Reboot(RebootStruct), - Events(EventsStruct), - TemperatureMax(TemperatureMaxStruct), - SetStreamRate(SetStreamRateStruct), - SetCurrentTimeout(SetCurrentTimeoutStruct), - SetLpfSetting(SetLpfSettingStruct), - SetCurrentMax(SetCurrentMaxStruct), CurrentTimeout(CurrentTimeoutStruct), + SetCellVoltageMinimum(SetCellVoltageMinimumStruct), + SetCurrentMax(SetCurrentMaxStruct), + SetCellVoltageTimeout(SetCellVoltageTimeoutStruct), + State(StateStruct), SetLpfSampleFrequency(SetLpfSampleFrequencyStruct), - ResetDefaults(ResetDefaultsStruct), - CurrentMax(CurrentMaxStruct), + TemperatureTimeout(TemperatureTimeoutStruct), CellVoltageMin(CellVoltageMinStruct), SetTemperatureMax(SetTemperatureMaxStruct), - SetCellVoltageMinimum(SetCellVoltageMinimumStruct), - TemperatureTimeout(TemperatureTimeoutStruct), + Reboot(RebootStruct), + SetLpfSetting(SetLpfSettingStruct), + TemperatureMax(TemperatureMaxStruct), EraseFlash(EraseFlashStruct), + CurrentMax(CurrentMaxStruct), + SetCurrentTimeout(SetCurrentTimeoutStruct), + ResetDefaults(ResetDefaultsStruct), + SetStreamRate(SetStreamRateStruct), + CellTimeout(CellTimeoutStruct), + Events(EventsStruct), +} +#[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, +} +impl SerializePayload for SetTemperatureTimeoutStruct { + 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 SetTemperatureTimeoutStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + timeout: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +#[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"] + pub timeout: u16, +} +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 CurrentTimeoutStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + timeout: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +#[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"), + ), + } + } +} +#[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, +} +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 SetCurrentMaxStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + limit: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +#[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, +} +impl SerializePayload for SetCellVoltageTimeoutStruct { + 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 SetCellVoltageTimeoutStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + timeout: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] @@ -813,23 +938,23 @@

Files

} #[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 = "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 SetCellVoltageTimeoutStruct { +impl SerializePayload for SetLpfSampleFrequencyStruct { 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.sample_frequency.to_le_bytes()); buffer } } -impl DeserializePayload for SetCellVoltageTimeoutStruct { +impl DeserializePayload for SetLpfSampleFrequencyStruct { fn deserialize(payload: &[u8]) -> Self { Self { - timeout: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + sample_frequency: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), @@ -838,19 +963,19 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the over-temperature timeout"] -pub struct SetTemperatureTimeoutStruct { +#[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 SetTemperatureTimeoutStruct { +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 SetTemperatureTimeoutStruct { +impl DeserializePayload for TemperatureTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { timeout: u16::from_le_bytes( @@ -863,22 +988,47 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the undervoltage timeout"] -pub struct CellTimeoutStruct { - #[doc = "If an individual cell 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 CellTimeoutStruct { +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 CellTimeoutStruct { +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"), + ), + } + } +} +#[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, +} +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 SetTemperatureMaxStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + limit: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), @@ -909,42 +1059,26 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "A record of events causing a power lock-out. These numbers are non-volatile and reset only with the erase_flash control message."] -pub struct EventsStruct { - #[doc = "The number of under-voltage events"] - pub voltage: u16, - #[doc = "The number of over-current events"] - pub current: u16, - #[doc = "The number of over-temperature events"] - pub temperature: 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 EventsStruct { +impl SerializePayload for SetLpfSettingStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.voltage.to_le_bytes()); - buffer.extend_from_slice(&self.current.to_le_bytes()); - buffer.extend_from_slice(&self.temperature.to_le_bytes()); + buffer.extend_from_slice(&self.setting.to_le_bytes()); buffer } } -impl DeserializePayload for EventsStruct { +impl DeserializePayload for SetLpfSettingStruct { fn deserialize(payload: &[u8]) -> Self { Self { - voltage: u16::from_le_bytes( + setting: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), - current: u16::from_le_bytes( - payload[2usize..2usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - temperature: u16::from_le_bytes( - payload[4usize..4usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), } } } @@ -975,94 +1109,34 @@

Files

} #[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, -} -impl SerializePayload for SetStreamRateStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.rate.to_le_bytes()); - buffer - } -} -impl DeserializePayload for SetStreamRateStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - rate: u32::from_le_bytes( - payload[0usize..0usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), - } - } -} -#[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, -} -impl SerializePayload for SetCurrentTimeoutStruct { - 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 SetCurrentTimeoutStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - timeout: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - } - } -} -#[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, -} -impl SerializePayload for SetLpfSettingStruct { +#[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.extend_from_slice(&self.setting.to_le_bytes()); buffer } } -impl DeserializePayload for SetLpfSettingStruct { +impl DeserializePayload for EraseFlashStruct { fn deserialize(payload: &[u8]) -> Self { - Self { - setting: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - } + Self {} } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Set the maximum allowed battery current"] -pub struct SetCurrentMaxStruct { +#[doc = "get the maximum allowed battery current"] +pub struct CurrentMaxStruct { #[doc = "The maximum allowed battery current 0~20000 = 0~200A"] pub limit: u16, } -impl SerializePayload for SetCurrentMaxStruct { +impl SerializePayload for CurrentMaxStruct { 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 SetCurrentMaxStruct { +impl DeserializePayload for CurrentMaxStruct { fn deserialize(payload: &[u8]) -> Self { Self { limit: u16::from_le_bytes( @@ -1075,19 +1149,19 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Get the over-current timeout"] -pub struct CurrentTimeoutStruct { +#[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 CurrentTimeoutStruct { +impl SerializePayload for SetCurrentTimeoutStruct { 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 SetCurrentTimeoutStruct { fn deserialize(payload: &[u8]) -> Self { Self { timeout: u16::from_le_bytes( @@ -1100,31 +1174,6 @@

Files

} #[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, -} -impl SerializePayload for SetLpfSampleFrequencyStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.sample_frequency.to_le_bytes()); - buffer - } -} -impl DeserializePayload for SetLpfSampleFrequencyStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - sample_frequency: u32::from_le_bytes( - payload[0usize..0usize + 4usize] - .try_into() - .expect("Wrong slice length"), - ), - } - } -} -#[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 { @@ -1140,23 +1189,23 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "get the maximum allowed battery current"] -pub struct CurrentMaxStruct { - #[doc = "The maximum allowed battery current 0~20000 = 0~200A"] - pub limit: 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 CurrentMaxStruct { +impl SerializePayload for SetStreamRateStruct { 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.rate.to_le_bytes()); buffer } } -impl DeserializePayload for CurrentMaxStruct { +impl DeserializePayload for SetStreamRateStruct { fn deserialize(payload: &[u8]) -> Self { Self { - limit: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + rate: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), @@ -1165,22 +1214,22 @@

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"] - pub limit: u16, +#[doc = "Get the undervoltage timeout"] +pub struct CellTimeoutStruct { + #[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 CellVoltageMinStruct { +impl SerializePayload for CellTimeoutStruct { 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 CellVoltageMinStruct { +impl DeserializePayload for CellTimeoutStruct { 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"), @@ -1190,165 +1239,116 @@

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 = "A record of events causing a power lock-out. These numbers are non-volatile and reset only with the erase_flash control message."] +pub struct EventsStruct { + #[doc = "The number of under-voltage events"] + pub voltage: u16, + #[doc = "The number of over-current events"] + pub current: u16, + #[doc = "The number of over-temperature events"] + pub temperature: u16, } -impl SerializePayload for SetTemperatureMaxStruct { +impl SerializePayload for EventsStruct { 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.voltage.to_le_bytes()); + buffer.extend_from_slice(&self.current.to_le_bytes()); + buffer.extend_from_slice(&self.temperature.to_le_bytes()); buffer } } -impl DeserializePayload for SetTemperatureMaxStruct { +impl DeserializePayload for EventsStruct { fn deserialize(payload: &[u8]) -> Self { Self { - limit: u16::from_le_bytes( + voltage: u16::from_le_bytes( payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), - } - } -} -#[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] + current: u16::from_le_bytes( + payload[2usize..2usize + 2usize] .try_into() .expect("Wrong slice length"), ), - } - } -} -#[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"] - pub timeout: u16, -} -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 TemperatureTimeoutStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - timeout: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + temperature: u16::from_le_bytes( + payload[4usize..4usize + 2usize] .try_into() .expect("Wrong slice length"), ), } } } -#[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 { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer - } -} -impl DeserializePayload for EraseFlashStruct { - fn deserialize(payload: &[u8]) -> Self { - Self {} - } -} impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { - Messages::State(..) => "state", - Messages::SetCellVoltageTimeout(..) => "set_cell_voltage_timeout", Messages::SetTemperatureTimeout(..) => "set_temperature_timeout", - Messages::CellTimeout(..) => "cell_timeout", - Messages::Reboot(..) => "reboot", - Messages::Events(..) => "events", - Messages::TemperatureMax(..) => "temperature_max", - Messages::SetStreamRate(..) => "set_stream_rate", - Messages::SetCurrentTimeout(..) => "set_current_timeout", - Messages::SetLpfSetting(..) => "set_lpf_setting", - Messages::SetCurrentMax(..) => "set_current_max", Messages::CurrentTimeout(..) => "current_timeout", + Messages::SetCellVoltageMinimum(..) => "set_cell_voltage_minimum", + Messages::SetCurrentMax(..) => "set_current_max", + Messages::SetCellVoltageTimeout(..) => "set_cell_voltage_timeout", + Messages::State(..) => "state", Messages::SetLpfSampleFrequency(..) => "set_lpf_sample_frequency", - Messages::ResetDefaults(..) => "reset_defaults", - Messages::CurrentMax(..) => "current_max", + Messages::TemperatureTimeout(..) => "temperature_timeout", Messages::CellVoltageMin(..) => "cell_voltage_min", Messages::SetTemperatureMax(..) => "set_temperature_max", - Messages::SetCellVoltageMinimum(..) => "set_cell_voltage_minimum", - Messages::TemperatureTimeout(..) => "temperature_timeout", + Messages::Reboot(..) => "reboot", + Messages::SetLpfSetting(..) => "set_lpf_setting", + Messages::TemperatureMax(..) => "temperature_max", Messages::EraseFlash(..) => "erase_flash", + Messages::CurrentMax(..) => "current_max", + Messages::SetCurrentTimeout(..) => "set_current_timeout", + Messages::ResetDefaults(..) => "reset_defaults", + Messages::SetStreamRate(..) => "set_stream_rate", + Messages::CellTimeout(..) => "cell_timeout", + Messages::Events(..) => "events", } } fn message_id(&self) -> u16 { match self { - Messages::State(..) => 9106u16, - Messages::SetCellVoltageTimeout(..) => 9001u16, Messages::SetTemperatureTimeout(..) => 9005u16, - Messages::CellTimeout(..) => 9101u16, - Messages::Reboot(..) => 9200u16, - Messages::Events(..) => 9107u16, - Messages::TemperatureMax(..) => 9104u16, - Messages::SetStreamRate(..) => 9006u16, - Messages::SetCurrentTimeout(..) => 9003u16, - Messages::SetLpfSetting(..) => 9008u16, - Messages::SetCurrentMax(..) => 9002u16, Messages::CurrentTimeout(..) => 9103u16, + Messages::SetCellVoltageMinimum(..) => 9000u16, + Messages::SetCurrentMax(..) => 9002u16, + Messages::SetCellVoltageTimeout(..) => 9001u16, + Messages::State(..) => 9106u16, Messages::SetLpfSampleFrequency(..) => 9007u16, - Messages::ResetDefaults(..) => 9202u16, - Messages::CurrentMax(..) => 9102u16, + Messages::TemperatureTimeout(..) => 9105u16, Messages::CellVoltageMin(..) => 9100u16, Messages::SetTemperatureMax(..) => 9004u16, - Messages::SetCellVoltageMinimum(..) => 9000u16, - Messages::TemperatureTimeout(..) => 9105u16, + Messages::Reboot(..) => 9200u16, + Messages::SetLpfSetting(..) => 9008u16, + Messages::TemperatureMax(..) => 9104u16, Messages::EraseFlash(..) => 9201u16, + Messages::CurrentMax(..) => 9102u16, + Messages::SetCurrentTimeout(..) => 9003u16, + Messages::ResetDefaults(..) => 9202u16, + Messages::SetStreamRate(..) => 9006u16, + Messages::CellTimeout(..) => 9101u16, + Messages::Events(..) => 9107u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { - "state" => Ok(9106u16), - "set_cell_voltage_timeout" => Ok(9001u16), "set_temperature_timeout" => Ok(9005u16), - "cell_timeout" => Ok(9101u16), - "reboot" => Ok(9200u16), - "events" => Ok(9107u16), - "temperature_max" => Ok(9104u16), - "set_stream_rate" => Ok(9006u16), - "set_current_timeout" => Ok(9003u16), - "set_lpf_setting" => Ok(9008u16), - "set_current_max" => Ok(9002u16), "current_timeout" => Ok(9103u16), + "set_cell_voltage_minimum" => Ok(9000u16), + "set_current_max" => Ok(9002u16), + "set_cell_voltage_timeout" => Ok(9001u16), + "state" => Ok(9106u16), "set_lpf_sample_frequency" => Ok(9007u16), - "reset_defaults" => Ok(9202u16), - "current_max" => Ok(9102u16), + "temperature_timeout" => Ok(9105u16), "cell_voltage_min" => Ok(9100u16), "set_temperature_max" => Ok(9004u16), - "set_cell_voltage_minimum" => Ok(9000u16), - "temperature_timeout" => Ok(9105u16), + "reboot" => Ok(9200u16), + "set_lpf_setting" => Ok(9008u16), + "temperature_max" => Ok(9104u16), "erase_flash" => Ok(9201u16), + "current_max" => Ok(9102u16), + "set_current_timeout" => Ok(9003u16), + "reset_defaults" => Ok(9202u16), + "set_stream_rate" => Ok(9006u16), + "cell_timeout" => Ok(9101u16), + "events" => Ok(9107u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -1356,60 +1356,60 @@

Files

impl SerializePayload for Messages { fn serialize(&self) -> Vec<u8> { match self { - Messages::State(content) => content.serialize(), - Messages::SetCellVoltageTimeout(content) => content.serialize(), Messages::SetTemperatureTimeout(content) => content.serialize(), - Messages::CellTimeout(content) => content.serialize(), - Messages::Reboot(content) => content.serialize(), - Messages::Events(content) => content.serialize(), - Messages::TemperatureMax(content) => content.serialize(), - Messages::SetStreamRate(content) => content.serialize(), - Messages::SetCurrentTimeout(content) => content.serialize(), - Messages::SetLpfSetting(content) => content.serialize(), - Messages::SetCurrentMax(content) => content.serialize(), Messages::CurrentTimeout(content) => content.serialize(), + Messages::SetCellVoltageMinimum(content) => content.serialize(), + Messages::SetCurrentMax(content) => content.serialize(), + Messages::SetCellVoltageTimeout(content) => content.serialize(), + Messages::State(content) => content.serialize(), Messages::SetLpfSampleFrequency(content) => content.serialize(), - Messages::ResetDefaults(content) => content.serialize(), - Messages::CurrentMax(content) => content.serialize(), + Messages::TemperatureTimeout(content) => content.serialize(), Messages::CellVoltageMin(content) => content.serialize(), Messages::SetTemperatureMax(content) => content.serialize(), - Messages::SetCellVoltageMinimum(content) => content.serialize(), - Messages::TemperatureTimeout(content) => content.serialize(), + Messages::Reboot(content) => content.serialize(), + Messages::SetLpfSetting(content) => content.serialize(), + Messages::TemperatureMax(content) => content.serialize(), Messages::EraseFlash(content) => content.serialize(), + Messages::CurrentMax(content) => content.serialize(), + Messages::SetCurrentTimeout(content) => content.serialize(), + Messages::ResetDefaults(content) => content.serialize(), + Messages::SetStreamRate(content) => content.serialize(), + Messages::CellTimeout(content) => content.serialize(), + Messages::Events(content) => content.serialize(), } } } impl DeserializeGenericMessage for Messages { fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str> { Ok(match message_id { - 9106u16 => Messages::State(StateStruct::deserialize(payload)), - 9001u16 => { - Messages::SetCellVoltageTimeout(SetCellVoltageTimeoutStruct::deserialize(payload)) - } 9005u16 => { Messages::SetTemperatureTimeout(SetTemperatureTimeoutStruct::deserialize(payload)) } - 9101u16 => Messages::CellTimeout(CellTimeoutStruct::deserialize(payload)), - 9200u16 => Messages::Reboot(RebootStruct::deserialize(payload)), - 9107u16 => Messages::Events(EventsStruct::deserialize(payload)), - 9104u16 => Messages::TemperatureMax(TemperatureMaxStruct::deserialize(payload)), - 9006u16 => Messages::SetStreamRate(SetStreamRateStruct::deserialize(payload)), - 9003u16 => Messages::SetCurrentTimeout(SetCurrentTimeoutStruct::deserialize(payload)), - 9008u16 => Messages::SetLpfSetting(SetLpfSettingStruct::deserialize(payload)), - 9002u16 => Messages::SetCurrentMax(SetCurrentMaxStruct::deserialize(payload)), 9103u16 => Messages::CurrentTimeout(CurrentTimeoutStruct::deserialize(payload)), + 9000u16 => { + Messages::SetCellVoltageMinimum(SetCellVoltageMinimumStruct::deserialize(payload)) + } + 9002u16 => Messages::SetCurrentMax(SetCurrentMaxStruct::deserialize(payload)), + 9001u16 => { + Messages::SetCellVoltageTimeout(SetCellVoltageTimeoutStruct::deserialize(payload)) + } + 9106u16 => Messages::State(StateStruct::deserialize(payload)), 9007u16 => { Messages::SetLpfSampleFrequency(SetLpfSampleFrequencyStruct::deserialize(payload)) } - 9202u16 => Messages::ResetDefaults(ResetDefaultsStruct::deserialize(payload)), - 9102u16 => Messages::CurrentMax(CurrentMaxStruct::deserialize(payload)), + 9105u16 => Messages::TemperatureTimeout(TemperatureTimeoutStruct::deserialize(payload)), 9100u16 => Messages::CellVoltageMin(CellVoltageMinStruct::deserialize(payload)), 9004u16 => Messages::SetTemperatureMax(SetTemperatureMaxStruct::deserialize(payload)), - 9000u16 => { - Messages::SetCellVoltageMinimum(SetCellVoltageMinimumStruct::deserialize(payload)) - } - 9105u16 => Messages::TemperatureTimeout(TemperatureTimeoutStruct::deserialize(payload)), + 9200u16 => Messages::Reboot(RebootStruct::deserialize(payload)), + 9008u16 => Messages::SetLpfSetting(SetLpfSettingStruct::deserialize(payload)), + 9104u16 => Messages::TemperatureMax(TemperatureMaxStruct::deserialize(payload)), 9201u16 => Messages::EraseFlash(EraseFlashStruct::deserialize(payload)), + 9102u16 => Messages::CurrentMax(CurrentMaxStruct::deserialize(payload)), + 9003u16 => Messages::SetCurrentTimeout(SetCurrentTimeoutStruct::deserialize(payload)), + 9202u16 => Messages::ResetDefaults(ResetDefaultsStruct::deserialize(payload)), + 9006u16 => Messages::SetStreamRate(SetStreamRateStruct::deserialize(payload)), + 9101u16 => Messages::CellTimeout(CellTimeoutStruct::deserialize(payload)), + 9107u16 => Messages::Events(EventsStruct::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-641107cf86e44b1d/out/common.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/common.rs.html index f609396c7..a463b778d 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/common.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/common.rs.html @@ -304,63 +304,36 @@

Files

#[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { + Ack(AckStruct), + ProtocolVersion(ProtocolVersionStruct), + AsciiText(AsciiTextStruct), Nack(NackStruct), + GeneralRequest(GeneralRequestStruct), SetDeviceId(SetDeviceIdStruct), - ProtocolVersion(ProtocolVersionStruct), DeviceInformation(DeviceInformationStruct), - GeneralRequest(GeneralRequestStruct), - AsciiText(AsciiTextStruct), - Ack(AckStruct), } #[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 = "Acknowledged."] +pub struct AckStruct { + #[doc = "The message ID that is ACKnowledged."] + pub acked_id: u16, } -impl SerializePayload for NackStruct { +impl SerializePayload for AckStruct { 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.acked_id.to_le_bytes()); buffer } } -impl DeserializePayload for NackStruct { +impl DeserializePayload for AckStruct { fn deserialize(payload: &[u8]) -> Self { Self { - nacked_id: u16::from_le_bytes( + acked_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(), - } - } -} -#[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, -} -impl SerializePayload for SetDeviceIdStruct { - 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 SetDeviceIdStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - device_id: payload[0usize].into(), } } } @@ -399,42 +372,55 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Device information"] -pub struct DeviceInformationStruct { - #[doc = "Device type. 0: Unknown; 1: Ping Echosounder; 2: Ping360"] - pub device_type: u8, - #[doc = "device-specific hardware revision"] - pub device_revision: u8, - #[doc = "Firmware version major number."] - pub firmware_version_major: u8, - #[doc = "Firmware version minor number."] - pub firmware_version_minor: u8, - #[doc = "Firmware version patch number."] - pub firmware_version_patch: u8, - #[doc = "reserved"] - pub reserved: 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 DeviceInformationStruct { +impl SerializePayload for AsciiTextStruct { 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_revision.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.firmware_version_patch.to_le_bytes()); - buffer.extend_from_slice(&self.reserved.to_le_bytes()); + buffer.extend_from_slice(self.ascii_message.as_bytes()); + buffer.push(0); buffer } } -impl DeserializePayload for DeviceInformationStruct { +impl DeserializePayload for AsciiTextStruct { fn deserialize(payload: &[u8]) -> Self { Self { - device_type: payload[0usize].into(), - device_revision: payload[1usize].into(), - firmware_version_major: payload[2usize].into(), - firmware_version_minor: payload[3usize].into(), - firmware_version_patch: payload[4usize].into(), - reserved: payload[5usize].into(), + ascii_message: String::from_utf8(payload[0usize..0usize + payload.len()].to_vec()) + .unwrap(), + } + } +} +#[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, +} +impl SerializePayload for NackStruct { + 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 + } +} +impl DeserializePayload for NackStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + 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(), } } } @@ -465,84 +451,98 @@

Files

} #[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 = "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 AsciiTextStruct { +impl SerializePayload for SetDeviceIdStruct { 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.device_id.to_le_bytes()); buffer } } -impl DeserializePayload for AsciiTextStruct { +impl DeserializePayload for SetDeviceIdStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ascii_message: String::from_utf8(payload[0usize..0usize + payload.len()].to_vec()) - .unwrap(), + device_id: payload[0usize].into(), } } } #[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 = "Device information"] +pub struct DeviceInformationStruct { + #[doc = "Device type. 0: Unknown; 1: Ping Echosounder; 2: Ping360"] + pub device_type: u8, + #[doc = "device-specific hardware revision"] + pub device_revision: u8, + #[doc = "Firmware version major number."] + pub firmware_version_major: u8, + #[doc = "Firmware version minor number."] + pub firmware_version_minor: u8, + #[doc = "Firmware version patch number."] + pub firmware_version_patch: u8, + #[doc = "reserved"] + pub reserved: u8, } -impl SerializePayload for AckStruct { +impl SerializePayload for DeviceInformationStruct { 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_type.to_le_bytes()); + buffer.extend_from_slice(&self.device_revision.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.firmware_version_patch.to_le_bytes()); + buffer.extend_from_slice(&self.reserved.to_le_bytes()); buffer } } -impl DeserializePayload for AckStruct { +impl DeserializePayload for DeviceInformationStruct { fn deserialize(payload: &[u8]) -> Self { Self { - acked_id: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), + device_type: payload[0usize].into(), + device_revision: payload[1usize].into(), + firmware_version_major: payload[2usize].into(), + firmware_version_minor: payload[3usize].into(), + firmware_version_patch: payload[4usize].into(), + reserved: payload[5usize].into(), } } } impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { + Messages::Ack(..) => "ack", + Messages::ProtocolVersion(..) => "protocol_version", + Messages::AsciiText(..) => "ascii_text", Messages::Nack(..) => "nack", + Messages::GeneralRequest(..) => "general_request", Messages::SetDeviceId(..) => "set_device_id", - Messages::ProtocolVersion(..) => "protocol_version", Messages::DeviceInformation(..) => "device_information", - Messages::GeneralRequest(..) => "general_request", - Messages::AsciiText(..) => "ascii_text", - Messages::Ack(..) => "ack", } } fn message_id(&self) -> u16 { match self { + Messages::Ack(..) => 1u16, + Messages::ProtocolVersion(..) => 5u16, + Messages::AsciiText(..) => 3u16, Messages::Nack(..) => 2u16, + Messages::GeneralRequest(..) => 6u16, Messages::SetDeviceId(..) => 100u16, - Messages::ProtocolVersion(..) => 5u16, Messages::DeviceInformation(..) => 4u16, - Messages::GeneralRequest(..) => 6u16, - Messages::AsciiText(..) => 3u16, - Messages::Ack(..) => 1u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { + "ack" => Ok(1u16), + "protocol_version" => Ok(5u16), + "ascii_text" => Ok(3u16), "nack" => Ok(2u16), + "general_request" => Ok(6u16), "set_device_id" => Ok(100u16), - "protocol_version" => Ok(5u16), "device_information" => Ok(4u16), - "general_request" => Ok(6u16), - "ascii_text" => Ok(3u16), - "ack" => Ok(1u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -550,26 +550,26 @@

Files

impl SerializePayload for Messages { fn serialize(&self) -> Vec<u8> { match self { + Messages::Ack(content) => content.serialize(), + Messages::ProtocolVersion(content) => content.serialize(), + Messages::AsciiText(content) => content.serialize(), Messages::Nack(content) => content.serialize(), + Messages::GeneralRequest(content) => content.serialize(), Messages::SetDeviceId(content) => content.serialize(), - Messages::ProtocolVersion(content) => content.serialize(), Messages::DeviceInformation(content) => content.serialize(), - Messages::GeneralRequest(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)), + 5u16 => Messages::ProtocolVersion(ProtocolVersionStruct::deserialize(payload)), + 3u16 => Messages::AsciiText(AsciiTextStruct::deserialize(payload)), 2u16 => Messages::Nack(NackStruct::deserialize(payload)), + 6u16 => Messages::GeneralRequest(GeneralRequestStruct::deserialize(payload)), 100u16 => Messages::SetDeviceId(SetDeviceIdStruct::deserialize(payload)), - 5u16 => Messages::ProtocolVersion(ProtocolVersionStruct::deserialize(payload)), 4u16 => Messages::DeviceInformation(DeviceInformationStruct::deserialize(payload)), - 6u16 => Messages::GeneralRequest(GeneralRequestStruct::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-641107cf86e44b1d/out/ping1d.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/ping1d.rs.html index 982716418..326eb8619 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/ping1d.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/ping1d.rs.html @@ -1007,31 +1007,31 @@

Files

#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { ProcessorTemperature(ProcessorTemperatureStruct), - ContinuousStop(ContinuousStopStruct), - GainSetting(GainSettingStruct), + SetPingEnable(SetPingEnableStruct), + FirmwareVersion(FirmwareVersionStruct), + GotoBootloader(GotoBootloaderStruct), GeneralInfo(GeneralInfoStruct), - Profile(ProfileStruct), + ModeAuto(ModeAutoStruct), + DeviceId(DeviceIdStruct), + SetSpeedOfSound(SetSpeedOfSoundStruct), + DistanceSimple(DistanceSimpleStruct), + ContinuousStop(ContinuousStopStruct), + SetDeviceId(SetDeviceIdStruct), PcbTemperature(PcbTemperatureStruct), + Profile(ProfileStruct), + PingEnable(PingEnableStruct), + SetRange(SetRangeStruct), Range(RangeStruct), Voltage5(Voltage5Struct), - ModeAuto(ModeAutoStruct), - SetRange(SetRangeStruct), - GotoBootloader(GotoBootloaderStruct), - PingInterval(PingIntervalStruct), SetGainSetting(SetGainSettingStruct), - FirmwareVersion(FirmwareVersionStruct), SetPingInterval(SetPingIntervalStruct), - SpeedOfSound(SpeedOfSoundStruct), - SetPingEnable(SetPingEnableStruct), - DistanceSimple(DistanceSimpleStruct), - DeviceId(DeviceIdStruct), - ContinuousStart(ContinuousStartStruct), - SetSpeedOfSound(SetSpeedOfSoundStruct), - Distance(DistanceStruct), - SetDeviceId(SetDeviceIdStruct), SetModeAuto(SetModeAutoStruct), + ContinuousStart(ContinuousStartStruct), + GainSetting(GainSettingStruct), + PingInterval(PingIntervalStruct), + SpeedOfSound(SpeedOfSoundStruct), TransmitDuration(TransmitDurationStruct), - PingEnable(PingEnableStruct), + Distance(DistanceStruct), } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] @@ -1060,48 +1060,60 @@

Files

} #[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 = "Enable or disable acoustic measurements."] +pub struct SetPingEnableStruct { + #[doc = "0: Disable, 1: Enable."] + pub ping_enabled: u8, } -impl SerializePayload for ContinuousStopStruct { +impl SerializePayload for SetPingEnableStruct { 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.ping_enabled.to_le_bytes()); buffer } } -impl DeserializePayload for ContinuousStopStruct { +impl DeserializePayload for SetPingEnableStruct { fn deserialize(payload: &[u8]) -> Self { Self { - id: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), + ping_enabled: payload[0usize].into(), } } } #[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 = "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 GainSettingStruct { +impl SerializePayload for FirmwareVersionStruct { 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.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 GainSettingStruct { +impl DeserializePayload for FirmwareVersionStruct { fn deserialize(payload: &[u8]) -> Self { Self { - gain_setting: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + 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"), ), @@ -1110,6 +1122,21 @@

Files

} #[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 { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer + } +} +impl DeserializePayload for GotoBootloaderStruct { + fn deserialize(payload: &[u8]) -> Self { + Self {} + } +} +#[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] #[doc = "General information."] pub struct GeneralInfoStruct { #[doc = "Firmware major version."] @@ -1167,319 +1194,301 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "A profile produced from a single acoustic measurement. The data returned is an array of response strength at even intervals across the scan region. The scan region is defined as the region between <scan_start> and <scan_start + scan_length> millimeters away from the transducer. A distance measurement to the target is also provided."] -pub struct ProfileStruct { - #[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 = "An array of return strength measurements taken at regular intervals across the scan region."] - pub profile_data_length: u16, - pub profile_data: Vec<u8>, +#[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 ProfileStruct { +impl SerializePayload for ModeAutoStruct { 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.profile_data_length.to_le_bytes()); - for value in self.profile_data.iter() { - buffer.extend_from_slice(&value.to_le_bytes()); - } + buffer.extend_from_slice(&self.mode_auto.to_le_bytes()); buffer } } -impl DeserializePayload for ProfileStruct { +impl DeserializePayload for ModeAutoStruct { fn deserialize(payload: &[u8]) -> Self { Self { - distance: 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"), - ), - profile_data_length: payload.len() as u16, - profile_data: payload[24usize..24usize + payload.len()].to_vec(), + mode_auto: payload[0usize].into(), } } } #[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 device ID."] +pub struct DeviceIdStruct { + #[doc = "The device ID (0-254). 255 is reserved for broadcast messages."] + pub device_id: u8, } -impl SerializePayload for PcbTemperatureStruct { +impl SerializePayload for DeviceIdStruct { 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.device_id.to_le_bytes()); buffer } } -impl DeserializePayload for PcbTemperatureStruct { +impl DeserializePayload for DeviceIdStruct { fn deserialize(payload: &[u8]) -> Self { Self { - pcb_temperature: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), + device_id: payload[0usize].into(), } } } #[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, +#[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 RangeStruct { +impl SerializePayload for SetSpeedOfSoundStruct { 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.speed_of_sound.to_le_bytes()); buffer } } -impl DeserializePayload for RangeStruct { +impl DeserializePayload for SetSpeedOfSoundStruct { fn deserialize(payload: &[u8]) -> Self { Self { - scan_start: u32::from_le_bytes( + speed_of_sound: 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"), - ), } } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The 5V rail voltage."] -pub struct Voltage5Struct { - #[doc = "The 5V rail voltage."] - pub voltage_5: u16, +#[doc = "The distance to target with confidence estimate."] +pub struct DistanceSimpleStruct { + #[doc = "Distance to the target."] + pub distance: u32, + #[doc = "Confidence in the distance measurement."] + pub confidence: u8, } -impl SerializePayload for Voltage5Struct { +impl SerializePayload for DistanceSimpleStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.voltage_5.to_le_bytes()); + buffer.extend_from_slice(&self.distance.to_le_bytes()); + buffer.extend_from_slice(&self.confidence.to_le_bytes()); buffer } } -impl DeserializePayload for Voltage5Struct { +impl DeserializePayload for DistanceSimpleStruct { fn deserialize(payload: &[u8]) -> Self { Self { - voltage_5: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + distance: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), + confidence: payload[4usize].into(), } } } #[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 = "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 ModeAutoStruct { +impl SerializePayload for ContinuousStopStruct { 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.id.to_le_bytes()); buffer } } -impl DeserializePayload for ModeAutoStruct { +impl DeserializePayload for ContinuousStopStruct { fn deserialize(payload: &[u8]) -> Self { Self { - mode_auto: payload[0usize].into(), + id: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), } } } #[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(), } } } #[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 = "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 GotoBootloaderStruct { +impl DeserializePayload for PcbTemperatureStruct { fn deserialize(payload: &[u8]) -> Self { - Self {} + Self { + pcb_temperature: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } } } #[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 = "A profile produced from a single acoustic measurement. The data returned is an array of response strength at even intervals across the scan region. The scan region is defined as the region between <scan_start> and <scan_start + scan_length> millimeters away from the transducer. A distance measurement to the target is also provided."] +pub struct ProfileStruct { + #[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 = "An array of return strength measurements taken at regular intervals across the scan region."] + pub profile_data_length: u16, + pub profile_data: Vec<u8>, } -impl SerializePayload for PingIntervalStruct { +impl SerializePayload for ProfileStruct { 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.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.profile_data_length.to_le_bytes()); + for value in self.profile_data.iter() { + buffer.extend_from_slice(&value.to_le_bytes()); + } buffer } } -impl DeserializePayload for PingIntervalStruct { +impl DeserializePayload for ProfileStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ping_interval: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + distance: 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"), ), + profile_data_length: payload.len() as u16, + profile_data: payload[24usize..24usize + payload.len()].to_vec(), } } } #[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 = "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 SetGainSettingStruct { +impl SerializePayload for PingEnableStruct { 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 PingEnableStruct { fn deserialize(payload: &[u8]) -> Self { Self { - gain_setting: payload[0usize].into(), + ping_enabled: payload[0usize].into(), } } } #[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 = "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 FirmwareVersionStruct { +impl SerializePayload for SetRangeStruct { 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.scan_start.to_le_bytes()); + buffer.extend_from_slice(&self.scan_length.to_le_bytes()); buffer } } -impl DeserializePayload for FirmwareVersionStruct { +impl DeserializePayload for SetRangeStruct { 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] + scan_start: u32::from_le_bytes( + payload[0usize..0usize + 4usize] .try_into() .expect("Wrong slice length"), ), - firmware_version_minor: u16::from_le_bytes( - payload[4usize..4usize + 2usize] + scan_length: u32::from_le_bytes( + payload[4usize..4usize + 4usize] .try_into() .expect("Wrong slice length"), ), @@ -1488,23 +1497,31 @@

Files

} #[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 ping_interval: u16, +#[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 SetPingIntervalStruct { +impl SerializePayload for RangeStruct { 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.scan_start.to_le_bytes()); + buffer.extend_from_slice(&self.scan_length.to_le_bytes()); buffer } } -impl DeserializePayload for SetPingIntervalStruct { +impl DeserializePayload for RangeStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ping_interval: u16::from_le_bytes( - payload[0usize..0usize + 2usize] + 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"), ), @@ -1513,23 +1530,23 @@

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 = "The 5V rail voltage."] +pub struct Voltage5Struct { + #[doc = "The 5V rail voltage."] + pub voltage_5: u16, } -impl SerializePayload for SpeedOfSoundStruct { +impl SerializePayload for Voltage5Struct { 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.voltage_5.to_le_bytes()); buffer } } -impl DeserializePayload for SpeedOfSoundStruct { +impl DeserializePayload for Voltage5Struct { fn deserialize(payload: &[u8]) -> Self { Self { - speed_of_sound: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + voltage_5: u16::from_le_bytes( + payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), @@ -1538,72 +1555,68 @@

Files

} #[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, +#[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 SetPingEnableStruct { +impl SerializePayload for SetGainSettingStruct { 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.gain_setting.to_le_bytes()); buffer } } -impl DeserializePayload for SetPingEnableStruct { +impl DeserializePayload for SetGainSettingStruct { fn deserialize(payload: &[u8]) -> Self { Self { - ping_enabled: payload[0usize].into(), + gain_setting: payload[0usize].into(), } } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The distance to target with confidence estimate."] -pub struct DistanceSimpleStruct { - #[doc = "Distance to the target."] - pub distance: u32, - #[doc = "Confidence in the distance measurement."] - pub confidence: u8, +#[doc = "The interval between acoustic measurements."] +pub struct SetPingIntervalStruct { + #[doc = "The interval between acoustic measurements."] + pub ping_interval: u16, } -impl SerializePayload for DistanceSimpleStruct { +impl SerializePayload for SetPingIntervalStruct { 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.ping_interval.to_le_bytes()); buffer } } -impl DeserializePayload for DistanceSimpleStruct { +impl DeserializePayload for SetPingIntervalStruct { fn deserialize(payload: &[u8]) -> Self { Self { - distance: u32::from_le_bytes( - payload[0usize..0usize + 4usize] + ping_interval: u16::from_le_bytes( + payload[0usize..0usize + 2usize] .try_into() .expect("Wrong slice length"), ), - confidence: payload[4usize].into(), } } } #[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, +#[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 DeviceIdStruct { +impl SerializePayload for SetModeAutoStruct { 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.mode_auto.to_le_bytes()); buffer } } -impl DeserializePayload for DeviceIdStruct { +impl DeserializePayload for SetModeAutoStruct { fn deserialize(payload: &[u8]) -> Self { Self { - device_id: payload[0usize].into(), + mode_auto: payload[0usize].into(), } } } @@ -1634,19 +1647,69 @@

Files

} #[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 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 GainSettingStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + gain_setting: u32::from_le_bytes( + payload[0usize..0usize + 4usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +#[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, +} +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 PingIntervalStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + ping_interval: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +#[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, } -impl SerializePayload for SetSpeedOfSoundStruct { +impl SerializePayload for SpeedOfSoundStruct { fn serialize(&self) -> Vec<u8> { let mut buffer: Vec<u8> = Default::default(); buffer.extend_from_slice(&self.speed_of_sound.to_le_bytes()); buffer } } -impl DeserializePayload for SetSpeedOfSoundStruct { +impl DeserializePayload for SpeedOfSoundStruct { fn deserialize(payload: &[u8]) -> Self { Self { speed_of_sound: u32::from_le_bytes( @@ -1659,6 +1722,31 @@

Files

} #[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, +} +impl SerializePayload for TransmitDurationStruct { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); + buffer + } +} +impl DeserializePayload for TransmitDurationStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + transmit_duration: u16::from_le_bytes( + payload[0usize..0usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + } + } +} +#[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."] @@ -1730,183 +1818,95 @@

Files

} } } -#[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, -} -impl SerializePayload for SetDeviceIdStruct { - 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 SetDeviceIdStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - device_id: payload[0usize].into(), - } - } -} -#[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> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.mode_auto.to_le_bytes()); - buffer - } -} -impl DeserializePayload for SetModeAutoStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - mode_auto: payload[0usize].into(), - } - } -} -#[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, -} -impl SerializePayload for TransmitDurationStruct { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer.extend_from_slice(&self.transmit_duration.to_le_bytes()); - buffer - } -} -impl DeserializePayload for TransmitDurationStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - transmit_duration: u16::from_le_bytes( - payload[0usize..0usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - } - } -} -#[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, -} -impl SerializePayload for PingEnableStruct { - 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 PingEnableStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - ping_enabled: payload[0usize].into(), - } - } -} impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { Messages::ProcessorTemperature(..) => "processor_temperature", - Messages::ContinuousStop(..) => "continuous_stop", - Messages::GainSetting(..) => "gain_setting", + Messages::SetPingEnable(..) => "set_ping_enable", + Messages::FirmwareVersion(..) => "firmware_version", + Messages::GotoBootloader(..) => "goto_bootloader", Messages::GeneralInfo(..) => "general_info", - Messages::Profile(..) => "profile", + Messages::ModeAuto(..) => "mode_auto", + Messages::DeviceId(..) => "device_id", + Messages::SetSpeedOfSound(..) => "set_speed_of_sound", + Messages::DistanceSimple(..) => "distance_simple", + Messages::ContinuousStop(..) => "continuous_stop", + Messages::SetDeviceId(..) => "set_device_id", Messages::PcbTemperature(..) => "pcb_temperature", + Messages::Profile(..) => "profile", + Messages::PingEnable(..) => "ping_enable", + Messages::SetRange(..) => "set_range", Messages::Range(..) => "range", Messages::Voltage5(..) => "voltage_5", - Messages::ModeAuto(..) => "mode_auto", - Messages::SetRange(..) => "set_range", - Messages::GotoBootloader(..) => "goto_bootloader", - Messages::PingInterval(..) => "ping_interval", Messages::SetGainSetting(..) => "set_gain_setting", - Messages::FirmwareVersion(..) => "firmware_version", Messages::SetPingInterval(..) => "set_ping_interval", - Messages::SpeedOfSound(..) => "speed_of_sound", - Messages::SetPingEnable(..) => "set_ping_enable", - Messages::DistanceSimple(..) => "distance_simple", - Messages::DeviceId(..) => "device_id", - Messages::ContinuousStart(..) => "continuous_start", - Messages::SetSpeedOfSound(..) => "set_speed_of_sound", - Messages::Distance(..) => "distance", - Messages::SetDeviceId(..) => "set_device_id", Messages::SetModeAuto(..) => "set_mode_auto", + Messages::ContinuousStart(..) => "continuous_start", + Messages::GainSetting(..) => "gain_setting", + Messages::PingInterval(..) => "ping_interval", + Messages::SpeedOfSound(..) => "speed_of_sound", Messages::TransmitDuration(..) => "transmit_duration", - Messages::PingEnable(..) => "ping_enable", + Messages::Distance(..) => "distance", } } fn message_id(&self) -> u16 { match self { Messages::ProcessorTemperature(..) => 1213u16, - Messages::ContinuousStop(..) => 1401u16, - Messages::GainSetting(..) => 1207u16, + Messages::SetPingEnable(..) => 1006u16, + Messages::FirmwareVersion(..) => 1200u16, + Messages::GotoBootloader(..) => 1100u16, Messages::GeneralInfo(..) => 1210u16, - Messages::Profile(..) => 1300u16, + Messages::ModeAuto(..) => 1205u16, + Messages::DeviceId(..) => 1201u16, + Messages::SetSpeedOfSound(..) => 1002u16, + Messages::DistanceSimple(..) => 1211u16, + Messages::ContinuousStop(..) => 1401u16, + Messages::SetDeviceId(..) => 1000u16, Messages::PcbTemperature(..) => 1214u16, + Messages::Profile(..) => 1300u16, + Messages::PingEnable(..) => 1215u16, + Messages::SetRange(..) => 1001u16, Messages::Range(..) => 1204u16, Messages::Voltage5(..) => 1202u16, - Messages::ModeAuto(..) => 1205u16, - Messages::SetRange(..) => 1001u16, - Messages::GotoBootloader(..) => 1100u16, - Messages::PingInterval(..) => 1206u16, Messages::SetGainSetting(..) => 1005u16, - Messages::FirmwareVersion(..) => 1200u16, Messages::SetPingInterval(..) => 1004u16, - Messages::SpeedOfSound(..) => 1203u16, - Messages::SetPingEnable(..) => 1006u16, - Messages::DistanceSimple(..) => 1211u16, - Messages::DeviceId(..) => 1201u16, - Messages::ContinuousStart(..) => 1400u16, - Messages::SetSpeedOfSound(..) => 1002u16, - Messages::Distance(..) => 1212u16, - Messages::SetDeviceId(..) => 1000u16, Messages::SetModeAuto(..) => 1003u16, + Messages::ContinuousStart(..) => 1400u16, + Messages::GainSetting(..) => 1207u16, + Messages::PingInterval(..) => 1206u16, + Messages::SpeedOfSound(..) => 1203u16, Messages::TransmitDuration(..) => 1208u16, - Messages::PingEnable(..) => 1215u16, + Messages::Distance(..) => 1212u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { "processor_temperature" => Ok(1213u16), - "continuous_stop" => Ok(1401u16), - "gain_setting" => Ok(1207u16), + "set_ping_enable" => Ok(1006u16), + "firmware_version" => Ok(1200u16), + "goto_bootloader" => Ok(1100u16), "general_info" => Ok(1210u16), - "profile" => Ok(1300u16), + "mode_auto" => Ok(1205u16), + "device_id" => Ok(1201u16), + "set_speed_of_sound" => Ok(1002u16), + "distance_simple" => Ok(1211u16), + "continuous_stop" => Ok(1401u16), + "set_device_id" => Ok(1000u16), "pcb_temperature" => Ok(1214u16), + "profile" => Ok(1300u16), + "ping_enable" => Ok(1215u16), + "set_range" => Ok(1001u16), "range" => Ok(1204u16), "voltage_5" => Ok(1202u16), - "mode_auto" => Ok(1205u16), - "set_range" => Ok(1001u16), - "goto_bootloader" => Ok(1100u16), - "ping_interval" => Ok(1206u16), "set_gain_setting" => Ok(1005u16), - "firmware_version" => Ok(1200u16), "set_ping_interval" => Ok(1004u16), - "speed_of_sound" => Ok(1203u16), - "set_ping_enable" => Ok(1006u16), - "distance_simple" => Ok(1211u16), - "device_id" => Ok(1201u16), - "continuous_start" => Ok(1400u16), - "set_speed_of_sound" => Ok(1002u16), - "distance" => Ok(1212u16), - "set_device_id" => Ok(1000u16), "set_mode_auto" => Ok(1003u16), + "continuous_start" => Ok(1400u16), + "gain_setting" => Ok(1207u16), + "ping_interval" => Ok(1206u16), + "speed_of_sound" => Ok(1203u16), "transmit_duration" => Ok(1208u16), - "ping_enable" => Ok(1215u16), + "distance" => Ok(1212u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -1915,31 +1915,31 @@

Files

fn serialize(&self) -> Vec<u8> { match self { Messages::ProcessorTemperature(content) => content.serialize(), - Messages::ContinuousStop(content) => content.serialize(), - Messages::GainSetting(content) => content.serialize(), + Messages::SetPingEnable(content) => content.serialize(), + Messages::FirmwareVersion(content) => content.serialize(), + Messages::GotoBootloader(content) => content.serialize(), Messages::GeneralInfo(content) => content.serialize(), - Messages::Profile(content) => content.serialize(), + Messages::ModeAuto(content) => content.serialize(), + Messages::DeviceId(content) => content.serialize(), + Messages::SetSpeedOfSound(content) => content.serialize(), + Messages::DistanceSimple(content) => content.serialize(), + Messages::ContinuousStop(content) => content.serialize(), + Messages::SetDeviceId(content) => content.serialize(), Messages::PcbTemperature(content) => content.serialize(), + Messages::Profile(content) => content.serialize(), + Messages::PingEnable(content) => content.serialize(), + Messages::SetRange(content) => content.serialize(), Messages::Range(content) => content.serialize(), Messages::Voltage5(content) => content.serialize(), - Messages::ModeAuto(content) => content.serialize(), - Messages::SetRange(content) => content.serialize(), - Messages::GotoBootloader(content) => content.serialize(), - Messages::PingInterval(content) => content.serialize(), Messages::SetGainSetting(content) => content.serialize(), - Messages::FirmwareVersion(content) => content.serialize(), Messages::SetPingInterval(content) => content.serialize(), - Messages::SpeedOfSound(content) => content.serialize(), - Messages::SetPingEnable(content) => content.serialize(), - Messages::DistanceSimple(content) => content.serialize(), - Messages::DeviceId(content) => content.serialize(), - Messages::ContinuousStart(content) => content.serialize(), - Messages::SetSpeedOfSound(content) => content.serialize(), - Messages::Distance(content) => content.serialize(), - Messages::SetDeviceId(content) => content.serialize(), Messages::SetModeAuto(content) => content.serialize(), + Messages::ContinuousStart(content) => content.serialize(), + Messages::GainSetting(content) => content.serialize(), + Messages::PingInterval(content) => content.serialize(), + Messages::SpeedOfSound(content) => content.serialize(), Messages::TransmitDuration(content) => content.serialize(), - Messages::PingEnable(content) => content.serialize(), + Messages::Distance(content) => content.serialize(), } } } @@ -1949,31 +1949,31 @@

Files

1213u16 => { Messages::ProcessorTemperature(ProcessorTemperatureStruct::deserialize(payload)) } - 1401u16 => Messages::ContinuousStop(ContinuousStopStruct::deserialize(payload)), - 1207u16 => Messages::GainSetting(GainSettingStruct::deserialize(payload)), + 1006u16 => Messages::SetPingEnable(SetPingEnableStruct::deserialize(payload)), + 1200u16 => Messages::FirmwareVersion(FirmwareVersionStruct::deserialize(payload)), + 1100u16 => Messages::GotoBootloader(GotoBootloaderStruct::deserialize(payload)), 1210u16 => Messages::GeneralInfo(GeneralInfoStruct::deserialize(payload)), - 1300u16 => Messages::Profile(ProfileStruct::deserialize(payload)), + 1205u16 => Messages::ModeAuto(ModeAutoStruct::deserialize(payload)), + 1201u16 => Messages::DeviceId(DeviceIdStruct::deserialize(payload)), + 1002u16 => Messages::SetSpeedOfSound(SetSpeedOfSoundStruct::deserialize(payload)), + 1211u16 => Messages::DistanceSimple(DistanceSimpleStruct::deserialize(payload)), + 1401u16 => Messages::ContinuousStop(ContinuousStopStruct::deserialize(payload)), + 1000u16 => Messages::SetDeviceId(SetDeviceIdStruct::deserialize(payload)), 1214u16 => Messages::PcbTemperature(PcbTemperatureStruct::deserialize(payload)), + 1300u16 => Messages::Profile(ProfileStruct::deserialize(payload)), + 1215u16 => Messages::PingEnable(PingEnableStruct::deserialize(payload)), + 1001u16 => Messages::SetRange(SetRangeStruct::deserialize(payload)), 1204u16 => Messages::Range(RangeStruct::deserialize(payload)), 1202u16 => Messages::Voltage5(Voltage5Struct::deserialize(payload)), - 1205u16 => Messages::ModeAuto(ModeAutoStruct::deserialize(payload)), - 1001u16 => Messages::SetRange(SetRangeStruct::deserialize(payload)), - 1100u16 => Messages::GotoBootloader(GotoBootloaderStruct::deserialize(payload)), - 1206u16 => Messages::PingInterval(PingIntervalStruct::deserialize(payload)), 1005u16 => Messages::SetGainSetting(SetGainSettingStruct::deserialize(payload)), - 1200u16 => Messages::FirmwareVersion(FirmwareVersionStruct::deserialize(payload)), 1004u16 => Messages::SetPingInterval(SetPingIntervalStruct::deserialize(payload)), - 1203u16 => Messages::SpeedOfSound(SpeedOfSoundStruct::deserialize(payload)), - 1006u16 => Messages::SetPingEnable(SetPingEnableStruct::deserialize(payload)), - 1211u16 => Messages::DistanceSimple(DistanceSimpleStruct::deserialize(payload)), - 1201u16 => Messages::DeviceId(DeviceIdStruct::deserialize(payload)), - 1400u16 => Messages::ContinuousStart(ContinuousStartStruct::deserialize(payload)), - 1002u16 => Messages::SetSpeedOfSound(SetSpeedOfSoundStruct::deserialize(payload)), - 1212u16 => Messages::Distance(DistanceStruct::deserialize(payload)), - 1000u16 => Messages::SetDeviceId(SetDeviceIdStruct::deserialize(payload)), 1003u16 => Messages::SetModeAuto(SetModeAutoStruct::deserialize(payload)), + 1400u16 => Messages::ContinuousStart(ContinuousStartStruct::deserialize(payload)), + 1207u16 => Messages::GainSetting(GainSettingStruct::deserialize(payload)), + 1206u16 => Messages::PingInterval(PingIntervalStruct::deserialize(payload)), + 1203u16 => Messages::SpeedOfSound(SpeedOfSoundStruct::deserialize(payload)), 1208u16 => Messages::TransmitDuration(TransmitDurationStruct::deserialize(payload)), - 1215u16 => Messages::PingEnable(PingEnableStruct::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-641107cf86e44b1d/out/ping360.rs.html b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/ping360.rs.html index c75390e54..2f082ac44 100644 --- a/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/ping360.rs.html +++ b/src/ping_rs/home/runner/work/ping-rs/ping-rs/target/debug/build/ping-rs-641107cf86e44b1d/out/ping360.rs.html @@ -496,13 +496,38 @@

Files

#[derive(Debug, Clone, PartialEq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub enum Messages { - AutoDeviceData(AutoDeviceDataStruct), DeviceId(DeviceIdStruct), + AutoDeviceData(AutoDeviceDataStruct), + DeviceData(DeviceDataStruct), Reset(ResetStruct), MotorOff(MotorOffStruct), - DeviceData(DeviceDataStruct), - Transducer(TransducerStruct), AutoTransmit(AutoTransmitStruct), + Transducer(TransducerStruct), +} +#[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(), + } + } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] @@ -604,71 +629,6 @@

Files

} #[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(), - } - } -} -#[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 = "reserved"] - pub reserved: u8, -} -impl SerializePayload for ResetStruct { - 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.reserved.to_le_bytes()); - buffer - } -} -impl DeserializePayload for ResetStruct { - fn deserialize(payload: &[u8]) -> Self { - Self { - bootloader: payload[0usize].into(), - reserved: payload[1usize].into(), - } - } -} -#[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 { - fn serialize(&self) -> Vec<u8> { - let mut buffer: Vec<u8> = Default::default(); - buffer - } -} -impl DeserializePayload for MotorOffStruct { - fn deserialize(payload: &[u8]) -> Self { - Self {} - } -} -#[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)"] @@ -743,14 +703,52 @@

Files

} #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "The transducer will apply the commanded settings. The sonar will reply with a `ping360_data` message. If the `transmit` field is 0, the sonar will not transmit after locating the transducer, and the `data` field in the `ping360_data` message reply will be empty. If the `transmit` field is 1, the sonar will make an acoustic transmission after locating the transducer, and the resulting data will be uploaded in the `data` field of the `ping360_data` message reply. To allow for the worst case reponse time the command timeout should be set to 4000 msec."] -pub struct TransducerStruct { +#[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 ResetStruct { + 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.reserved.to_le_bytes()); + buffer + } +} +impl DeserializePayload for ResetStruct { + fn deserialize(payload: &[u8]) -> Self { + Self { + bootloader: payload[0usize].into(), + reserved: payload[1usize].into(), + } + } +} +#[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 { + fn serialize(&self) -> Vec<u8> { + let mut buffer: Vec<u8> = Default::default(); + buffer + } +} +impl DeserializePayload for MotorOffStruct { + fn deserialize(payload: &[u8]) -> Self { + Self {} + } +} +#[derive(Debug, Clone, PartialEq, Default)] +#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] +#[doc = "Extended *transducer* message with auto-scan function. The sonar will automatically scan the region between start_angle and end_angle and send auto_device_data messages as soon as new data is available. Send a line break to stop scanning (and also begin the autobaudrate procedure). Alternatively, a motor_off message may be sent (but retrys might be necessary on the half-duplex RS485 interface)."] +pub struct AutoTransmitStruct { #[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)"] @@ -759,69 +757,81 @@

Files

pub transmit_frequency: u16, #[doc = "Number of samples per reflected signal"] pub number_of_samples: u16, - #[doc = "0 = do not transmit; 1 = transmit after the transducer has reached the specified angle"] - pub transmit: u8, - #[doc = "reserved"] - pub reserved: u8, + #[doc = "Head angle to begin scan sector for autoscan in gradians (0~399 = 0~360 degrees)."] + pub start_angle: u16, + #[doc = "Head angle to end scan sector for autoscan in gradians (0~399 = 0~360 degrees)."] + pub stop_angle: u16, + #[doc = "Number of 0.9 degree motor steps between pings for auto scan (1~10 = 0.9~9.0 degrees)"] + pub num_steps: u8, + #[doc = "An additional delay between successive transmit pulses (0~100 ms). This may be necessary for some programs to avoid collisions on the RS485 USRT."] + pub delay: u8, } -impl SerializePayload for TransducerStruct { +impl SerializePayload for AutoTransmitStruct { 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.transmit.to_le_bytes()); - buffer.extend_from_slice(&self.reserved.to_le_bytes()); + buffer.extend_from_slice(&self.start_angle.to_le_bytes()); + buffer.extend_from_slice(&self.stop_angle.to_le_bytes()); + buffer.extend_from_slice(&self.num_steps.to_le_bytes()); + buffer.extend_from_slice(&self.delay.to_le_bytes()); buffer } } -impl DeserializePayload for TransducerStruct { +impl DeserializePayload for AutoTransmitStruct { fn deserialize(payload: &[u8]) -> Self { Self { mode: payload[0usize].into(), gain_setting: payload[1usize].into(), - angle: u16::from_le_bytes( + transmit_duration: u16::from_le_bytes( payload[2usize..2usize + 2usize] .try_into() .expect("Wrong slice length"), ), - transmit_duration: u16::from_le_bytes( + sample_period: u16::from_le_bytes( payload[4usize..4usize + 2usize] .try_into() .expect("Wrong slice length"), ), - sample_period: u16::from_le_bytes( + transmit_frequency: u16::from_le_bytes( payload[6usize..6usize + 2usize] .try_into() .expect("Wrong slice length"), ), - transmit_frequency: u16::from_le_bytes( + number_of_samples: u16::from_le_bytes( payload[8usize..8usize + 2usize] .try_into() .expect("Wrong slice length"), ), - number_of_samples: u16::from_le_bytes( + start_angle: u16::from_le_bytes( payload[10usize..10usize + 2usize] .try_into() .expect("Wrong slice length"), ), - transmit: payload[12usize].into(), - reserved: payload[13usize].into(), + stop_angle: u16::from_le_bytes( + payload[12usize..12usize + 2usize] + .try_into() + .expect("Wrong slice length"), + ), + num_steps: payload[14usize].into(), + delay: payload[15usize].into(), } } } #[derive(Debug, Clone, PartialEq, Default)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] -#[doc = "Extended *transducer* message with auto-scan function. The sonar will automatically scan the region between start_angle and end_angle and send auto_device_data messages as soon as new data is available. Send a line break to stop scanning (and also begin the autobaudrate procedure). Alternatively, a motor_off message may be sent (but retrys might be necessary on the half-duplex RS485 interface)."] -pub struct AutoTransmitStruct { +#[doc = "The transducer will apply the commanded settings. The sonar will reply with a `ping360_data` message. If the `transmit` field is 0, the sonar will not transmit after locating the transducer, and the `data` field in the `ping360_data` message reply will be empty. If the `transmit` field is 1, the sonar will make an acoustic transmission after locating the transducer, and the resulting data will be uploaded in the `data` field of the `ping360_data` message reply. To allow for the worst case reponse time the command timeout should be set to 4000 msec."] +pub struct TransducerStruct { #[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)"] @@ -830,103 +840,93 @@

Files

pub transmit_frequency: u16, #[doc = "Number of samples per reflected signal"] pub number_of_samples: u16, - #[doc = "Head angle to begin scan sector for autoscan in gradians (0~399 = 0~360 degrees)."] - pub start_angle: u16, - #[doc = "Head angle to end scan sector for autoscan in gradians (0~399 = 0~360 degrees)."] - pub stop_angle: u16, - #[doc = "Number of 0.9 degree motor steps between pings for auto scan (1~10 = 0.9~9.0 degrees)"] - pub num_steps: u8, - #[doc = "An additional delay between successive transmit pulses (0~100 ms). This may be necessary for some programs to avoid collisions on the RS485 USRT."] - pub delay: u8, + #[doc = "0 = do not transmit; 1 = transmit after the transducer has reached the specified angle"] + pub transmit: u8, + #[doc = "reserved"] + pub reserved: u8, } -impl SerializePayload for AutoTransmitStruct { +impl SerializePayload for TransducerStruct { 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.start_angle.to_le_bytes()); - buffer.extend_from_slice(&self.stop_angle.to_le_bytes()); - buffer.extend_from_slice(&self.num_steps.to_le_bytes()); - buffer.extend_from_slice(&self.delay.to_le_bytes()); + buffer.extend_from_slice(&self.transmit.to_le_bytes()); + buffer.extend_from_slice(&self.reserved.to_le_bytes()); buffer } } -impl DeserializePayload for AutoTransmitStruct { +impl DeserializePayload for TransducerStruct { fn deserialize(payload: &[u8]) -> Self { Self { mode: payload[0usize].into(), gain_setting: payload[1usize].into(), - transmit_duration: u16::from_le_bytes( + angle: u16::from_le_bytes( payload[2usize..2usize + 2usize] .try_into() .expect("Wrong slice length"), ), - sample_period: u16::from_le_bytes( + transmit_duration: u16::from_le_bytes( payload[4usize..4usize + 2usize] .try_into() .expect("Wrong slice length"), ), - transmit_frequency: u16::from_le_bytes( + sample_period: u16::from_le_bytes( payload[6usize..6usize + 2usize] .try_into() .expect("Wrong slice length"), ), - number_of_samples: u16::from_le_bytes( + transmit_frequency: u16::from_le_bytes( payload[8usize..8usize + 2usize] .try_into() .expect("Wrong slice length"), ), - start_angle: u16::from_le_bytes( + number_of_samples: u16::from_le_bytes( payload[10usize..10usize + 2usize] .try_into() .expect("Wrong slice length"), ), - stop_angle: u16::from_le_bytes( - payload[12usize..12usize + 2usize] - .try_into() - .expect("Wrong slice length"), - ), - num_steps: payload[14usize].into(), - delay: payload[15usize].into(), + transmit: payload[12usize].into(), + reserved: payload[13usize].into(), } } } impl PingMessage for Messages { fn message_name(&self) -> &'static str { match self { - Messages::AutoDeviceData(..) => "auto_device_data", Messages::DeviceId(..) => "device_id", + Messages::AutoDeviceData(..) => "auto_device_data", + Messages::DeviceData(..) => "device_data", Messages::Reset(..) => "reset", Messages::MotorOff(..) => "motor_off", - Messages::DeviceData(..) => "device_data", - Messages::Transducer(..) => "transducer", Messages::AutoTransmit(..) => "auto_transmit", + Messages::Transducer(..) => "transducer", } } fn message_id(&self) -> u16 { match self { - Messages::AutoDeviceData(..) => 2301u16, Messages::DeviceId(..) => 2000u16, + Messages::AutoDeviceData(..) => 2301u16, + Messages::DeviceData(..) => 2300u16, Messages::Reset(..) => 2600u16, Messages::MotorOff(..) => 2903u16, - Messages::DeviceData(..) => 2300u16, - Messages::Transducer(..) => 2601u16, Messages::AutoTransmit(..) => 2602u16, + Messages::Transducer(..) => 2601u16, } } fn message_id_from_name(name: &str) -> Result<u16, String> { match name { - "auto_device_data" => Ok(2301u16), "device_id" => Ok(2000u16), + "auto_device_data" => Ok(2301u16), + "device_data" => Ok(2300u16), "reset" => Ok(2600u16), "motor_off" => Ok(2903u16), - "device_data" => Ok(2300u16), - "transducer" => Ok(2601u16), "auto_transmit" => Ok(2602u16), + "transducer" => Ok(2601u16), _ => Err(format!("Failed to find message ID from name: {name}.")), } } @@ -934,26 +934,26 @@

Files

impl SerializePayload for Messages { fn serialize(&self) -> Vec<u8> { match self { - Messages::AutoDeviceData(content) => content.serialize(), Messages::DeviceId(content) => content.serialize(), + Messages::AutoDeviceData(content) => content.serialize(), + Messages::DeviceData(content) => content.serialize(), Messages::Reset(content) => content.serialize(), Messages::MotorOff(content) => content.serialize(), - Messages::DeviceData(content) => content.serialize(), - Messages::Transducer(content) => content.serialize(), Messages::AutoTransmit(content) => content.serialize(), + Messages::Transducer(content) => content.serialize(), } } } impl DeserializeGenericMessage for Messages { fn deserialize(message_id: u16, payload: &[u8]) -> Result<Self, &'static str> { Ok(match message_id { - 2301u16 => Messages::AutoDeviceData(AutoDeviceDataStruct::deserialize(payload)), 2000u16 => Messages::DeviceId(DeviceIdStruct::deserialize(payload)), + 2301u16 => Messages::AutoDeviceData(AutoDeviceDataStruct::deserialize(payload)), + 2300u16 => Messages::DeviceData(DeviceDataStruct::deserialize(payload)), 2600u16 => Messages::Reset(ResetStruct::deserialize(payload)), 2903u16 => Messages::MotorOff(MotorOffStruct::deserialize(payload)), - 2300u16 => Messages::DeviceData(DeviceDataStruct::deserialize(payload)), - 2601u16 => Messages::Transducer(TransducerStruct::deserialize(payload)), 2602u16 => Messages::AutoTransmit(AutoTransmitStruct::deserialize(payload)), + 2601u16 => Messages::Transducer(TransducerStruct::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 349b35b5f..aec691297 100644 --- a/trait.impl/core/clone/trait.Clone.js +++ b/trait.impl/core/clone/trait.Clone.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl Clone for BytesMut"],["impl Clone for Bytes"]], -"ping_rs":[["impl Clone for SetDeviceIdStruct"],["impl Clone for ContinuousStartStruct"],["impl Clone for Messages"],["impl Clone for SetLpfSettingStruct"],["impl Clone for RangeStruct"],["impl Clone for Messages"],["impl Clone for SetCurrentTimeoutStruct"],["impl Clone for ContinuousStopStruct"],["impl Clone for Messages"],["impl Clone for AckStruct"],["impl Clone for SetCellVoltageMinimumStruct"],["impl Clone for ProfileStruct"],["impl Clone for PingProtocolHead"],["impl Clone for AutoDeviceDataStruct"],["impl Clone for CellTimeoutStruct"],["impl Clone for PingIntervalStruct"],["impl Clone for RebootStruct"],["impl Clone for SetPingIntervalStruct"],["impl Clone for SetRangeStruct"],["impl Clone for GeneralInfoStruct"],["impl Clone for DistanceStruct"],["impl Clone for CurrentMaxStruct"],["impl Clone for SetModeAutoStruct"],["impl Clone for SetSpeedOfSoundStruct"],["impl Clone for CurrentTimeoutStruct"],["impl Clone for DeviceIdStruct"],["impl Clone for AutoTransmitStruct"],["impl Clone for ProcessorTemperatureStruct"],["impl Clone for PingEnableStruct"],["impl Clone for FirmwareVersionStruct"],["impl Clone for SetStreamRateStruct"],["impl Clone for Voltage5Struct"],["impl Clone for CellVoltageMinStruct"],["impl Clone for GotoBootloaderStruct"],["impl Clone for SetTemperatureTimeoutStruct"],["impl Clone for DeviceDataStruct"],["impl Clone for TransmitDurationStruct"],["impl Clone for PingProtocolHead"],["impl Clone for GeneralRequestStruct"],["impl Clone for SpeedOfSoundStruct"],["impl Clone for StateStruct"],["impl Clone for EraseFlashStruct"],["impl Clone for SetPingEnableStruct"],["impl Clone for AsciiTextStruct"],["impl Clone for SetCurrentMaxStruct"],["impl Clone for SetCellVoltageTimeoutStruct"],["impl Clone for ResetDefaultsStruct"],["impl Clone for PcbTemperatureStruct"],["impl Clone for DeviceInformationStruct"],["impl Clone for ResetStruct"],["impl Clone for ProtocolVersionStruct"],["impl Clone for MotorOffStruct"],["impl Clone for PingProtocolHead"],["impl Clone for GainSettingStruct"],["impl Clone for SetGainSettingStruct"],["impl Clone for EventsStruct"],["impl Clone for ModeAutoStruct"],["impl Clone for DistanceSimpleStruct"],["impl Clone for TransducerStruct"],["impl Clone for ProtocolMessage"],["impl Clone for DeviceIdStruct"],["impl Clone for SetLpfSampleFrequencyStruct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for NackStruct"],["impl Clone for TemperatureTimeoutStruct"],["impl Clone for TemperatureMaxStruct"],["impl Clone for Messages"],["impl Clone for PingProtocolHead"],["impl Clone for SetTemperatureMaxStruct"]] +"ping_rs":[["impl Clone for ProtocolVersionStruct"],["impl Clone for SetModeAutoStruct"],["impl Clone for Messages"],["impl Clone for SetTemperatureMaxStruct"],["impl Clone for DeviceIdStruct"],["impl Clone for Messages"],["impl Clone for CellVoltageMinStruct"],["impl Clone for SetPingEnableStruct"],["impl Clone for Messages"],["impl Clone for DeviceInformationStruct"],["impl Clone for SetStreamRateStruct"],["impl Clone for GeneralInfoStruct"],["impl Clone for PingProtocolHead"],["impl Clone for DeviceIdStruct"],["impl Clone for SetCurrentMaxStruct"],["impl Clone for PcbTemperatureStruct"],["impl Clone for SetCellVoltageTimeoutStruct"],["impl Clone for SetRangeStruct"],["impl Clone for ContinuousStopStruct"],["impl Clone for GotoBootloaderStruct"],["impl Clone for GainSettingStruct"],["impl Clone for CurrentMaxStruct"],["impl Clone for SpeedOfSoundStruct"],["impl Clone for ContinuousStartStruct"],["impl Clone for SetLpfSettingStruct"],["impl Clone for SetPingIntervalStruct"],["impl Clone for TransducerStruct"],["impl Clone for ProcessorTemperatureStruct"],["impl Clone for DistanceStruct"],["impl Clone for PingEnableStruct"],["impl Clone for TemperatureTimeoutStruct"],["impl Clone for SetSpeedOfSoundStruct"],["impl Clone for SetCurrentTimeoutStruct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for SetCellVoltageMinimumStruct"],["impl Clone for MotorOffStruct"],["impl Clone for TransmitDurationStruct"],["impl Clone for PingProtocolHead"],["impl Clone for GeneralRequestStruct"],["impl Clone for RangeStruct"],["impl Clone for SetTemperatureTimeoutStruct"],["impl Clone for EventsStruct"],["impl Clone for Voltage5Struct"],["impl Clone for SetDeviceIdStruct"],["impl Clone for RebootStruct"],["impl Clone for CurrentTimeoutStruct"],["impl Clone for EraseFlashStruct"],["impl Clone for ModeAutoStruct"],["impl Clone for NackStruct"],["impl Clone for DeviceDataStruct"],["impl Clone for AsciiTextStruct"],["impl Clone for ResetStruct"],["impl Clone for PingProtocolHead"],["impl Clone for FirmwareVersionStruct"],["impl Clone for ProfileStruct"],["impl Clone for StateStruct"],["impl Clone for DistanceSimpleStruct"],["impl Clone for SetGainSettingStruct"],["impl Clone for AutoTransmitStruct"],["impl Clone for ProtocolMessage"],["impl Clone for AutoDeviceDataStruct"],["impl Clone for TemperatureMaxStruct"],["impl Clone for PingIntervalStruct"],["impl Clone for AckStruct"],["impl Clone for CellTimeoutStruct"],["impl Clone for SetLpfSampleFrequencyStruct"],["impl Clone for Messages"],["impl Clone for PingProtocolHead"],["impl Clone for ResetDefaultsStruct"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/cmp/trait.PartialEq.js b/trait.impl/core/cmp/trait.PartialEq.js index ec8e74d54..8e9f767e2 100644 --- a/trait.impl/core/cmp/trait.PartialEq.js +++ b/trait.impl/core/cmp/trait.PartialEq.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl PartialEq<Vec<u8>> for BytesMut"],["impl PartialEq<BytesMut> for &str"],["impl PartialEq<str> for BytesMut"],["impl PartialEq<BytesMut> for String"],["impl PartialEq for Bytes"],["impl PartialEq<BytesMut> for str"],["impl PartialEq<Bytes> for BytesMut"],["impl PartialEq<BytesMut> for [u8]"],["impl PartialEq<[u8]> for Bytes"],["impl PartialEq<Vec<u8>> for Bytes"],["impl PartialEq<Bytes> for str"],["impl PartialEq<BytesMut> for Bytes"],["impl PartialEq<Bytes> for [u8]"],["impl PartialEq<Bytes> for &[u8]"],["impl PartialEq<Bytes> for &str"],["impl PartialEq<Bytes> for String"],["impl PartialEq<String> for BytesMut"],["impl PartialEq<String> for Bytes"],["impl PartialEq<BytesMut> for &[u8]"],["impl PartialEq for BytesMut"],["impl PartialEq<str> for Bytes"],["impl PartialEq<[u8]> for BytesMut"],["impl<'a, T: ?Sized> PartialEq<&'a T> for BytesMut
where\n BytesMut: PartialEq<T>,
"],["impl PartialEq<Bytes> for Vec<u8>"],["impl PartialEq<BytesMut> for Vec<u8>"],["impl<'a, T: ?Sized> PartialEq<&'a T> for Bytes
where\n Bytes: PartialEq<T>,
"]], -"ping_rs":[["impl PartialEq for SetRangeStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for SetLpfSettingStruct"],["impl PartialEq for MotorOffStruct"],["impl PartialEq for CurrentTimeoutStruct"],["impl PartialEq for CurrentMaxStruct"],["impl PartialEq for Voltage5Struct"],["impl PartialEq for SetCurrentMaxStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for ProtocolVersionStruct"],["impl PartialEq for DeviceDataStruct"],["impl PartialEq for ProcessorTemperatureStruct"],["impl PartialEq for AutoDeviceDataStruct"],["impl PartialEq for ContinuousStopStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for GeneralInfoStruct"],["impl PartialEq for DistanceStruct"],["impl PartialEq for SetPingEnableStruct"],["impl PartialEq for SetCellVoltageMinimumStruct"],["impl PartialEq for ContinuousStartStruct"],["impl PartialEq for PingIntervalStruct"],["impl PartialEq for ResetDefaultsStruct"],["impl PartialEq for TemperatureMaxStruct"],["impl PartialEq for CellVoltageMinStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for ResetStruct"],["impl PartialEq for SetCurrentTimeoutStruct"],["impl PartialEq for SetSpeedOfSoundStruct"],["impl PartialEq for ModeAutoStruct"],["impl PartialEq for ProfileStruct"],["impl PartialEq for GeneralRequestStruct"],["impl PartialEq for AckStruct"],["impl PartialEq for PingEnableStruct"],["impl PartialEq for TransducerStruct"],["impl PartialEq for SetModeAutoStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for DistanceSimpleStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for FirmwareVersionStruct"],["impl PartialEq for NackStruct"],["impl PartialEq for AutoTransmitStruct"],["impl PartialEq for RebootStruct"],["impl PartialEq for TemperatureTimeoutStruct"],["impl PartialEq for EraseFlashStruct"],["impl PartialEq for GotoBootloaderStruct"],["impl PartialEq for RangeStruct"],["impl PartialEq for SpeedOfSoundStruct"],["impl PartialEq for SetGainSettingStruct"],["impl PartialEq for StateStruct"],["impl PartialEq for EventsStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for Messages"],["impl PartialEq for PcbTemperatureStruct"],["impl PartialEq for DeviceInformationStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for SetPingIntervalStruct"],["impl PartialEq for GainSettingStruct"],["impl PartialEq for TransmitDurationStruct"],["impl PartialEq for Messages"],["impl PartialEq for Messages"],["impl PartialEq for SetLpfSampleFrequencyStruct"],["impl PartialEq for CellTimeoutStruct"],["impl PartialEq for Messages"],["impl PartialEq for SetTemperatureTimeoutStruct"],["impl PartialEq for SetCellVoltageTimeoutStruct"],["impl PartialEq for AsciiTextStruct"],["impl PartialEq for SetStreamRateStruct"],["impl PartialEq for SetTemperatureMaxStruct"]] +"ping_rs":[["impl PartialEq for ContinuousStopStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for SetTemperatureMaxStruct"],["impl PartialEq for ResetStruct"],["impl PartialEq for SetLpfSettingStruct"],["impl PartialEq for CurrentMaxStruct"],["impl PartialEq for SetSpeedOfSoundStruct"],["impl PartialEq for RebootStruct"],["impl PartialEq for AutoDeviceDataStruct"],["impl PartialEq for AsciiTextStruct"],["impl PartialEq for MotorOffStruct"],["impl PartialEq for ProcessorTemperatureStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for SetPingEnableStruct"],["impl PartialEq for SetPingIntervalStruct"],["impl PartialEq for GotoBootloaderStruct"],["impl PartialEq for GainSettingStruct"],["impl PartialEq for Voltage5Struct"],["impl PartialEq for SetStreamRateStruct"],["impl PartialEq for SetModeAutoStruct"],["impl PartialEq for PcbTemperatureStruct"],["impl PartialEq for EraseFlashStruct"],["impl PartialEq for SetLpfSampleFrequencyStruct"],["impl PartialEq for SetCurrentTimeoutStruct"],["impl PartialEq for ProtocolVersionStruct"],["impl PartialEq for DeviceDataStruct"],["impl PartialEq for CellVoltageMinStruct"],["impl PartialEq for ContinuousStartStruct"],["impl PartialEq for DistanceSimpleStruct"],["impl PartialEq for GeneralInfoStruct"],["impl PartialEq for GeneralRequestStruct"],["impl PartialEq for DeviceInformationStruct"],["impl PartialEq for DistanceStruct"],["impl PartialEq for AutoTransmitStruct"],["impl PartialEq for SpeedOfSoundStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for SetGainSettingStruct"],["impl PartialEq for PingIntervalStruct"],["impl PartialEq for PingEnableStruct"],["impl PartialEq for AckStruct"],["impl PartialEq for TransducerStruct"],["impl PartialEq for SetCellVoltageTimeoutStruct"],["impl PartialEq for CellTimeoutStruct"],["impl PartialEq for EventsStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for DeviceIdStruct"],["impl PartialEq for RangeStruct"],["impl PartialEq for ProfileStruct"],["impl PartialEq for SetTemperatureTimeoutStruct"],["impl PartialEq for StateStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for Messages"],["impl PartialEq for ModeAutoStruct"],["impl PartialEq for NackStruct"],["impl PartialEq for PingProtocolHead"],["impl PartialEq for SetRangeStruct"],["impl PartialEq for FirmwareVersionStruct"],["impl PartialEq for TransmitDurationStruct"],["impl PartialEq for Messages"],["impl PartialEq for Messages"],["impl PartialEq for TemperatureMaxStruct"],["impl PartialEq for SetCurrentMaxStruct"],["impl PartialEq for Messages"],["impl PartialEq for SetCellVoltageMinimumStruct"],["impl PartialEq for CurrentTimeoutStruct"],["impl PartialEq for SetDeviceIdStruct"],["impl PartialEq for TemperatureTimeoutStruct"],["impl PartialEq for ResetDefaultsStruct"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/default/trait.Default.js b/trait.impl/core/default/trait.Default.js index ac7b9df23..8409c5e36 100644 --- a/trait.impl/core/default/trait.Default.js +++ b/trait.impl/core/default/trait.Default.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl Default for Bytes"],["impl Default for BytesMut"]], -"ping_rs":[["impl Default for SetTemperatureTimeoutStruct"],["impl Default for SetLpfSettingStruct"],["impl Default for AckStruct"],["impl Default for DeviceInformationStruct"],["impl Default for DeviceIdStruct"],["impl Default for SetTemperatureMaxStruct"],["impl Default for DistanceSimpleStruct"],["impl Default for SetSpeedOfSoundStruct"],["impl Default for EventsStruct"],["impl Default for SetCurrentMaxStruct"],["impl Default for SetCurrentTimeoutStruct"],["impl Default for GainSettingStruct"],["impl Default for SpeedOfSoundStruct"],["impl Default for ContinuousStartStruct"],["impl Default for AutoDeviceDataStruct"],["impl Default for GeneralRequestStruct"],["impl Default for CurrentTimeoutStruct"],["impl Default for SetLpfSampleFrequencyStruct"],["impl Default for RebootStruct"],["impl Default for TransmitDurationStruct"],["impl Default for ProcessorTemperatureStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for AutoTransmitStruct"],["impl Default for NackStruct"],["impl Default for TemperatureTimeoutStruct"],["impl Default for SetRangeStruct"],["impl Default for StateStruct"],["impl Default for DeviceIdStruct"],["impl Default for SetModeAutoStruct"],["impl Default for SetGainSettingStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for DeviceDataStruct"],["impl Default for ProfileStruct"],["impl Default for SetCellVoltageTimeoutStruct"],["impl Default for AsciiTextStruct"],["impl Default for SetPingEnableStruct"],["impl Default for PingProtocolHead"],["impl Default for SetStreamRateStruct"],["impl Default for SetPingIntervalStruct"],["impl Default for FirmwareVersionStruct"],["impl Default for GeneralInfoStruct"],["impl Default for ProtocolVersionStruct"],["impl Default for PingProtocolHead"],["impl Default for CellVoltageMinStruct"],["impl Default for PcbTemperatureStruct"],["impl Default for Voltage5Struct"],["impl Default for CurrentMaxStruct"],["impl Default for ModeAutoStruct"],["impl Default for GotoBootloaderStruct"],["impl Default for TemperatureMaxStruct"],["impl Default for PingIntervalStruct"],["impl Default for PingEnableStruct"],["impl Default for PingProtocolHead"],["impl Default for DistanceStruct"],["impl Default for ProtocolMessage"],["impl Default for PingProtocolHead"],["impl Default for MotorOffStruct"],["impl Default for ResetDefaultsStruct"],["impl Default for TransducerStruct"],["impl Default for RangeStruct"],["impl Default for ResetStruct"],["impl Default for ContinuousStopStruct"],["impl Default for CellTimeoutStruct"],["impl Default for SetCellVoltageMinimumStruct"],["impl Default for EraseFlashStruct"]] +"ping_rs":[["impl Default for SetCellVoltageMinimumStruct"],["impl Default for SetTemperatureMaxStruct"],["impl Default for DeviceInformationStruct"],["impl Default for NackStruct"],["impl Default for SetPingIntervalStruct"],["impl Default for ResetDefaultsStruct"],["impl Default for SetGainSettingStruct"],["impl Default for ContinuousStartStruct"],["impl Default for StateStruct"],["impl Default for RebootStruct"],["impl Default for CellVoltageMinStruct"],["impl Default for FirmwareVersionStruct"],["impl Default for RangeStruct"],["impl Default for SetModeAutoStruct"],["impl Default for DeviceIdStruct"],["impl Default for GeneralRequestStruct"],["impl Default for SetLpfSettingStruct"],["impl Default for TemperatureMaxStruct"],["impl Default for SetCellVoltageTimeoutStruct"],["impl Default for TransmitDurationStruct"],["impl Default for ProcessorTemperatureStruct"],["impl Default for ProtocolVersionStruct"],["impl Default for TransducerStruct"],["impl Default for AckStruct"],["impl Default for CellTimeoutStruct"],["impl Default for ContinuousStopStruct"],["impl Default for SetTemperatureTimeoutStruct"],["impl Default for AutoDeviceDataStruct"],["impl Default for SpeedOfSoundStruct"],["impl Default for ProfileStruct"],["impl Default for PingIntervalStruct"],["impl Default for MotorOffStruct"],["impl Default for GeneralInfoStruct"],["impl Default for CurrentTimeoutStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for Voltage5Struct"],["impl Default for PingProtocolHead"],["impl Default for TemperatureTimeoutStruct"],["impl Default for SetRangeStruct"],["impl Default for PingEnableStruct"],["impl Default for GotoBootloaderStruct"],["impl Default for AsciiTextStruct"],["impl Default for PingProtocolHead"],["impl Default for SetCurrentTimeoutStruct"],["impl Default for ModeAutoStruct"],["impl Default for SetSpeedOfSoundStruct"],["impl Default for CurrentMaxStruct"],["impl Default for DistanceSimpleStruct"],["impl Default for SetDeviceIdStruct"],["impl Default for SetLpfSampleFrequencyStruct"],["impl Default for PcbTemperatureStruct"],["impl Default for DistanceStruct"],["impl Default for PingProtocolHead"],["impl Default for GainSettingStruct"],["impl Default for ProtocolMessage"],["impl Default for PingProtocolHead"],["impl Default for ResetStruct"],["impl Default for EraseFlashStruct"],["impl Default for AutoTransmitStruct"],["impl Default for DeviceIdStruct"],["impl Default for DeviceDataStruct"],["impl Default for SetPingEnableStruct"],["impl Default for SetCurrentMaxStruct"],["impl Default for SetStreamRateStruct"],["impl Default for EventsStruct"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/fmt/trait.Debug.js b/trait.impl/core/fmt/trait.Debug.js index e076d56c3..40d37bf46 100644 --- a/trait.impl/core/fmt/trait.Debug.js +++ b/trait.impl/core/fmt/trait.Debug.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl Debug for BytesMut"],["impl Debug for UninitSlice"],["impl<T: Debug> Debug for IntoIter<T>"],["impl Debug for Bytes"],["impl<T: Debug> Debug for Limit<T>"],["impl<T: Debug, U: Debug> Debug for Chain<T, U>"],["impl<B: Debug> Debug for Reader<B>"],["impl<B: Debug> Debug for Writer<B>"],["impl<T: Debug> Debug for Take<T>"]], -"ping_rs":[["impl Debug for Messages"],["impl Debug for AutoDeviceDataStruct"],["impl Debug for DecoderResult"],["impl Debug for ResetStruct"],["impl Debug for Messages"],["impl Debug for SetCellVoltageTimeoutStruct"],["impl Debug for SetCurrentMaxStruct"],["impl Debug for DistanceStruct"],["impl Debug for EventsStruct"],["impl Debug for PingProtocolHead"],["impl Debug for SetLpfSampleFrequencyStruct"],["impl Debug for SetGainSettingStruct"],["impl Debug for PingEnableStruct"],["impl Debug for RangeStruct"],["impl Debug for SetRangeStruct"],["impl Debug for NackStruct"],["impl Debug for DeviceIdStruct"],["impl Debug for TransmitDurationStruct"],["impl Debug for GotoBootloaderStruct"],["impl Debug for PingIntervalStruct"],["impl Debug for GainSettingStruct"],["impl Debug for AutoTransmitStruct"],["impl Debug for SetLpfSettingStruct"],["impl Debug for PcbTemperatureStruct"],["impl Debug for SetModeAutoStruct"],["impl Debug for SetTemperatureTimeoutStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for PingProtocolHead"],["impl Debug for ProfileStruct"],["impl Debug for RebootStruct"],["impl Debug for GeneralInfoStruct"],["impl Debug for SetStreamRateStruct"],["impl Debug for SetPingEnableStruct"],["impl Debug for SetSpeedOfSoundStruct"],["impl Debug for PingProtocolHead"],["impl Debug for CurrentMaxStruct"],["impl Debug for ContinuousStopStruct"],["impl Debug for DeviceIdStruct"],["impl Debug for Voltage5Struct"],["impl Debug for DeviceInformationStruct"],["impl Debug for MotorOffStruct"],["impl Debug for AsciiTextStruct"],["impl Debug for PingProtocolHead"],["impl Debug for Messages"],["impl Debug for ProcessorTemperatureStruct"],["impl Debug for SpeedOfSoundStruct"],["impl Debug for SetTemperatureMaxStruct"],["impl Debug for ModeAutoStruct"],["impl Debug for ParseError"],["impl Debug for TemperatureMaxStruct"],["impl Debug for ContinuousStartStruct"],["impl Debug for TransducerStruct"],["impl Debug for StateStruct"],["impl Debug for CellVoltageMinStruct"],["impl Debug for AckStruct"],["impl Debug for GeneralRequestStruct"],["impl Debug for Messages"],["impl Debug for FirmwareVersionStruct"],["impl Debug for SetCurrentTimeoutStruct"],["impl Debug for ProtocolVersionStruct"],["impl Debug for EraseFlashStruct"],["impl Debug for ProtocolMessage"],["impl Debug for SetPingIntervalStruct"],["impl Debug for CurrentTimeoutStruct"],["impl Debug for TemperatureTimeoutStruct"],["impl Debug for CellTimeoutStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for DistanceSimpleStruct"],["impl Debug for SetCellVoltageMinimumStruct"],["impl Debug for DecoderState"],["impl Debug for ResetDefaultsStruct"],["impl Debug for DeviceDataStruct"]] +"ping_rs":[["impl Debug for Messages"],["impl Debug for DeviceIdStruct"],["impl Debug for DecoderResult"],["impl Debug for DeviceDataStruct"],["impl Debug for Messages"],["impl Debug for CurrentTimeoutStruct"],["impl Debug for RebootStruct"],["impl Debug for GainSettingStruct"],["impl Debug for StateStruct"],["impl Debug for PingProtocolHead"],["impl Debug for TemperatureMaxStruct"],["impl Debug for ProfileStruct"],["impl Debug for DistanceStruct"],["impl Debug for DeviceIdStruct"],["impl Debug for ContinuousStopStruct"],["impl Debug for AckStruct"],["impl Debug for AutoDeviceDataStruct"],["impl Debug for TransmitDurationStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for PcbTemperatureStruct"],["impl Debug for FirmwareVersionStruct"],["impl Debug for TransducerStruct"],["impl Debug for SetTemperatureMaxStruct"],["impl Debug for ModeAutoStruct"],["impl Debug for SpeedOfSoundStruct"],["impl Debug for SetCellVoltageMinimumStruct"],["impl Debug for ProtocolVersionStruct"],["impl Debug for PingProtocolHead"],["impl Debug for GeneralInfoStruct"],["impl Debug for SetCellVoltageTimeoutStruct"],["impl Debug for GotoBootloaderStruct"],["impl Debug for TemperatureTimeoutStruct"],["impl Debug for Voltage5Struct"],["impl Debug for ContinuousStartStruct"],["impl Debug for PingProtocolHead"],["impl Debug for CurrentMaxStruct"],["impl Debug for SetPingEnableStruct"],["impl Debug for SetPingIntervalStruct"],["impl Debug for SetSpeedOfSoundStruct"],["impl Debug for NackStruct"],["impl Debug for ResetStruct"],["impl Debug for SetDeviceIdStruct"],["impl Debug for PingProtocolHead"],["impl Debug for Messages"],["impl Debug for ProcessorTemperatureStruct"],["impl Debug for RangeStruct"],["impl Debug for ResetDefaultsStruct"],["impl Debug for DistanceSimpleStruct"],["impl Debug for ParseError"],["impl Debug for SetLpfSampleFrequencyStruct"],["impl Debug for SetModeAutoStruct"],["impl Debug for AutoTransmitStruct"],["impl Debug for SetTemperatureTimeoutStruct"],["impl Debug for SetCurrentTimeoutStruct"],["impl Debug for DeviceInformationStruct"],["impl Debug for GeneralRequestStruct"],["impl Debug for Messages"],["impl Debug for PingEnableStruct"],["impl Debug for CellVoltageMinStruct"],["impl Debug for AsciiTextStruct"],["impl Debug for EventsStruct"],["impl Debug for ProtocolMessage"],["impl Debug for SetRangeStruct"],["impl Debug for SetLpfSettingStruct"],["impl Debug for CellTimeoutStruct"],["impl Debug for SetCurrentMaxStruct"],["impl Debug for PingIntervalStruct"],["impl Debug for SetGainSettingStruct"],["impl Debug for SetStreamRateStruct"],["impl Debug for DecoderState"],["impl Debug for EraseFlashStruct"],["impl Debug for MotorOffStruct"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Freeze.js b/trait.impl/core/marker/trait.Freeze.js index 5455bda93..5bb64b74d 100644 --- a/trait.impl/core/marker/trait.Freeze.js +++ b/trait.impl/core/marker/trait.Freeze.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl<T, U> Freeze for Chain<T, U>
where\n T: Freeze,\n U: Freeze,
",1,["bytes::buf::chain::Chain"]],["impl<T> Freeze for IntoIter<T>
where\n T: Freeze,
",1,["bytes::buf::iter::IntoIter"]],["impl<T> Freeze for Limit<T>
where\n T: Freeze,
",1,["bytes::buf::limit::Limit"]],["impl<B> Freeze for Reader<B>
where\n B: Freeze,
",1,["bytes::buf::reader::Reader"]],["impl<T> Freeze for Take<T>
where\n T: Freeze,
",1,["bytes::buf::take::Take"]],["impl Freeze for UninitSlice",1,["bytes::buf::uninit_slice::UninitSlice"]],["impl<B> Freeze for Writer<B>
where\n B: Freeze,
",1,["bytes::buf::writer::Writer"]],["impl !Freeze for Bytes",1,["bytes::bytes::Bytes"]],["impl Freeze for BytesMut",1,["bytes::bytes_mut::BytesMut"]]], -"ping_rs":[["impl Freeze for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::common::Messages"]],["impl Freeze for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Freeze for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Freeze for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Freeze for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["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::ping360::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping360::Messages"]],["impl Freeze for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Freeze for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Freeze for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Freeze for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Freeze for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Freeze for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::bluebps::Messages"]],["impl Freeze for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Freeze for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Freeze for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Freeze for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Freeze for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Freeze for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Freeze for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Freeze for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Freeze for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Freeze for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Freeze for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Freeze for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Freeze for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Freeze for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Freeze for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Freeze for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Freeze for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Freeze for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Freeze for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Freeze for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping1d::Messages"]],["impl Freeze for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Freeze for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Freeze for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Freeze for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Freeze for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Freeze for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Freeze for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Freeze for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Freeze for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Freeze for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Freeze for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Freeze for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Freeze for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Freeze for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Freeze for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Freeze for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Freeze for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Freeze for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Freeze for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Freeze for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Freeze for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Freeze for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Freeze for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Freeze for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["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 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 AckStruct",1,["ping_rs::common::AckStruct"]],["impl Freeze for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Freeze for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Freeze for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Freeze for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Freeze for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping360::Messages"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Freeze for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Freeze for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Freeze for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Freeze for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Freeze for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Freeze for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::bluebps::Messages"]],["impl Freeze for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Freeze for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Freeze for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Freeze for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Freeze for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Freeze for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Freeze for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Freeze for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Freeze for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Freeze for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Freeze for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Freeze for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Freeze for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Freeze for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Freeze for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Freeze for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Freeze for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Freeze for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Freeze for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Freeze for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Freeze for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Freeze for Messages",1,["ping_rs::ping1d::Messages"]],["impl Freeze for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Freeze for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Freeze for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Freeze for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Freeze for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Freeze for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Freeze for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Freeze for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Freeze for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Freeze for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Freeze for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Freeze for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Freeze for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Freeze for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Freeze for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Freeze for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Freeze for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Freeze for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Freeze for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Freeze for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Freeze for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Freeze for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Freeze for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Freeze for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Freeze for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Freeze for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["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 ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Freeze for Messages",1,["ping_rs::Messages"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Send.js b/trait.impl/core/marker/trait.Send.js index 5beb383f3..cef10e2be 100644 --- a/trait.impl/core/marker/trait.Send.js +++ b/trait.impl/core/marker/trait.Send.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl<T, U> Send for Chain<T, U>
where\n T: Send,\n U: Send,
",1,["bytes::buf::chain::Chain"]],["impl<T> Send for IntoIter<T>
where\n T: Send,
",1,["bytes::buf::iter::IntoIter"]],["impl<T> Send for Limit<T>
where\n T: Send,
",1,["bytes::buf::limit::Limit"]],["impl<B> Send for Reader<B>
where\n B: Send,
",1,["bytes::buf::reader::Reader"]],["impl<T> Send for Take<T>
where\n T: Send,
",1,["bytes::buf::take::Take"]],["impl Send for UninitSlice",1,["bytes::buf::uninit_slice::UninitSlice"]],["impl<B> Send for Writer<B>
where\n B: Send,
",1,["bytes::buf::writer::Writer"]],["impl Send for Bytes"],["impl Send for BytesMut"]], -"ping_rs":[["impl Send for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::common::Messages"]],["impl Send for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Send for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Send for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Send for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["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::ping360::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping360::Messages"]],["impl Send for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Send for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Send for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Send for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Send for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Send for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::bluebps::Messages"]],["impl Send for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Send for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Send for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Send for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Send for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Send for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Send for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Send for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Send for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Send for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Send for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Send for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Send for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Send for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Send for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Send for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Send for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Send for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Send for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Send for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping1d::Messages"]],["impl Send for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Send for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Send for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Send for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Send for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Send for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Send for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Send for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Send for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Send for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Send for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Send for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Send for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Send for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Send for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Send for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Send for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Send for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Send for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Send for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Send for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Send for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Send for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Send for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["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 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 AckStruct",1,["ping_rs::common::AckStruct"]],["impl Send for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Send for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Send for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Send for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Send for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping360::Messages"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Send for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Send for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Send for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Send for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Send for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Send for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::bluebps::Messages"]],["impl Send for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Send for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Send for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Send for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Send for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Send for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Send for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Send for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Send for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Send for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Send for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Send for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Send for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Send for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Send for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Send for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Send for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Send for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Send for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Send for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Send for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Send for Messages",1,["ping_rs::ping1d::Messages"]],["impl Send for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Send for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Send for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Send for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Send for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Send for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Send for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Send for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Send for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Send for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Send for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Send for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Send for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Send for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Send for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Send for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Send for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Send for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Send for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Send for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Send for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Send for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Send for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Send for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Send for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Send for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["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 ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Send for Messages",1,["ping_rs::Messages"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.StructuralPartialEq.js b/trait.impl/core/marker/trait.StructuralPartialEq.js index 69283394a..94656354a 100644 --- a/trait.impl/core/marker/trait.StructuralPartialEq.js +++ b/trait.impl/core/marker/trait.StructuralPartialEq.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"ping_rs":[["impl StructuralPartialEq for CurrentTimeoutStruct"],["impl StructuralPartialEq for CellVoltageMinStruct"],["impl StructuralPartialEq for TransmitDurationStruct"],["impl StructuralPartialEq for ResetDefaultsStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for RangeStruct"],["impl StructuralPartialEq for SetLpfSampleFrequencyStruct"],["impl StructuralPartialEq for SetLpfSettingStruct"],["impl StructuralPartialEq for ContinuousStopStruct"],["impl StructuralPartialEq for NackStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for SetCellVoltageTimeoutStruct"],["impl StructuralPartialEq for PcbTemperatureStruct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for TemperatureTimeoutStruct"],["impl StructuralPartialEq for DeviceInformationStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for SetSpeedOfSoundStruct"],["impl StructuralPartialEq for PingIntervalStruct"],["impl StructuralPartialEq for ContinuousStartStruct"],["impl StructuralPartialEq for SetGainSettingStruct"],["impl StructuralPartialEq for AckStruct"],["impl StructuralPartialEq for ModeAutoStruct"],["impl StructuralPartialEq for GainSettingStruct"],["impl StructuralPartialEq for CurrentMaxStruct"],["impl StructuralPartialEq for ResetStruct"],["impl StructuralPartialEq for TransducerStruct"],["impl StructuralPartialEq for SetCellVoltageMinimumStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for TemperatureMaxStruct"],["impl StructuralPartialEq for ProfileStruct"],["impl StructuralPartialEq for MotorOffStruct"],["impl StructuralPartialEq for SetPingIntervalStruct"],["impl StructuralPartialEq for AutoDeviceDataStruct"],["impl StructuralPartialEq for SetModeAutoStruct"],["impl StructuralPartialEq for GeneralInfoStruct"],["impl StructuralPartialEq for SetTemperatureTimeoutStruct"],["impl StructuralPartialEq for Voltage5Struct"],["impl StructuralPartialEq for RebootStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for DistanceStruct"],["impl StructuralPartialEq for GeneralRequestStruct"],["impl StructuralPartialEq for GotoBootloaderStruct"],["impl StructuralPartialEq for SetRangeStruct"],["impl StructuralPartialEq for SetStreamRateStruct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for CellTimeoutStruct"],["impl StructuralPartialEq for ProtocolVersionStruct"],["impl StructuralPartialEq for SpeedOfSoundStruct"],["impl StructuralPartialEq for DeviceDataStruct"],["impl StructuralPartialEq for PingEnableStruct"],["impl StructuralPartialEq for StateStruct"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for EraseFlashStruct"],["impl StructuralPartialEq for SetCurrentTimeoutStruct"],["impl StructuralPartialEq for SetCurrentMaxStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for DistanceSimpleStruct"],["impl StructuralPartialEq for SetPingEnableStruct"],["impl StructuralPartialEq for AsciiTextStruct"],["impl StructuralPartialEq for AutoTransmitStruct"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for SetTemperatureMaxStruct"],["impl StructuralPartialEq for EventsStruct"],["impl StructuralPartialEq for ProcessorTemperatureStruct"],["impl StructuralPartialEq for FirmwareVersionStruct"]] +"ping_rs":[["impl StructuralPartialEq for SetLpfSettingStruct"],["impl StructuralPartialEq for SetCurrentTimeoutStruct"],["impl StructuralPartialEq for TransmitDurationStruct"],["impl StructuralPartialEq for EraseFlashStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for TemperatureMaxStruct"],["impl StructuralPartialEq for SetTemperatureMaxStruct"],["impl StructuralPartialEq for SetPingEnableStruct"],["impl StructuralPartialEq for AckStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for CurrentTimeoutStruct"],["impl StructuralPartialEq for ModeAutoStruct"],["impl StructuralPartialEq for ProtocolVersionStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for CellTimeoutStruct"],["impl StructuralPartialEq for NackStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for ContinuousStartStruct"],["impl StructuralPartialEq for PcbTemperatureStruct"],["impl StructuralPartialEq for SetModeAutoStruct"],["impl StructuralPartialEq for ProfileStruct"],["impl StructuralPartialEq for DeviceInformationStruct"],["impl StructuralPartialEq for DistanceSimpleStruct"],["impl StructuralPartialEq for FirmwareVersionStruct"],["impl StructuralPartialEq for CurrentMaxStruct"],["impl StructuralPartialEq for DeviceDataStruct"],["impl StructuralPartialEq for AutoTransmitStruct"],["impl StructuralPartialEq for SetStreamRateStruct"],["impl StructuralPartialEq for Messages"],["impl StructuralPartialEq for SetLpfSampleFrequencyStruct"],["impl StructuralPartialEq for GeneralInfoStruct"],["impl StructuralPartialEq for ResetStruct"],["impl StructuralPartialEq for SetRangeStruct"],["impl StructuralPartialEq for DeviceIdStruct"],["impl StructuralPartialEq for SpeedOfSoundStruct"],["impl StructuralPartialEq for GotoBootloaderStruct"],["impl StructuralPartialEq for SetCellVoltageMinimumStruct"],["impl StructuralPartialEq for SetSpeedOfSoundStruct"],["impl StructuralPartialEq for SetCellVoltageTimeoutStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for GainSettingStruct"],["impl StructuralPartialEq for GeneralRequestStruct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for ContinuousStopStruct"],["impl StructuralPartialEq for TemperatureTimeoutStruct"],["impl StructuralPartialEq for PingIntervalStruct"],["impl StructuralPartialEq for SetCurrentMaxStruct"],["impl StructuralPartialEq for AsciiTextStruct"],["impl StructuralPartialEq for RangeStruct"],["impl StructuralPartialEq for MotorOffStruct"],["impl StructuralPartialEq for DistanceStruct"],["impl StructuralPartialEq for SetTemperatureTimeoutStruct"],["impl StructuralPartialEq for AutoDeviceDataStruct"],["impl StructuralPartialEq for EventsStruct"],["impl StructuralPartialEq for CellVoltageMinStruct"],["impl StructuralPartialEq for RebootStruct"],["impl StructuralPartialEq for PingProtocolHead"],["impl StructuralPartialEq for SetGainSettingStruct"],["impl StructuralPartialEq for Voltage5Struct"],["impl StructuralPartialEq for SetDeviceIdStruct"],["impl StructuralPartialEq for TransducerStruct"],["impl StructuralPartialEq for SetPingIntervalStruct"],["impl StructuralPartialEq for ResetDefaultsStruct"],["impl StructuralPartialEq for StateStruct"],["impl StructuralPartialEq for ProcessorTemperatureStruct"],["impl StructuralPartialEq for PingEnableStruct"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Sync.js b/trait.impl/core/marker/trait.Sync.js index 889abf10b..2ce821c95 100644 --- a/trait.impl/core/marker/trait.Sync.js +++ b/trait.impl/core/marker/trait.Sync.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl<T, U> Sync for Chain<T, U>
where\n T: Sync,\n U: Sync,
",1,["bytes::buf::chain::Chain"]],["impl<T> Sync for IntoIter<T>
where\n T: Sync,
",1,["bytes::buf::iter::IntoIter"]],["impl<T> Sync for Limit<T>
where\n T: Sync,
",1,["bytes::buf::limit::Limit"]],["impl<B> Sync for Reader<B>
where\n B: Sync,
",1,["bytes::buf::reader::Reader"]],["impl<T> Sync for Take<T>
where\n T: Sync,
",1,["bytes::buf::take::Take"]],["impl Sync for UninitSlice",1,["bytes::buf::uninit_slice::UninitSlice"]],["impl<B> Sync for Writer<B>
where\n B: Sync,
",1,["bytes::buf::writer::Writer"]],["impl Sync for BytesMut"],["impl Sync for Bytes"]], -"ping_rs":[["impl Sync for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::common::Messages"]],["impl Sync for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Sync for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Sync for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Sync for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["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::ping360::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping360::Messages"]],["impl Sync for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Sync for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Sync for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Sync for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Sync for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Sync for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::bluebps::Messages"]],["impl Sync for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Sync for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Sync for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Sync for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Sync for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Sync for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Sync for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Sync for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Sync for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Sync for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Sync for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Sync for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Sync for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Sync for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Sync for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Sync for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Sync for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Sync for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Sync for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Sync for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping1d::Messages"]],["impl Sync for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Sync for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Sync for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Sync for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Sync for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Sync for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Sync for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Sync for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Sync for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Sync for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Sync for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Sync for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Sync for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Sync for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Sync for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Sync for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Sync for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Sync for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Sync for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Sync for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Sync for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Sync for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Sync for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Sync for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["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 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 AckStruct",1,["ping_rs::common::AckStruct"]],["impl Sync for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Sync for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Sync for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Sync for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Sync for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping360::Messages"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Sync for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Sync for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Sync for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Sync for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Sync for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Sync for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::bluebps::Messages"]],["impl Sync for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Sync for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Sync for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Sync for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Sync for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Sync for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Sync for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Sync for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Sync for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Sync for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Sync for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Sync for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Sync for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Sync for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Sync for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Sync for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Sync for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Sync for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Sync for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Sync for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Sync for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Sync for Messages",1,["ping_rs::ping1d::Messages"]],["impl Sync for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Sync for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Sync for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Sync for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Sync for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Sync for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Sync for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Sync for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Sync for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Sync for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Sync for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Sync for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Sync for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Sync for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Sync for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Sync for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Sync for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Sync for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Sync for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Sync for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Sync for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Sync for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Sync for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Sync for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Sync for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Sync for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["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 ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Sync for Messages",1,["ping_rs::Messages"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/marker/trait.Unpin.js b/trait.impl/core/marker/trait.Unpin.js index b455d901b..c17d4cd69 100644 --- a/trait.impl/core/marker/trait.Unpin.js +++ b/trait.impl/core/marker/trait.Unpin.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl<T, U> Unpin for Chain<T, U>
where\n T: Unpin,\n U: Unpin,
",1,["bytes::buf::chain::Chain"]],["impl<T> Unpin for IntoIter<T>
where\n T: Unpin,
",1,["bytes::buf::iter::IntoIter"]],["impl<T> Unpin for Limit<T>
where\n T: Unpin,
",1,["bytes::buf::limit::Limit"]],["impl<B> Unpin for Reader<B>
where\n B: Unpin,
",1,["bytes::buf::reader::Reader"]],["impl<T> Unpin for Take<T>
where\n T: Unpin,
",1,["bytes::buf::take::Take"]],["impl Unpin for UninitSlice",1,["bytes::buf::uninit_slice::UninitSlice"]],["impl<B> Unpin for Writer<B>
where\n B: Unpin,
",1,["bytes::buf::writer::Writer"]],["impl Unpin for Bytes",1,["bytes::bytes::Bytes"]],["impl Unpin for BytesMut",1,["bytes::bytes_mut::BytesMut"]]], -"ping_rs":[["impl Unpin for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::common::Messages"]],["impl Unpin for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Unpin for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Unpin for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Unpin for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["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::ping360::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping360::Messages"]],["impl Unpin for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Unpin for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Unpin for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Unpin for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Unpin for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Unpin for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::bluebps::Messages"]],["impl Unpin for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Unpin for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Unpin for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Unpin for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Unpin for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Unpin for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Unpin for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Unpin for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Unpin for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Unpin for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Unpin for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Unpin for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Unpin for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Unpin for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Unpin for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Unpin for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Unpin for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Unpin for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Unpin for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Unpin for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping1d::Messages"]],["impl Unpin for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Unpin for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Unpin for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Unpin for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Unpin for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Unpin for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Unpin for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Unpin for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Unpin for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Unpin for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Unpin for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Unpin for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Unpin for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Unpin for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Unpin for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Unpin for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Unpin for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Unpin for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Unpin for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Unpin for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Unpin for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Unpin for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Unpin for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Unpin for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["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 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 AckStruct",1,["ping_rs::common::AckStruct"]],["impl Unpin for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl Unpin for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl Unpin for NackStruct",1,["ping_rs::common::NackStruct"]],["impl Unpin for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl Unpin for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping360::Messages"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl Unpin for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl Unpin for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl Unpin for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl Unpin for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl Unpin for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl Unpin for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::bluebps::Messages"]],["impl Unpin for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl Unpin for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl Unpin for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl Unpin for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl Unpin for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl Unpin for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl Unpin for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl Unpin for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl Unpin for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl Unpin for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl Unpin for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl Unpin for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl Unpin for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl Unpin for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl Unpin for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl Unpin for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl Unpin for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl Unpin for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl Unpin for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl Unpin for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl Unpin for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl Unpin for Messages",1,["ping_rs::ping1d::Messages"]],["impl Unpin for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl Unpin for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl Unpin for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl Unpin for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl Unpin for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl Unpin for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl Unpin for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl Unpin for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl Unpin for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl Unpin for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl Unpin for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl Unpin for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl Unpin for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl Unpin for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl Unpin for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl Unpin for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl Unpin for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl Unpin for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl Unpin for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl Unpin for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl Unpin for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl Unpin for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl Unpin for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl Unpin for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl Unpin for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl Unpin for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["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 ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl Unpin for Messages",1,["ping_rs::Messages"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js index e7561f119..e373f7773 100644 --- a/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl<T, U> RefUnwindSafe for Chain<T, U>
where\n T: RefUnwindSafe,\n U: RefUnwindSafe,
",1,["bytes::buf::chain::Chain"]],["impl<T> RefUnwindSafe for IntoIter<T>
where\n T: RefUnwindSafe,
",1,["bytes::buf::iter::IntoIter"]],["impl<T> RefUnwindSafe for Limit<T>
where\n T: RefUnwindSafe,
",1,["bytes::buf::limit::Limit"]],["impl<B> RefUnwindSafe for Reader<B>
where\n B: RefUnwindSafe,
",1,["bytes::buf::reader::Reader"]],["impl<T> RefUnwindSafe for Take<T>
where\n T: RefUnwindSafe,
",1,["bytes::buf::take::Take"]],["impl RefUnwindSafe for UninitSlice",1,["bytes::buf::uninit_slice::UninitSlice"]],["impl<B> RefUnwindSafe for Writer<B>
where\n B: RefUnwindSafe,
",1,["bytes::buf::writer::Writer"]],["impl RefUnwindSafe for Bytes",1,["bytes::bytes::Bytes"]],["impl RefUnwindSafe for BytesMut",1,["bytes::bytes_mut::BytesMut"]]], -"ping_rs":[["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::common::Messages"]],["impl RefUnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl RefUnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl RefUnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl RefUnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["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::ping360::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl RefUnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl RefUnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl RefUnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl RefUnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl RefUnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl RefUnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl RefUnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl RefUnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl RefUnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl RefUnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl RefUnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl RefUnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl RefUnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl RefUnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl RefUnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl RefUnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl RefUnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl RefUnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl RefUnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl RefUnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl RefUnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl RefUnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl RefUnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl RefUnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl RefUnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl RefUnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl RefUnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl RefUnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl RefUnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl RefUnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl RefUnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl RefUnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl RefUnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl RefUnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl RefUnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl RefUnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl RefUnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl RefUnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl RefUnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl RefUnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl RefUnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl RefUnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl RefUnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl RefUnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl RefUnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl RefUnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl RefUnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl RefUnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl RefUnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl RefUnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["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 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 AckStruct",1,["ping_rs::common::AckStruct"]],["impl RefUnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl RefUnwindSafe for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl RefUnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl RefUnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl RefUnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl RefUnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl RefUnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl RefUnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl RefUnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl RefUnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl RefUnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl RefUnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl RefUnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl RefUnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl RefUnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl RefUnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl RefUnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl RefUnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl RefUnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl RefUnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl RefUnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl RefUnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl RefUnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl RefUnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl RefUnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl RefUnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl RefUnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl RefUnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl RefUnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl RefUnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl RefUnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl RefUnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl RefUnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl RefUnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl RefUnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl RefUnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl RefUnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl RefUnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl RefUnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl RefUnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl RefUnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl RefUnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl RefUnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl RefUnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl RefUnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl RefUnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl RefUnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl RefUnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl RefUnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl RefUnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl RefUnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl RefUnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl RefUnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl RefUnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl RefUnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl RefUnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl RefUnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl RefUnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl RefUnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["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 ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl RefUnwindSafe for Messages",1,["ping_rs::Messages"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js index 4c2859d22..61e2054f7 100644 --- a/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bytes":[["impl<T, U> UnwindSafe for Chain<T, U>
where\n T: UnwindSafe,\n U: UnwindSafe,
",1,["bytes::buf::chain::Chain"]],["impl<T> UnwindSafe for IntoIter<T>
where\n T: UnwindSafe,
",1,["bytes::buf::iter::IntoIter"]],["impl<T> UnwindSafe for Limit<T>
where\n T: UnwindSafe,
",1,["bytes::buf::limit::Limit"]],["impl<B> UnwindSafe for Reader<B>
where\n B: UnwindSafe,
",1,["bytes::buf::reader::Reader"]],["impl<T> UnwindSafe for Take<T>
where\n T: UnwindSafe,
",1,["bytes::buf::take::Take"]],["impl UnwindSafe for UninitSlice",1,["bytes::buf::uninit_slice::UninitSlice"]],["impl<B> UnwindSafe for Writer<B>
where\n B: UnwindSafe,
",1,["bytes::buf::writer::Writer"]],["impl UnwindSafe for Bytes",1,["bytes::bytes::Bytes"]],["impl UnwindSafe for BytesMut",1,["bytes::bytes_mut::BytesMut"]]], -"ping_rs":[["impl UnwindSafe for PingProtocolHead",1,["ping_rs::common::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::common::Messages"]],["impl UnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl UnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl UnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl UnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["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::ping360::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl UnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl UnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl UnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl UnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl UnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl UnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl UnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl UnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl UnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl UnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl UnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl UnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl UnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl UnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl UnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl UnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl UnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl UnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl UnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl UnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl UnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl UnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl UnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl UnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl UnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl UnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl UnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl UnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl UnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl UnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl UnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl UnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl UnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl UnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl UnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl UnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl UnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl UnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl UnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl UnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl UnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl UnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl UnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl UnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl UnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl UnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl UnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl UnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl UnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl UnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["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 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 AckStruct",1,["ping_rs::common::AckStruct"]],["impl UnwindSafe for ProtocolVersionStruct",1,["ping_rs::common::ProtocolVersionStruct"]],["impl UnwindSafe for AsciiTextStruct",1,["ping_rs::common::AsciiTextStruct"]],["impl UnwindSafe for NackStruct",1,["ping_rs::common::NackStruct"]],["impl UnwindSafe for GeneralRequestStruct",1,["ping_rs::common::GeneralRequestStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::common::SetDeviceIdStruct"]],["impl UnwindSafe for DeviceInformationStruct",1,["ping_rs::common::DeviceInformationStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping360::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping360::Messages"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping360::DeviceIdStruct"]],["impl UnwindSafe for AutoDeviceDataStruct",1,["ping_rs::ping360::AutoDeviceDataStruct"]],["impl UnwindSafe for DeviceDataStruct",1,["ping_rs::ping360::DeviceDataStruct"]],["impl UnwindSafe for ResetStruct",1,["ping_rs::ping360::ResetStruct"]],["impl UnwindSafe for MotorOffStruct",1,["ping_rs::ping360::MotorOffStruct"]],["impl UnwindSafe for AutoTransmitStruct",1,["ping_rs::ping360::AutoTransmitStruct"]],["impl UnwindSafe for TransducerStruct",1,["ping_rs::ping360::TransducerStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::bluebps::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::bluebps::Messages"]],["impl UnwindSafe for SetTemperatureTimeoutStruct",1,["ping_rs::bluebps::SetTemperatureTimeoutStruct"]],["impl UnwindSafe for CurrentTimeoutStruct",1,["ping_rs::bluebps::CurrentTimeoutStruct"]],["impl UnwindSafe for SetCellVoltageMinimumStruct",1,["ping_rs::bluebps::SetCellVoltageMinimumStruct"]],["impl UnwindSafe for SetCurrentMaxStruct",1,["ping_rs::bluebps::SetCurrentMaxStruct"]],["impl UnwindSafe for SetCellVoltageTimeoutStruct",1,["ping_rs::bluebps::SetCellVoltageTimeoutStruct"]],["impl UnwindSafe for StateStruct",1,["ping_rs::bluebps::StateStruct"]],["impl UnwindSafe for SetLpfSampleFrequencyStruct",1,["ping_rs::bluebps::SetLpfSampleFrequencyStruct"]],["impl UnwindSafe for TemperatureTimeoutStruct",1,["ping_rs::bluebps::TemperatureTimeoutStruct"]],["impl UnwindSafe for CellVoltageMinStruct",1,["ping_rs::bluebps::CellVoltageMinStruct"]],["impl UnwindSafe for SetTemperatureMaxStruct",1,["ping_rs::bluebps::SetTemperatureMaxStruct"]],["impl UnwindSafe for RebootStruct",1,["ping_rs::bluebps::RebootStruct"]],["impl UnwindSafe for SetLpfSettingStruct",1,["ping_rs::bluebps::SetLpfSettingStruct"]],["impl UnwindSafe for TemperatureMaxStruct",1,["ping_rs::bluebps::TemperatureMaxStruct"]],["impl UnwindSafe for EraseFlashStruct",1,["ping_rs::bluebps::EraseFlashStruct"]],["impl UnwindSafe for CurrentMaxStruct",1,["ping_rs::bluebps::CurrentMaxStruct"]],["impl UnwindSafe for SetCurrentTimeoutStruct",1,["ping_rs::bluebps::SetCurrentTimeoutStruct"]],["impl UnwindSafe for ResetDefaultsStruct",1,["ping_rs::bluebps::ResetDefaultsStruct"]],["impl UnwindSafe for SetStreamRateStruct",1,["ping_rs::bluebps::SetStreamRateStruct"]],["impl UnwindSafe for CellTimeoutStruct",1,["ping_rs::bluebps::CellTimeoutStruct"]],["impl UnwindSafe for EventsStruct",1,["ping_rs::bluebps::EventsStruct"]],["impl UnwindSafe for PingProtocolHead",1,["ping_rs::ping1d::PingProtocolHead"]],["impl UnwindSafe for Messages",1,["ping_rs::ping1d::Messages"]],["impl UnwindSafe for ProcessorTemperatureStruct",1,["ping_rs::ping1d::ProcessorTemperatureStruct"]],["impl UnwindSafe for SetPingEnableStruct",1,["ping_rs::ping1d::SetPingEnableStruct"]],["impl UnwindSafe for FirmwareVersionStruct",1,["ping_rs::ping1d::FirmwareVersionStruct"]],["impl UnwindSafe for GotoBootloaderStruct",1,["ping_rs::ping1d::GotoBootloaderStruct"]],["impl UnwindSafe for GeneralInfoStruct",1,["ping_rs::ping1d::GeneralInfoStruct"]],["impl UnwindSafe for ModeAutoStruct",1,["ping_rs::ping1d::ModeAutoStruct"]],["impl UnwindSafe for DeviceIdStruct",1,["ping_rs::ping1d::DeviceIdStruct"]],["impl UnwindSafe for SetSpeedOfSoundStruct",1,["ping_rs::ping1d::SetSpeedOfSoundStruct"]],["impl UnwindSafe for DistanceSimpleStruct",1,["ping_rs::ping1d::DistanceSimpleStruct"]],["impl UnwindSafe for ContinuousStopStruct",1,["ping_rs::ping1d::ContinuousStopStruct"]],["impl UnwindSafe for SetDeviceIdStruct",1,["ping_rs::ping1d::SetDeviceIdStruct"]],["impl UnwindSafe for PcbTemperatureStruct",1,["ping_rs::ping1d::PcbTemperatureStruct"]],["impl UnwindSafe for ProfileStruct",1,["ping_rs::ping1d::ProfileStruct"]],["impl UnwindSafe for PingEnableStruct",1,["ping_rs::ping1d::PingEnableStruct"]],["impl UnwindSafe for SetRangeStruct",1,["ping_rs::ping1d::SetRangeStruct"]],["impl UnwindSafe for RangeStruct",1,["ping_rs::ping1d::RangeStruct"]],["impl UnwindSafe for Voltage5Struct",1,["ping_rs::ping1d::Voltage5Struct"]],["impl UnwindSafe for SetGainSettingStruct",1,["ping_rs::ping1d::SetGainSettingStruct"]],["impl UnwindSafe for SetPingIntervalStruct",1,["ping_rs::ping1d::SetPingIntervalStruct"]],["impl UnwindSafe for SetModeAutoStruct",1,["ping_rs::ping1d::SetModeAutoStruct"]],["impl UnwindSafe for ContinuousStartStruct",1,["ping_rs::ping1d::ContinuousStartStruct"]],["impl UnwindSafe for GainSettingStruct",1,["ping_rs::ping1d::GainSettingStruct"]],["impl UnwindSafe for PingIntervalStruct",1,["ping_rs::ping1d::PingIntervalStruct"]],["impl UnwindSafe for SpeedOfSoundStruct",1,["ping_rs::ping1d::SpeedOfSoundStruct"]],["impl UnwindSafe for TransmitDurationStruct",1,["ping_rs::ping1d::TransmitDurationStruct"]],["impl UnwindSafe for DistanceStruct",1,["ping_rs::ping1d::DistanceStruct"]],["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 ProtocolMessage",1,["ping_rs::message::ProtocolMessage"]],["impl UnwindSafe for Messages",1,["ping_rs::Messages"]]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file