pub struct ThriftServerOptions(/* private fields */);
Expand description
Options to configure a Thrift server being started from HARC.
Implementations§
Source§impl ThriftServerOptions
impl ThriftServerOptions
pub fn auto_close(&self) -> bool
pub fn set_auto_close(&mut self, val: bool)
pub fn with_auto_close(self, val: bool) -> Self
pub fn timeout_ms(&self) -> f32
pub fn set_timeout_ms(&mut self, val: f32)
pub fn with_timeout_ms(self, val: f32) -> Self
pub fn verbosity(&self) -> StatusVerbosity
pub fn set_verbosity(&mut self, val: StatusVerbosity)
pub fn with_verbosity(self, val: StatusVerbosity) -> Self
pub fn ptr(&self) -> *const HAPI_ThriftServerOptions
Trait Implementations§
Source§impl Clone for ThriftServerOptions
impl Clone for ThriftServerOptions
Source§fn clone(&self) -> ThriftServerOptions
fn clone(&self) -> ThriftServerOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ThriftServerOptions
impl RefUnwindSafe for ThriftServerOptions
impl Send for ThriftServerOptions
impl Sync for ThriftServerOptions
impl Unpin for ThriftServerOptions
impl UnwindSafe for ThriftServerOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more