pub struct ClientTransportConfig {
pub client_id: ClientId,
pub server_id: ClientId,
pub expected_source: Option<ClientId>,
}Expand description
Low-level client transport bridge configuration.
Fields§
§client_id: ClientIdLocal client id expected inside client-bound frames.
server_id: ClientIdRemote server/gateway id used as the transport packet target for commands.
expected_source: Option<ClientId>Expected remote sender identity when the transport can identify it.
Implementations§
Trait Implementations§
Source§impl Clone for ClientTransportConfig
impl Clone for ClientTransportConfig
Source§fn clone(&self) -> ClientTransportConfig
fn clone(&self) -> ClientTransportConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClientTransportConfig
Source§impl Debug for ClientTransportConfig
impl Debug for ClientTransportConfig
impl Eq for ClientTransportConfig
Source§impl PartialEq for ClientTransportConfig
impl PartialEq for ClientTransportConfig
impl StructuralPartialEq for ClientTransportConfig
Auto Trait Implementations§
impl Freeze for ClientTransportConfig
impl RefUnwindSafe for ClientTransportConfig
impl Send for ClientTransportConfig
impl Sync for ClientTransportConfig
impl Unpin for ClientTransportConfig
impl UnsafeUnpin for ClientTransportConfig
impl UnwindSafe for ClientTransportConfig
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