[][src]Struct cargo_preflight::harness::AvionicsHarness

pub struct AvionicsHarness<P: AvionicsHarnessState> {
    harness: Container<HarnessImpl<'static>>,
    _panic: PhantomData<P>,
}

Fields

harness: Container<HarnessImpl<'static>>_panic: PhantomData<P>

Implementations

impl AvionicsHarness<PanicHang>[src]

pub fn load(so: &Path) -> Result<Option<Self>, Error>[src]

pub fn setup_panic(
    self,
    args: PanicHandleArguments
) -> AvionicsHarness<PanicCaught>
[src]

Setup panic handling for the guidance system using the given arguments

impl AvionicsHarness<PanicCaught>[src]

pub fn guide(&mut self, sensors: Sensors) -> Control[src]

Call into the avionics to request a guidance control signal given the inputted sensor data

Auto Trait Implementations

impl<P> RefUnwindSafe for AvionicsHarness<P> where
    P: RefUnwindSafe

impl<P> Send for AvionicsHarness<P> where
    P: Send

impl<P> Sync for AvionicsHarness<P> where
    P: Sync

impl<P> Unpin for AvionicsHarness<P> where
    P: Unpin

impl<P> UnwindSafe for AvionicsHarness<P> where
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]