Skip to content

Deriving copy for PeripheralID #234

Closed
@ratmice

Description

@ratmice

From what I can tell, PeripheralId is a newtype around a platform defined type

winrtble ~ PeripheralId(Uuid)
bluez | corebluetooth ~ PeripheralId(BDAddr)

It seems that both BDAddr, and Uuid types are copy,
So in theory it seems currently it is possible to make PeripheralId copy, as well.
I can't think of a reason why something which is truly just an Id shouldn't be copy, but perhaps i'm not creative enough.

So I figured i'd ask before just sending a PR if there is any reason or objections to making it so.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions