[][src]Struct tensorflow_serving_client::config::RunOptions

pub struct RunOptions {
    pub trace_level: RunOptions_TraceLevel,
    pub timeout_in_ms: i64,
    pub inter_op_thread_pool: i32,
    pub output_partition_graphs: bool,
    pub debug_options: SingularPtrField<DebugOptions>,
    pub report_tensor_allocations_upon_oom: bool,
    pub experimental: SingularPtrField<RunOptions_Experimental>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

trace_level: RunOptions_TraceLeveltimeout_in_ms: i64inter_op_thread_pool: i32output_partition_graphs: booldebug_options: SingularPtrField<DebugOptions>report_tensor_allocations_upon_oom: boolexperimental: SingularPtrField<RunOptions_Experimental>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl RunOptions[src]

pub fn new() -> RunOptions[src]

pub fn get_trace_level(&self) -> RunOptions_TraceLevel[src]

pub fn clear_trace_level(&mut self)[src]

pub fn set_trace_level(&mut self, v: RunOptions_TraceLevel)[src]

pub fn get_timeout_in_ms(&self) -> i64[src]

pub fn clear_timeout_in_ms(&mut self)[src]

pub fn set_timeout_in_ms(&mut self, v: i64)[src]

pub fn get_inter_op_thread_pool(&self) -> i32[src]

pub fn clear_inter_op_thread_pool(&mut self)[src]

pub fn set_inter_op_thread_pool(&mut self, v: i32)[src]

pub fn get_output_partition_graphs(&self) -> bool[src]

pub fn clear_output_partition_graphs(&mut self)[src]

pub fn set_output_partition_graphs(&mut self, v: bool)[src]

pub fn get_debug_options(&self) -> &DebugOptions[src]

pub fn clear_debug_options(&mut self)[src]

pub fn has_debug_options(&self) -> bool[src]

pub fn set_debug_options(&mut self, v: DebugOptions)[src]

pub fn mut_debug_options(&mut self) -> &mut DebugOptions[src]

pub fn take_debug_options(&mut self) -> DebugOptions[src]

pub fn get_report_tensor_allocations_upon_oom(&self) -> bool[src]

pub fn clear_report_tensor_allocations_upon_oom(&mut self)[src]

pub fn set_report_tensor_allocations_upon_oom(&mut self, v: bool)[src]

pub fn get_experimental(&self) -> &RunOptions_Experimental[src]

pub fn clear_experimental(&mut self)[src]

pub fn has_experimental(&self) -> bool[src]

pub fn set_experimental(&mut self, v: RunOptions_Experimental)[src]

pub fn mut_experimental(&mut self) -> &mut RunOptions_Experimental[src]

pub fn take_experimental(&mut self) -> RunOptions_Experimental[src]

Trait Implementations

impl Clear for RunOptions[src]

impl Clone for RunOptions[src]

impl Debug for RunOptions[src]

impl Default for RunOptions[src]

impl<'a> Default for &'a RunOptions[src]

impl Message for RunOptions[src]

impl PartialEq<RunOptions> for RunOptions[src]

impl ProtobufValue for RunOptions[src]

impl StructuralPartialEq for RunOptions[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.