Skip to content

Add ClockId::try_from #986

Open
Open
@i509VCB

Description

@i509VCB

As a part of using the Wayland presentation time protocol, a way to convert a u32 into a ClockId would be nice.

DynamicClockId I'd question if this type of API works. The DynamicClockId actually borrows an OwnedFd, so it probably would not work with a TryFrom API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions