[][src]Enum cage::PodType

pub enum PodType {
    Placeholder,
    Service,
    Task,
}

Indicates whether a pod is a regular service or a one-shot task.

Variants

Placeholder

A placeholder represents an externally-managed service, and it is generally only present in development mode. This is mostly treated as though it were a service, but with different defaults in several places.

Service

A service is normally started up and left running.

Task

A task is run once and expected to exit.

Trait Implementations

impl Clone for PodType[src]

impl Copy for PodType[src]

impl Debug for PodType[src]

impl<'de> Deserialize<'de> for PodType[src]

impl Display for PodType[src]

In addition to serde serialization, also provide basic formatting.

impl Eq for PodType[src]

impl Ord for PodType[src]

impl PartialEq<PodType> for PodType[src]

impl PartialOrd<PodType> for PodType[src]

impl Serialize for PodType[src]

impl StructuralEq for PodType[src]

impl StructuralPartialEq for PodType[src]

Auto Trait Implementations

impl RefUnwindSafe for PodType

impl Send for PodType

impl Sync for PodType

impl Unpin for PodType

impl UnwindSafe for PodType

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> GetTypeId for T where
    T: Any

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,