pub struct GlassesPeerConfig {
pub peer: GlassesPeer,
pub role: GlassesCoUseRole,
pub profile: DeviceProfile,
pub policy: StalePolicy,
}Expand description
Validated peer profile and adapter-loop policy.
Fields§
§peer: GlassesPeerWhich glasses peer this config describes.
role: GlassesCoUseRoleRole assigned to the peer.
profile: DeviceProfileThe validated device profile.
policy: StalePolicyStale policy used by the peer’s local adapter loop.
Trait Implementations§
Source§impl Clone for GlassesPeerConfig
impl Clone for GlassesPeerConfig
Source§fn clone(&self) -> GlassesPeerConfig
fn clone(&self) -> GlassesPeerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlassesPeerConfig
impl Debug for GlassesPeerConfig
Source§impl PartialEq for GlassesPeerConfig
impl PartialEq for GlassesPeerConfig
impl StructuralPartialEq for GlassesPeerConfig
Auto Trait Implementations§
impl Freeze for GlassesPeerConfig
impl RefUnwindSafe for GlassesPeerConfig
impl Send for GlassesPeerConfig
impl Sync for GlassesPeerConfig
impl Unpin for GlassesPeerConfig
impl UnsafeUnpin for GlassesPeerConfig
impl UnwindSafe for GlassesPeerConfig
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