pub struct ROIRequest {
pub stream_id: String,
pub request_id: u64,
pub t_start: Time,
pub t_end: Time,
pub requested_roi: ROI,
pub wants_payload_kind: bool,
pub desired_payload_kind: PayloadKind,
pub wants_codec: bool,
pub desired_codec: Codec,
pub wants_sample_type: bool,
pub desired_sample_type: SampleType,
pub max_bytes: i32,
}Fields§
§stream_id: String§request_id: u64§t_start: Time§t_end: Time§requested_roi: ROI§wants_payload_kind: bool§desired_payload_kind: PayloadKind§wants_codec: bool§desired_codec: Codec§wants_sample_type: bool§desired_sample_type: SampleType§max_bytes: i32Implementations§
Source§impl ROIRequest
impl ROIRequest
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 ROIRequest
impl Clone for ROIRequest
Source§impl Debug for ROIRequest
impl Debug for ROIRequest
Source§impl Default for ROIRequest
impl Default for ROIRequest
Source§impl PartialEq for ROIRequest
impl PartialEq for ROIRequest
impl StructuralPartialEq for ROIRequest
Auto Trait Implementations§
impl Freeze for ROIRequest
impl RefUnwindSafe for ROIRequest
impl Send for ROIRequest
impl Sync for ROIRequest
impl Unpin for ROIRequest
impl UnsafeUnpin for ROIRequest
impl UnwindSafe for ROIRequest
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