pub enum PeerProfile {
Peripheral,
Host,
}Variants§
Implementations§
Source§impl PeerProfile
impl PeerProfile
pub fn negotiate(local: Capabilities, peer: Capabilities) -> PeerProfile
Trait Implementations§
Source§impl Clone for PeerProfile
impl Clone for PeerProfile
Source§fn clone(&self) -> PeerProfile
fn clone(&self) -> PeerProfile
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 moreimpl Copy for PeerProfile
Source§impl Debug for PeerProfile
impl Debug for PeerProfile
impl Eq for PeerProfile
Source§impl PartialEq for PeerProfile
impl PartialEq for PeerProfile
impl StructuralPartialEq for PeerProfile
Auto Trait Implementations§
impl Freeze for PeerProfile
impl RefUnwindSafe for PeerProfile
impl Send for PeerProfile
impl Sync for PeerProfile
impl Unpin for PeerProfile
impl UnsafeUnpin for PeerProfile
impl UnwindSafe for PeerProfile
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