pub struct HelloInfo {
pub node_id: [u8; 32],
pub station_id: [u8; 32],
pub realms: Vec<[u8; 32]>,
pub capabilities: u64,
pub accepted: bool,
pub negotiated_capabilities: u64,
pub refusal_code: Option<i128>,
}Expand description
The fields of a HELLO frame actually needed to drive the handshake
state machine (plans/PLAN_WIRE_PROTOCOL.md §3).
Fields§
§node_id: [u8; 32]§station_id: [u8; 32]§realms: Vec<[u8; 32]>§capabilities: u64§accepted: bool§negotiated_capabilities: u64§refusal_code: Option<i128>Trait Implementations§
impl Eq for HelloInfo
impl StructuralPartialEq for HelloInfo
Auto Trait Implementations§
impl Freeze for HelloInfo
impl RefUnwindSafe for HelloInfo
impl Send for HelloInfo
impl Sync for HelloInfo
impl Unpin for HelloInfo
impl UnsafeUnpin for HelloInfo
impl UnwindSafe for HelloInfo
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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