pub struct TcpMicroserviceOptions {
pub addr: SocketAddr,
}Fields§
§addr: SocketAddrImplementations§
Source§impl TcpMicroserviceOptions
impl TcpMicroserviceOptions
pub fn new(addr: SocketAddr) -> Self
Trait Implementations§
Source§impl Clone for TcpMicroserviceOptions
impl Clone for TcpMicroserviceOptions
Source§fn clone(&self) -> TcpMicroserviceOptions
fn clone(&self) -> TcpMicroserviceOptions
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 TcpMicroserviceOptions
impl RefUnwindSafe for TcpMicroserviceOptions
impl Send for TcpMicroserviceOptions
impl Sync for TcpMicroserviceOptions
impl Unpin for TcpMicroserviceOptions
impl UnsafeUnpin for TcpMicroserviceOptions
impl UnwindSafe for TcpMicroserviceOptions
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