Skip to content

Simpler server trait for infallible operations #20

@mkeeter

Description

@mkeeter

Infallible operations (i.e. those using Simple(T) or Result<T, ServerDeath> modes) currently require a signature

Result<T, idol_runtime::RequestError<core::convert::Infallible>>

in the server-side trait.

We should simplify this to just T to make writing servers more ergonomic. This would require minor Hubris changes, as there are only two Idol APIs using Simple right now.

Metadata

Metadata

Assignees

No one assigned

    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