[][src]Enum cage::PodOrService

pub enum PodOrService<'a> {
    Pod(&'a Pod),
    Service(&'a Pod, &'a str),
}

Represents either a Pod object or a Service object.

Variants

Pod(&'a Pod)

A Pod.

Service(&'a Pod, &'a str)

A Pod and the name of one of its Service objects.

Implementations

impl<'a> PodOrService<'a>[src]

pub fn pod_type(&self) -> PodType[src]

Get the pod_type for either our Pod or the pod containing our service.

Trait Implementations

impl<'a> Debug for PodOrService<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PodOrService<'a>

impl<'a> Send for PodOrService<'a>

impl<'a> Sync for PodOrService<'a>

impl<'a> Unpin for PodOrService<'a>

impl<'a> UnwindSafe for PodOrService<'a>

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> GetTypeId for T where
    T: Any

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<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>,