pub struct PipelineProfile { /* private fields */ }
Expand description
Type representing the device and streams associated with a pipeline.
Implementations§
Trait Implementations§
Source§impl Debug for PipelineProfile
impl Debug for PipelineProfile
Source§impl TryFrom<NonNull<rs2_pipeline_profile>> for PipelineProfile
impl TryFrom<NonNull<rs2_pipeline_profile>> for PipelineProfile
Source§fn try_from(
pipeline_profile_ptr: NonNull<rs2_pipeline_profile>,
) -> Result<Self, Self::Error>
fn try_from( pipeline_profile_ptr: NonNull<rs2_pipeline_profile>, ) -> Result<Self, Self::Error>
Attempts to construct a PipelineProfile
from an rs2_pipeline_profile
pointer.
§Errors
Returns PipelineProfileConstructionError::CouldNotRetrieveDevice
if the device
associated with the pipeline profile cannot be obtained.
Returns PipelineProfileConstructionError::CouldNotRetrieveStreamList
if the list of
streams associated with the pipeline profile cannot be obtained.
Returns PipelineProfileConstructionError::CouldNotRetrieveStreamCount
if the length of
the list of streams associated with the pipeline profile cannot be obtained.
Auto Trait Implementations§
impl Freeze for PipelineProfile
impl RefUnwindSafe for PipelineProfile
impl !Send for PipelineProfile
impl !Sync for PipelineProfile
impl Unpin for PipelineProfile
impl UnwindSafe for PipelineProfile
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