pub struct Hello<'payload> {
pub version: u32,
pub connection_settings: ConnectionSettings,
pub metadata: Metadata<'payload>,
}Fields§
§version: u32Must be equal to 7
connection_settings: ConnectionSettingsConnection limits advertised by the initiator for the root connection. Parity is included in ConnectionSettings.
metadata: Metadata<'payload>Metadata associated with the connection.
Trait Implementations§
Auto Trait Implementations§
impl<'payload> Freeze for Hello<'payload>
impl<'payload> RefUnwindSafe for Hello<'payload>
impl<'payload> Send for Hello<'payload>
impl<'payload> Sync for Hello<'payload>
impl<'payload> Unpin for Hello<'payload>
impl<'payload> UnsafeUnpin for Hello<'payload>
impl<'payload> UnwindSafe for Hello<'payload>
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