Skip to content

How do we create rtnl::routes::nla::NextHop when we use in our codes? #25

Open
@terassyi

Description

@terassyi

When we want to add a route that has multiple paths, we have to use rtnl::route::nlas::NextHop struct from our codes.
However, we cannot directly initialize this struct, because this struct has #[non_exhaustive] attribute.

Is there any way to create rtnl::route::nlas::NextHop?

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