Enum donet_core::protocol::Protocol
source · #[repr(u16)]pub enum Protocol {
Show 116 variants
ClientHello = 1,
ClientHelloResp = 2,
ClientDisconnect = 3,
ClientEject = 4,
ClientHeartbeat = 5,
ClientObjectSetField = 120,
ClientObjectSetFields = 121,
ClientObjectLeaving = 132,
ClientObjectLeavingOwner = 161,
ClientEnterObjectRequired = 142,
ClientEnterObjectRequiredOther = 143,
ClientEnterObjectRequiredOwner = 172,
ClientEnterObjectRequiredOwnerOther = 173,
ClientDoneInterestResp = 204,
ClientAddInterest = 200,
ClientAddInterestMultiple = 201,
ClientRemoveInterest = 203,
ClientObjectLocation = 140,
CASetState = 1_000,
CASetClientID = 1_001,
CASendDatagram = 1_002,
CAEject = 1_004,
CADrop = 1_005,
CAGetNetworkAddress = 1_006,
CAGetNetworkAddressResp = 1_007,
CADeclareObject = 1_010,
CAUndeclareObject = 1_011,
CAAddSessionObject = 1_012,
CARemoveSessionObject = 1_013,
CASetFieldsSendable = 1_014,
CAOpenChannel = 1_100,
CACloseChannel = 1_101,
CAAddPostRemove = 1_110,
CAClearPostRemoves = 1_111,
CAAddInterest = 1_200,
CAAddInterestMultiple = 1_201,
CARemoveInterest = 1_203,
SSCreateObjectWithRequired = 2_000,
SSCreateObjectWithRequiredOther = 2_001,
SSDeleteAIObjects = 2_009,
SSObjectGetField = 2_010,
SSObjectGetFieldResp = 2_011,
SSObjectGetFields = 2_012,
SSObjectGetFieldsResp = 2_013,
SSObjectGetAll = 2_014,
SSObjectGetAllResp = 2_015,
SSObjectSetField = 2_020,
SSObjectSetFields = 2_021,
SSObjectDeleteFieldRAM = 2_030,
SSObjectDeleteFieldsRAM = 2_031,
SSObjectDeleteRAM = 2_032,
SSObjectSetLocation = 2_040,
SSObjectChangingLocation = 2_041,
SSObjectEnterLocationWithRequired = 2_042,
SSObjectEnterLocationWithRequiredOther = 2_043,
SSObjectGetLocation = 2_044,
SSObjectGetLocationResp = 2_045,
SSObjectSetAI = 2_050,
SSObjectChangingAI = 2_051,
SSObjectEnterAIWithRequired = 2_052,
SSObjectEnterAIWithRequiredOther = 2_053,
SSObjectGetAI = 2_054,
SSObjectGetAIResp = 2_055,
SSObjectSetOwner = 2_060,
SSObjectChangingOwner = 2_061,
SSObjectEnterOwnerWithRequired = 2_062,
SSObjectEnterOwnerWithRequiredOther = 2_063,
SSObjectGetOwner = 2_064,
SSObjectGetOwnerResp = 2_065,
SSObjectGetZoneObjects = 2_100,
SSObjectGetZonesObjects = 2_102,
SSObjectGetChildren = 2_104,
SSObjectGetZoneCount = 2_110,
SSObjectGetZoneCountResp = 2_111,
SSObjectGetZonesCount = 2_112,
SSObjectGetZonesCountResp = 2_113,
SSObjectGetChildCount = 2_114,
SSObjectGetChildCountResp = 2_115,
SSObjectDeleteZone = 2_120,
SSObjectDeleteZones = 2_122,
SSObjectDeleteChildren = 2_124,
DBSSObjectActivateWithDefaults = 2_200,
DBSSObjectActivateWithDefaultsOther = 2_201,
DBSSObjectGetActivated = 2_207,
DBSSObjectGetActivatedResp = 2_208,
DBSSObjectDeleteFieldDisk = 2_230,
DBSSObjectDeleteFieldsDisk = 2_231,
DBSSObjectDeleteDisk = 2_232,
DBCreateObject = 3_000,
DBCreateObjectResp = 3_001,
DBObjectGetField = 3_010,
DBObjectGetFieldResp = 3_011,
DBObjectGetFields = 3_012,
DBObjectGetFieldsResp = 3_013,
DBObjectGetAll = 3_014,
DBObjectGetAllResp = 3_015,
DBObjectSetField = 3_020,
DBObjectSetFields = 3_021,
DBObjectSetFieldIfEquals = 3_022,
DBObjectSetFieldIfEqualsResp = 3_023,
DBObjectSetFieldsIfEquals = 3_024,
DBObjectSetFieldsIfEqualsResp = 3_025,
DBObjectSetFieldIfEmpty = 3_026,
DBObjectSetFieldIfEmptyResp = 3_027,
DBObjectDeleteField = 3_030,
DBObjectDeleteFields = 3_031,
DBObjectDelete = 3_032,
MDAddChannel = 9_000,
MDRemoveChannel = 9_001,
MDAddRange = 9_002,
MDRemoveRange = 9_003,
MDAddPostRemove = 9_010,
MDClearPostRemoves = 9_011,
MDSetConName = 9_012,
MDSetConUrl = 9_013,
MDLogMessage = 9_014,
}
Expand description
Enum variants for all message types in the Donet protocol.
Variants§
ClientHello = 1
Client Messages
ClientHelloResp = 2
ClientDisconnect = 3
ClientEject = 4
ClientHeartbeat = 5
ClientObjectSetField = 120
ClientObjectSetFields = 121
ClientObjectLeaving = 132
ClientObjectLeavingOwner = 161
ClientEnterObjectRequired = 142
ClientEnterObjectRequiredOther = 143
ClientEnterObjectRequiredOwner = 172
ClientEnterObjectRequiredOwnerOther = 173
ClientDoneInterestResp = 204
ClientAddInterest = 200
ClientAddInterestMultiple = 201
ClientRemoveInterest = 203
ClientObjectLocation = 140
CASetState = 1_000
Client Agent
CASetClientID = 1_001
CASendDatagram = 1_002
CAEject = 1_004
CADrop = 1_005
CAGetNetworkAddress = 1_006
CAGetNetworkAddressResp = 1_007
CADeclareObject = 1_010
CAUndeclareObject = 1_011
CAAddSessionObject = 1_012
CARemoveSessionObject = 1_013
CASetFieldsSendable = 1_014
CAOpenChannel = 1_100
CACloseChannel = 1_101
CAAddPostRemove = 1_110
CAClearPostRemoves = 1_111
CAAddInterest = 1_200
CAAddInterestMultiple = 1_201
CARemoveInterest = 1_203
SSCreateObjectWithRequired = 2_000
State Server
SSCreateObjectWithRequiredOther = 2_001
SSDeleteAIObjects = 2_009
SSObjectGetField = 2_010
SSObjectGetFieldResp = 2_011
SSObjectGetFields = 2_012
SSObjectGetFieldsResp = 2_013
SSObjectGetAll = 2_014
SSObjectGetAllResp = 2_015
SSObjectSetField = 2_020
SSObjectSetFields = 2_021
SSObjectDeleteFieldRAM = 2_030
SSObjectDeleteFieldsRAM = 2_031
SSObjectDeleteRAM = 2_032
SSObjectSetLocation = 2_040
SSObjectChangingLocation = 2_041
SSObjectEnterLocationWithRequired = 2_042
SSObjectEnterLocationWithRequiredOther = 2_043
SSObjectGetLocation = 2_044
SSObjectGetLocationResp = 2_045
SSObjectSetAI = 2_050
SSObjectChangingAI = 2_051
SSObjectEnterAIWithRequired = 2_052
SSObjectEnterAIWithRequiredOther = 2_053
SSObjectGetAI = 2_054
SSObjectGetAIResp = 2_055
SSObjectSetOwner = 2_060
SSObjectChangingOwner = 2_061
SSObjectEnterOwnerWithRequired = 2_062
SSObjectEnterOwnerWithRequiredOther = 2_063
SSObjectGetOwner = 2_064
SSObjectGetOwnerResp = 2_065
SSObjectGetZoneObjects = 2_100
SSObjectGetZonesObjects = 2_102
SSObjectGetChildren = 2_104
SSObjectGetZoneCount = 2_110
SSObjectGetZoneCountResp = 2_111
SSObjectGetZonesCount = 2_112
SSObjectGetZonesCountResp = 2_113
SSObjectGetChildCount = 2_114
SSObjectGetChildCountResp = 2_115
SSObjectDeleteZone = 2_120
SSObjectDeleteZones = 2_122
SSObjectDeleteChildren = 2_124
DBSSObjectActivateWithDefaults = 2_200
Database State Server
DBSSObjectActivateWithDefaultsOther = 2_201
DBSSObjectGetActivated = 2_207
DBSSObjectGetActivatedResp = 2_208
DBSSObjectDeleteFieldDisk = 2_230
DBSSObjectDeleteFieldsDisk = 2_231
DBSSObjectDeleteDisk = 2_232
DBCreateObject = 3_000
Database Server
DBCreateObjectResp = 3_001
DBObjectGetField = 3_010
DBObjectGetFieldResp = 3_011
DBObjectGetFields = 3_012
DBObjectGetFieldsResp = 3_013
DBObjectGetAll = 3_014
DBObjectGetAllResp = 3_015
DBObjectSetField = 3_020
DBObjectSetFields = 3_021
DBObjectSetFieldIfEquals = 3_022
DBObjectSetFieldIfEqualsResp = 3_023
DBObjectSetFieldsIfEquals = 3_024
DBObjectSetFieldsIfEqualsResp = 3_025
DBObjectSetFieldIfEmpty = 3_026
DBObjectSetFieldIfEmptyResp = 3_027
DBObjectDeleteField = 3_030
DBObjectDeleteFields = 3_031
DBObjectDelete = 3_032
MDAddChannel = 9_000
Message Director (Control)
MDRemoveChannel = 9_001
MDAddRange = 9_002
MDRemoveRange = 9_003
MDAddPostRemove = 9_010
MDClearPostRemoves = 9_011
MDSetConName = 9_012
MDSetConUrl = 9_013
MDLogMessage = 9_014
Trait Implementations§
source§impl IntoEnumIterator for Protocol
impl IntoEnumIterator for Protocol
type Iterator = ProtocolIter
fn iter() -> ProtocolIter ⓘ
impl Copy for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnwindSafe for Protocol
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)