pub struct DeviceEdgeSession { /* private fields */ }Expand description
Composed device host session returned to per-device verbs.
Implementations§
Source§impl DeviceEdgeSession
impl DeviceEdgeSession
Sourcepub fn provider_kind(&self) -> DeviceProviderKind
pub fn provider_kind(&self) -> DeviceProviderKind
Returns the provider source used for this session.
Sourcepub fn profile(&self) -> &DeviceProfile
pub fn profile(&self) -> &DeviceProfile
Returns the selected stream-facing profile.
Sourcepub fn placement(&self) -> &DevicePlacement
pub fn placement(&self) -> &DevicePlacement
Returns the validated device placement.
Sourcepub fn stale_policy(&self) -> DeviceHostStalePolicy
pub fn stale_policy(&self) -> DeviceHostStalePolicy
Returns the selected stale-sample policy.
Sourcepub fn consent_policy(&self) -> &DeviceConsentPolicy
pub fn consent_policy(&self) -> &DeviceConsentPolicy
Returns the selected consent policy.
Sourcepub fn adapter_loop(&self) -> &DeviceAdapterLoopPlan
pub fn adapter_loop(&self) -> &DeviceAdapterLoopPlan
Returns the immutable adapter-loop pacing plan.
Sourcepub fn adapter_loop_mut(&mut self) -> &mut DeviceAdapterLoopPlan
pub fn adapter_loop_mut(&mut self) -> &mut DeviceAdapterLoopPlan
Returns the mutable adapter-loop pacing plan.
Sourcepub fn hub_join(&self) -> &DeviceSurfaceHubJoin
pub fn hub_join(&self) -> &DeviceSurfaceHubJoin
Returns the surface-hub join plan.
Sourcepub fn device_session(&self) -> &dyn DeviceSession
pub fn device_session(&self) -> &dyn DeviceSession
Returns the composed device session.
Sourcepub fn device_session_mut(&mut self) -> &mut dyn DeviceSession
pub fn device_session_mut(&mut self) -> &mut dyn DeviceSession
Returns the composed device session mutably.
Auto Trait Implementations§
impl !RefUnwindSafe for DeviceEdgeSession
impl !Sync for DeviceEdgeSession
impl !UnwindSafe for DeviceEdgeSession
impl Freeze for DeviceEdgeSession
impl Send for DeviceEdgeSession
impl Unpin for DeviceEdgeSession
impl UnsafeUnpin for DeviceEdgeSession
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