Struct ockam_core::RouteBuilder[][src]

pub struct RouteBuilder<'r> { /* fields omitted */ }
Expand description

Utility type to build and manipulate routes

Implementations

Push a new item to the back of the route

Push an item with an explicit type to the back of the route

Push a new item to the front of the route

Replace the next item in the route with a new address

Similar to Self::prepend(...), but drops the previous HEAD value.

Pop front

Pop back

Trait Implementations

Executes the destructor for this type. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.