pub struct EntityId {
pub entity_key: [u8; 3],
pub entity_kind: EntityKind,
}Expand description
EntityId: 4-byte Endpoint-Identifier innerhalb eines Participants.
Layout: 3 Byte entity_key + 1 Byte entity_kind.
Fields§
§entity_key: [u8; 3]Erste 3 Bytes (key).
entity_kind: EntityKindLetztes Byte (kind).
Implementations§
Source§impl EntityId
impl EntityId
Sourcepub const PARTICIPANT: Self
pub const PARTICIPANT: Self
Reservierter Participant-EntityId (Spec §9.3.1.2).
Sourcepub const SPDP_BUILTIN_PARTICIPANT_WRITER: Self
pub const SPDP_BUILTIN_PARTICIPANT_WRITER: Self
SPDP Builtin Participant Writer (Spec §9.3.1.5 Tabelle 9.4). Multicast-Beacon-Sender im Discovery-Pfad.
Sourcepub const SPDP_BUILTIN_PARTICIPANT_READER: Self
pub const SPDP_BUILTIN_PARTICIPANT_READER: Self
SPDP Builtin Participant Reader.
Sourcepub const SEDP_BUILTIN_SUBSCRIPTIONS_WRITER: Self
pub const SEDP_BUILTIN_SUBSCRIPTIONS_WRITER: Self
SEDP Subscriptions Writer .
Sourcepub const SEDP_BUILTIN_SUBSCRIPTIONS_READER: Self
pub const SEDP_BUILTIN_SUBSCRIPTIONS_READER: Self
SEDP Subscriptions Reader .
Sourcepub const SEDP_BUILTIN_PUBLICATIONS_WRITER: Self
pub const SEDP_BUILTIN_PUBLICATIONS_WRITER: Self
SEDP Publications Writer .
Sourcepub const SEDP_BUILTIN_PUBLICATIONS_READER: Self
pub const SEDP_BUILTIN_PUBLICATIONS_READER: Self
SEDP Publications Reader .
Sourcepub const BUILTIN_PARTICIPANT_MESSAGE_WRITER: Self
pub const BUILTIN_PARTICIPANT_MESSAGE_WRITER: Self
BUILTIN_PARTICIPANT_MESSAGE_WRITER — Writer-Liveliness-
Protocol (WLP). Sendet ParticipantMessageData ueber das
Topic DCPSParticipantMessage (DDSI-RTPS 2.5 §8.4.13,
§9.3.1.5 Tab. 9.4 — EntityKey [00, 02, 00],
EntityKind BuiltinWriterWithKey = 0xC2).
Sourcepub const BUILTIN_PARTICIPANT_MESSAGE_READER: Self
pub const BUILTIN_PARTICIPANT_MESSAGE_READER: Self
BUILTIN_PARTICIPANT_MESSAGE_READER — Counterpart zum
WLP-Writer (DDSI-RTPS 2.5 §8.4.13, §9.3.1.5 Tab. 9.4).
Sourcepub const TL_SVC_REQ_WRITER: Self
pub const TL_SVC_REQ_WRITER: Self
TypeLookup Service Request Writer.
Sourcepub const TL_SVC_REQ_READER: Self
pub const TL_SVC_REQ_READER: Self
TypeLookup Service Request Reader.
Sourcepub const TL_SVC_REPLY_WRITER: Self
pub const TL_SVC_REPLY_WRITER: Self
TypeLookup Service Reply Writer.
Sourcepub const TL_SVC_REPLY_READER: Self
pub const TL_SVC_REPLY_READER: Self
TypeLookup Service Reply Reader.
Sourcepub const SEDP_BUILTIN_PUBLICATIONS_SECURE_WRITER: Self
pub const SEDP_BUILTIN_PUBLICATIONS_SECURE_WRITER: Self
SEDP_BUILTIN_PUBLICATIONS_SECURE_WRITER — Secure-SEDP
Publications-Writer (Bit 16, §9.3.1.6 Tab.13).
Sourcepub const SEDP_BUILTIN_PUBLICATIONS_SECURE_READER: Self
pub const SEDP_BUILTIN_PUBLICATIONS_SECURE_READER: Self
SEDP_BUILTIN_PUBLICATIONS_SECURE_READER — Bit 17.
Sourcepub const SEDP_BUILTIN_SUBSCRIPTIONS_SECURE_WRITER: Self
pub const SEDP_BUILTIN_SUBSCRIPTIONS_SECURE_WRITER: Self
SEDP_BUILTIN_SUBSCRIPTIONS_SECURE_WRITER — Bit 18.
Sourcepub const SEDP_BUILTIN_SUBSCRIPTIONS_SECURE_READER: Self
pub const SEDP_BUILTIN_SUBSCRIPTIONS_SECURE_READER: Self
SEDP_BUILTIN_SUBSCRIPTIONS_SECURE_READER — Bit 19.
Sourcepub const BUILTIN_PARTICIPANT_MESSAGE_SECURE_WRITER: Self
pub const BUILTIN_PARTICIPANT_MESSAGE_SECURE_WRITER: Self
BUILTIN_PARTICIPANT_MESSAGE_SECURE_WRITER — Secure WLP-Writer
(Bit 20, §7.4.7.1).
Sourcepub const BUILTIN_PARTICIPANT_MESSAGE_SECURE_READER: Self
pub const BUILTIN_PARTICIPANT_MESSAGE_SECURE_READER: Self
BUILTIN_PARTICIPANT_MESSAGE_SECURE_READER — Bit 21.
Sourcepub const BUILTIN_PARTICIPANT_STATELESS_MESSAGE_WRITER: Self
pub const BUILTIN_PARTICIPANT_STATELESS_MESSAGE_WRITER: Self
BUILTIN_PARTICIPANT_STATELESS_MESSAGE_WRITER — Auth-Handshake-
Topic-Writer (Bit 22, §7.4.7.1, §10.3.4 Auth-Stateless-Wire).
NoKey, da Stateless-Topic keyless ist.
Sourcepub const BUILTIN_PARTICIPANT_STATELESS_MESSAGE_READER: Self
pub const BUILTIN_PARTICIPANT_STATELESS_MESSAGE_READER: Self
BUILTIN_PARTICIPANT_STATELESS_MESSAGE_READER — Bit 23.
Sourcepub const BUILTIN_PARTICIPANT_VOLATILE_MESSAGE_SECURE_WRITER: Self
pub const BUILTIN_PARTICIPANT_VOLATILE_MESSAGE_SECURE_WRITER: Self
BUILTIN_PARTICIPANT_VOLATILE_MESSAGE_SECURE_WRITER — Crypto-
KeyExchange-Topic-Writer (Bit 24, §7.4.7.1, §10.5.4
VolatileMessageSecure-Wire).
Sourcepub const BUILTIN_PARTICIPANT_VOLATILE_MESSAGE_SECURE_READER: Self
pub const BUILTIN_PARTICIPANT_VOLATILE_MESSAGE_SECURE_READER: Self
BUILTIN_PARTICIPANT_VOLATILE_MESSAGE_SECURE_READER — Bit 25.
Sourcepub const SPDP_RELIABLE_BUILTIN_PARTICIPANTS_SECURE_WRITER: Self
pub const SPDP_RELIABLE_BUILTIN_PARTICIPANTS_SECURE_WRITER: Self
SPDP_RELIABLE_BUILTIN_PARTICIPANTS_SECURE_WRITER — Secure-
SPDP-Writer fuer DCPSParticipantsSecure-Topic (Bit 26).
Sourcepub const SPDP_RELIABLE_BUILTIN_PARTICIPANTS_SECURE_READER: Self
pub const SPDP_RELIABLE_BUILTIN_PARTICIPANTS_SECURE_READER: Self
SPDP_RELIABLE_BUILTIN_PARTICIPANTS_SECURE_READER — Bit 27.
Sourcepub const fn user_writer_with_key(key: [u8; 3]) -> Self
pub const fn user_writer_with_key(key: [u8; 3]) -> Self
Konstruiert einen User-Writer-Endpoint mit Key.
Sourcepub const fn user_reader_with_key(key: [u8; 3]) -> Self
pub const fn user_reader_with_key(key: [u8; 3]) -> Self
Konstruiert einen User-Reader-Endpoint mit Key.
Sourcepub const fn is_secure_builtin(self) -> bool
pub const fn is_secure_builtin(self) -> bool
True wenn dies einer der 12 Secure-Builtin-EntityIds aus DDS-Security 1.2 §7.4.7.1 Tab.7 ist.
Sourcepub fn from_bytes(bytes: [u8; 4]) -> Self
pub fn from_bytes(bytes: [u8; 4]) -> Self
Liest 4 Bytes.