pub struct Client {
pub versions: Versions,
pub role: Role,
pub params: Params,
}
Expand description
Sent by the client to setup the session.
Fields§
§versions: Versions
The list of supported versions in preferred order.
role: Role
Indicate if the client is a publisher, a subscriber, or both.
params: Params
Unknown parameters.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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