pub struct ProtocolInfo {
pub protocol_name: &'static str,
pub protocol_version: u64,
}
Expand description
The protocol name that is used when a client and server connect.
Fields§
§protocol_name: &'static str
§protocol_version: u64
Auto Trait Implementations§
impl Freeze for ProtocolInfo
impl RefUnwindSafe for ProtocolInfo
impl Send for ProtocolInfo
impl Sync for ProtocolInfo
impl Unpin for ProtocolInfo
impl UnwindSafe for ProtocolInfo
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