pub struct FrameHeader {
pub stream_id: String,
pub frame_seq: u64,
pub t_start: Time,
pub t_end: Time,
pub has_sensor_pose: bool,
pub sensor_pose: PoseSE3,
pub blobs: Vec<BlobRef>,
}Fields§
§stream_id: String§frame_seq: u64§t_start: Time§t_end: Time§has_sensor_pose: bool§sensor_pose: PoseSE3§blobs: Vec<BlobRef>Implementations§
Source§impl FrameHeader
impl FrameHeader
pub fn encode(&self, w: &mut Writer) -> Result<(), WireError>
pub fn decode(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_holder_be(&self) -> Result<Vec<u8>, WireError>
pub fn key_from_holder_be(r: &mut Reader<'_>) -> Result<Self, WireError>
pub fn key_hash(&self) -> Result<[u8; 16], WireError>
Trait Implementations§
Source§impl Clone for FrameHeader
impl Clone for FrameHeader
Source§impl Debug for FrameHeader
impl Debug for FrameHeader
Source§impl Default for FrameHeader
impl Default for FrameHeader
Source§impl PartialEq for FrameHeader
impl PartialEq for FrameHeader
impl StructuralPartialEq for FrameHeader
Auto Trait Implementations§
impl Freeze for FrameHeader
impl RefUnwindSafe for FrameHeader
impl Send for FrameHeader
impl Sync for FrameHeader
impl Unpin for FrameHeader
impl UnsafeUnpin for FrameHeader
impl UnwindSafe for FrameHeader
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