[−][src]Struct tensorflow_serving_client::config::RunOptions
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: CachedSizeImplementations
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]
fn clone(&self) -> RunOptions[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for RunOptions[src]
impl Default for RunOptions[src]
fn default() -> RunOptions[src]
impl<'a> Default for &'a RunOptions[src]
fn default() -> &'a RunOptions[src]
impl Message for RunOptions[src]
fn is_initialized(&self) -> bool[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>[src]
fn compute_size(&self) -> u32[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32[src]
fn get_unknown_fields(&self) -> &UnknownFields[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields[src]
fn as_any(&self) -> &dyn Any[src]
fn as_any_mut(&mut self) -> &mut dyn Any[src]
fn into_any(self: Box<Self>) -> Box<dyn Any>[src]
fn descriptor(&self) -> &'static MessageDescriptor[src]
fn new() -> RunOptions[src]
fn descriptor_static() -> &'static MessageDescriptor[src]
fn default_instance() -> &'static RunOptions[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>[src]
fn check_initialized(&self) -> Result<(), ProtobufError>[src]
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>[src]
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>[src]
fn type_id(&self) -> TypeId[src]
impl PartialEq<RunOptions> for RunOptions[src]
fn eq(&self, other: &RunOptions) -> bool[src]
fn ne(&self, other: &RunOptions) -> bool[src]
impl ProtobufValue for RunOptions[src]
fn as_ref(&self) -> ReflectValueRef[src]
fn as_any(&self) -> &(dyn Any + 'static)[src]
fn is_non_zero(&self) -> bool[src]
fn as_ref_copy(&self) -> ReflectValueRef<'static>[src]
impl StructuralPartialEq for RunOptions[src]
Auto Trait Implementations
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnwindSafe for RunOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,