[][src]Struct stateright::explorer::Explorer

pub struct Explorer<SM>(pub SM);

Provides a web service for interactively exploring a state machine.

Methods

impl<SM> Explorer<SM> where
    SM: 'static + Send + StateMachine,
    SM::Action: Debug,
    SM::State: Clone + Debug + Hash
[src]

pub fn serve<A: ToSocketAddrs>(self, addr: A) -> Result<()> where
    SM: Clone
[src]

Begin serving requests on a specified address such as "localhost:3000".

Auto Trait Implementations

impl<SM> RefUnwindSafe for Explorer<SM> where
    SM: RefUnwindSafe

impl<SM> Send for Explorer<SM> where
    SM: Send

impl<SM> Sync for Explorer<SM> where
    SM: Sync

impl<SM> Unpin for Explorer<SM> where
    SM: Unpin

impl<SM> UnwindSafe for Explorer<SM> where
    SM: 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, 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>,