pub struct Hello {
pub parity: Parity,
pub connection_settings: ConnectionSettings,
pub message_payload_schema: Vec<Schema>,
pub supports_retry: bool,
pub resume_key: Option<ResumeKeyBytes>,
}Expand description
Sent by the initiator as the first handshake message.
Fields§
§parity: ParityThe identifier partition desired by the initiator.
connection_settings: ConnectionSettingsConnection limits advertised by the initiator for the root connection.
message_payload_schema: Vec<Schema>The initiator’s schema for MessagePayload — the postcard enum used for all subsequent communication.
supports_retry: boolWhether the initiator supports operation-level retry.
resume_key: Option<ResumeKeyBytes>Session resume key (present only when resuming an existing session).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Hello
impl RefUnwindSafe for Hello
impl Send for Hello
impl Sync for Hello
impl Unpin for Hello
impl UnsafeUnpin for Hello
impl UnwindSafe for Hello
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