[][src]Struct grpcio_proto::testing::control::ServerArgs

pub struct ServerArgs {
    pub argtype: Option<ServerArgs_oneof_argtype>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

argtype: Option<ServerArgs_oneof_argtype>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ServerArgs[src]

pub fn new() -> ServerArgs[src]

pub fn get_setup(&self) -> &ServerConfig[src]

pub fn clear_setup(&mut self)[src]

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

pub fn set_setup(&mut self, v: ServerConfig)[src]

pub fn mut_setup(&mut self) -> &mut ServerConfig[src]

pub fn take_setup(&mut self) -> ServerConfig[src]

pub fn get_mark(&self) -> &Mark[src]

pub fn clear_mark(&mut self)[src]

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

pub fn set_mark(&mut self, v: Mark)[src]

pub fn mut_mark(&mut self) -> &mut Mark[src]

pub fn take_mark(&mut self) -> Mark[src]

Trait Implementations

impl Clear for ServerArgs[src]

impl Clone for ServerArgs[src]

impl Debug for ServerArgs[src]

impl Default for ServerArgs[src]

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

impl Message for ServerArgs[src]

impl PartialEq<ServerArgs> for ServerArgs[src]

impl ProtobufValue for ServerArgs[src]

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