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