pub struct ClientService {
pub id: ServiceId,
pub name: ServiceName,
pub requested_bind: RequestedBind,
pub target: TcpTarget,
}Expand description
Local service mapping configured by the private-side application.
Fields§
§id: ServiceId§name: ServiceName§requested_bind: RequestedBind§target: TcpTargetImplementations§
Source§impl ClientService
impl ClientService
pub fn new( id: ServiceId, name: ServiceName, requested_bind: RequestedBind, target: TcpTarget, ) -> Self
Trait Implementations§
Source§impl Clone for ClientService
impl Clone for ClientService
Auto Trait Implementations§
impl Freeze for ClientService
impl RefUnwindSafe for ClientService
impl Send for ClientService
impl Sync for ClientService
impl Unpin for ClientService
impl UnsafeUnpin for ClientService
impl UnwindSafe for ClientService
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