[][src]Struct tensorflow_proto::tensorflow::QueueRunnerDef

pub struct QueueRunnerDef {
    pub queue_name: String,
    pub enqueue_op_name: Vec<String>,
    pub close_op_name: String,
    pub cancel_op_name: String,
    pub queue_closed_exception_types: Vec<i32>,
}

Protocol buffer representing a QueueRunner.

Fields

queue_name: String

Queue name.

enqueue_op_name: Vec<String>

A list of enqueue operations.

close_op_name: String

The operation to run to close the queue.

cancel_op_name: String

The operation to run to cancel the queue.

queue_closed_exception_types: Vec<i32>

A list of exception types considered to signal a safely closed queue if raised during enqueue operations.

Implementations

impl QueueRunnerDef[src]

pub fn queue_closed_exception_types(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<Code>>
[src]

Returns an iterator which yields the valid enum values contained in queue_closed_exception_types.

pub fn push_queue_closed_exception_types(&mut self, value: Code)[src]

Appends the provided enum value to queue_closed_exception_types.

Trait Implementations

impl Clone for QueueRunnerDef[src]

impl Debug for QueueRunnerDef[src]

impl Default for QueueRunnerDef[src]

impl Message for QueueRunnerDef[src]

impl PartialEq<QueueRunnerDef> for QueueRunnerDef[src]

impl StructuralPartialEq for QueueRunnerDef[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.