Skip to main content

VehicleEndpoint

Trait VehicleEndpoint 

Source
pub trait VehicleEndpoint: FleetGet {
    // Required method
    fn vin(&self) -> &str;
}
Expand description

A FleetGet scoped to a specific vehicle ({vin} path).

Sealed transitively via FleetGet — this trait cannot be implemented outside of fleetwire either.

Required Methods§

Source

fn vin(&self) -> &str

The target vehicle VIN.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§