pub struct ReaderRegistration<R> {
pub connection_id: ConnectionId,
pub reader: R,
pub addr: SocketAddr,
pub role: ClientRole<RoleId>,
pub key_hash: u64,
}Expand description
Command sent from the accept loop to a reader thread.
Fields§
§connection_id: ConnectionId§reader: R§addr: SocketAddr§role: ClientRole<RoleId>The client’s role, established during the auth handshake.
key_hash: u64FxHash of the client’s Ed25519 public key. Stored per-connection and copied into every InputSlot as the submitting key’s identity.
Auto Trait Implementations§
impl<R> Freeze for ReaderRegistration<R>where
R: Freeze,
impl<R> RefUnwindSafe for ReaderRegistration<R>where
R: RefUnwindSafe,
impl<R> Send for ReaderRegistration<R>where
R: Send,
impl<R> Sync for ReaderRegistration<R>where
R: Sync,
impl<R> Unpin for ReaderRegistration<R>where
R: Unpin,
impl<R> UnsafeUnpin for ReaderRegistration<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ReaderRegistration<R>where
R: UnwindSafe,
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