pub struct ServerHello {
pub status: HandshakeStatus,
pub chosen_mode: Option<ChosenMode>,
pub initial_credit: u64,
pub server_version: u8,
pub max_message_bytes: u32,
pub stream_opened: Vec<u8>,
}Fields§
§status: HandshakeStatus§chosen_mode: Option<ChosenMode>§initial_credit: u64§server_version: u8§max_message_bytes: u32§stream_opened: Vec<u8>Opaque shuflr.v1.StreamOpened protobuf bytes, or a UTF-8
error detail when status != Ok.
Trait Implementations§
Source§impl Clone for ServerHello
impl Clone for ServerHello
Source§fn clone(&self) -> ServerHello
fn clone(&self) -> ServerHello
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerHello
impl Debug for ServerHello
Source§impl PartialEq for ServerHello
impl PartialEq for ServerHello
impl Eq for ServerHello
impl StructuralPartialEq for ServerHello
Auto Trait Implementations§
impl Freeze for ServerHello
impl RefUnwindSafe for ServerHello
impl Send for ServerHello
impl Sync for ServerHello
impl Unpin for ServerHello
impl UnsafeUnpin for ServerHello
impl UnwindSafe for ServerHello
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