[][src]Struct oci_spec::runtime::State

pub struct State {
    pub version: String,
    pub id: String,
    pub status: String,
    pub pid: Option<i32>,
    pub bundle: String,
    pub annotations: Option<HashMap<String, String>>,
}

Fields

version: Stringid: Stringstatus: Stringpid: Option<i32>bundle: Stringannotations: Option<HashMap<String, String>>

Methods

impl State[src]

pub fn to_string(&self) -> Result<String, OciSpecError>[src]

pub fn to_writer<W: Write>(&self, writer: W) -> Result<(), OciSpecError>[src]

Trait Implementations

impl Debug for State[src]

impl Serialize for State[src]

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

Auto Trait Implementations

impl Send for State

impl Sync for State

impl Unpin for State

impl UnwindSafe for State

impl RefUnwindSafe for State

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]