pub struct ServerConf {}Expand description
gRPC server configuration.
Implementations§
Source§impl ServerConf
impl ServerConf
Sourcepub fn new() -> ServerConf
pub fn new() -> ServerConf
Default configuration.
Trait Implementations§
Source§impl Clone for ServerConf
impl Clone for ServerConf
Source§fn clone(&self) -> ServerConf
fn clone(&self) -> ServerConf
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 moreSource§impl Debug for ServerConf
impl Debug for ServerConf
Source§impl Default for ServerConf
impl Default for ServerConf
Source§fn default() -> ServerConf
fn default() -> ServerConf
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerConf
impl RefUnwindSafe for ServerConf
impl Send for ServerConf
impl Sync for ServerConf
impl Unpin for ServerConf
impl UnwindSafe for ServerConf
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