Enum unmp_center_core::Kind[][src]

pub enum Kind {
Show variants GetId, Login, Heart, GetTimestamp, SetActual, GetActual, SubActual, SubAllActual, NoticeActual, SetTarget, GetTarget, SubTarget, SubAllTarget, NoticeTarget, EnterBind, Bind, Unbind, NoticeBind, NoticeUnbind, GetOTAInfo, EnterOTA, ExitOTA, GetOTA, Unknown,
}
Expand description

指令类型

Variants

GetId

注册设备ID

Login

设备上线

Heart

心跳

GetTimestamp

获取时间戳

SetActual

设置云端变量实际值

GetActual

读取云端变量实际值

SubActual

订阅云端变量实际值变更通知

SubAllActual

订阅全部云端变量实际值变更通知

NoticeActual

发送云端变量实际值变更通知

SetTarget

设置云端变量目标值

GetTarget

读取云端变量目标值

SubTarget

订阅云端变量目标值变更通知

SubAllTarget

读取全部云端变量目标值

NoticeTarget

发送云端变量目标值变更通知

EnterBind

进入绑定模式

Bind

用户绑定设备

Unbind

用户解绑设备

NoticeBind

发送设备被绑定通知

NoticeUnbind

发送设备被解绑通知

GetOTAInfo

获取软件包最新版本

EnterOTA

进入升级模式

ExitOTA

退出升级模式

GetOTA

获取软件包分片

Unknown

无效状态

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.