pub struct RadTensorFrame {
pub stream_id: String,
pub frame_seq: u64,
pub hdr: FrameHeader,
pub payload_kind: PayloadKind,
pub codec_kind: Codec,
pub voxel_type_after_decode: SampleType,
pub has_quant_scale: bool,
pub quant_scale: f32,
pub quality: FrameQuality,
pub proc_chain: String,
}Fields§
§stream_id: String§frame_seq: u64§hdr: FrameHeader§payload_kind: PayloadKind§codec_kind: Codec§voxel_type_after_decode: SampleType§has_quant_scale: bool§quant_scale: f32§quality: FrameQuality§proc_chain: StringImplementations§
Source§impl RadTensorFrame
impl RadTensorFrame
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 RadTensorFrame
impl Clone for RadTensorFrame
Source§impl Debug for RadTensorFrame
impl Debug for RadTensorFrame
Source§impl Default for RadTensorFrame
impl Default for RadTensorFrame
Source§impl PartialEq for RadTensorFrame
impl PartialEq for RadTensorFrame
impl StructuralPartialEq for RadTensorFrame
Auto Trait Implementations§
impl Freeze for RadTensorFrame
impl RefUnwindSafe for RadTensorFrame
impl Send for RadTensorFrame
impl Sync for RadTensorFrame
impl Unpin for RadTensorFrame
impl UnsafeUnpin for RadTensorFrame
impl UnwindSafe for RadTensorFrame
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