pub struct About {
pub name: &'static str,
pub version: &'static str,
pub capabilities: &'static [&'static str],
}Expand description
Identity reported in the handshake.
Fields§
§name: &'static str§version: &'static str§capabilities: &'static [&'static str]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for About
impl RefUnwindSafe for About
impl Send for About
impl Sync for About
impl Unpin for About
impl UnsafeUnpin for About
impl UnwindSafe for About
Blanket Implementations§
impl<T> Allocation for T
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