Enum unmp_center_core::Status[][src]

pub enum Status {
Show variants Response, Request, Notice, NotLogin, LoginCodeErr, HadLogin, Timeout, SnExpire, ProductCodeErr, TargetNotLogin, OpCodeErr, NoVar, NeedSelf, SubSelf, Null, BindTimeout, BindErr, Unknown,
}
Expand description

状态码

Variants

Response

响应

Request

请求

Notice

通知

NotLogin

当前设备未登录

LoginCodeErr

设备登录码错误

HadLogin

当前设备已登录

Timeout

超时断开

SnExpire

时间戳错误

ProductCodeErr

产品码错误

TargetNotLogin

目标设备未登录

OpCodeErr

设备操作码错误

NoVar

目标变量不存在

NeedSelf

仅自己可以设置实际值

SubSelf

不能订阅自己的变量

Null

实际值不能为空

BindTimeout

绑定模式超时

BindErr

用户绑定失败

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.