pub enum MessageEncoding {
Ros1,
Cdr,
Protobuf,
FlatBuffer,
Cbor,
MsgPack,
Json,
Unknown(String),
}Expand description
Message encodings defined in the mcap spec registry. https://mcap.dev/spec/registry
Variants§
Ros1
ROS 1 (ros1)
Cdr
CDR - used by ROS 2 (cdr)
Protobuf
Protocol Buffers (protobuf)
FlatBuffer
FlatBuffers (flatbuffer)
Cbor
CBOR (cbor)
MsgPack
MessagePack (msgpack)
Json
JSON (json)
Unknown(String)
Unknown/custom encoding
Implementations§
Trait Implementations§
Source§impl Clone for MessageEncoding
impl Clone for MessageEncoding
Source§fn clone(&self) -> MessageEncoding
fn clone(&self) -> MessageEncoding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageEncoding
impl Debug for MessageEncoding
Source§impl Display for MessageEncoding
impl Display for MessageEncoding
Source§impl From<&str> for MessageEncoding
impl From<&str> for MessageEncoding
Source§impl Hash for MessageEncoding
impl Hash for MessageEncoding
Source§impl PartialEq for MessageEncoding
impl PartialEq for MessageEncoding
impl Eq for MessageEncoding
impl StructuralPartialEq for MessageEncoding
Auto Trait Implementations§
impl Freeze for MessageEncoding
impl RefUnwindSafe for MessageEncoding
impl Send for MessageEncoding
impl Sync for MessageEncoding
impl Unpin for MessageEncoding
impl UnsafeUnpin for MessageEncoding
impl UnwindSafe for MessageEncoding
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