#[non_exhaustive]pub enum DataTrackSchemaEncoding {
Protobuf,
Flatbuffer,
Ros1Msg,
Ros2Msg,
Ros2Idl,
OmgIdl,
JsonSchema,
Other,
Custom(String),
}Expand description
Encoding used for a schema definition.
Identifies the interface definition language the schema is written in (e.g. a
.proto file for Protobuf). This in turn dictates the wire format of the
frames the schema describes, captured by DataTrackFrameEncoding.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Protobuf
Protocol Buffer IDL, describes Protobuf encoded frames.
Flatbuffer
FlatBuffer IDL, describes Flatbuffer encoded frames.
Ros1Msg
ROS 1 Message, describes Ros1 encoded frames.
Ros2Msg
ROS 2 Message, describes Cdr encoded frames.
Ros2Idl
ROS 2 IDL, describes Cdr encoded frames.
OmgIdl
OMG IDL, describes Cdr encoded frames.
JsonSchema
JSON Schema, describes Json encoded frames.
Other
Another well-known encoding not known to this client version.
Custom(String)
An application-specific encoding identified by the contained string.
Prefer using one of the well-known encodings unless the format is not enumerated. The identifier must be non-empty and not exceed the server’s length limit.
Trait Implementations§
Source§impl Clone for DataTrackSchemaEncoding
impl Clone for DataTrackSchemaEncoding
Source§fn clone(&self) -> DataTrackSchemaEncoding
fn clone(&self) -> DataTrackSchemaEncoding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DataTrackSchemaEncoding
impl Debug for DataTrackSchemaEncoding
impl Eq for DataTrackSchemaEncoding
Source§impl From<DataTrackSchemaEncoding> for DataTrackSchemaEncoding
impl From<DataTrackSchemaEncoding> for DataTrackSchemaEncoding
Source§fn from(msg: DataTrackSchemaEncoding) -> Self
fn from(msg: DataTrackSchemaEncoding) -> Self
Source§impl From<DataTrackSchemaEncoding> for DataTrackSchemaEncoding
impl From<DataTrackSchemaEncoding> for DataTrackSchemaEncoding
Source§fn from(value: DataTrackSchemaEncoding) -> Self
fn from(value: DataTrackSchemaEncoding) -> Self
Source§impl Hash for DataTrackSchemaEncoding
impl Hash for DataTrackSchemaEncoding
Source§impl PartialEq for DataTrackSchemaEncoding
impl PartialEq for DataTrackSchemaEncoding
impl StructuralPartialEq for DataTrackSchemaEncoding
Auto Trait Implementations§
impl Freeze for DataTrackSchemaEncoding
impl RefUnwindSafe for DataTrackSchemaEncoding
impl Send for DataTrackSchemaEncoding
impl Sync for DataTrackSchemaEncoding
impl Unpin for DataTrackSchemaEncoding
impl UnsafeUnpin for DataTrackSchemaEncoding
impl UnwindSafe for DataTrackSchemaEncoding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.