#[repr(C)]pub struct ClientLogon {
pub worker_count: usize,
pub allocator_size: usize,
pub allocator_handles: usize,
pub tpu_to_pack_capacity: usize,
pub progress_tracker_capacity: usize,
pub pack_to_worker_capacity: usize,
pub worker_to_pack_capacity: usize,
pub flags: u16,
}Expand description
The logon message sent by the client to the server.
Fields§
§worker_count: usizeThe number of Agave worker threads that will be spawned to handle packing requests.
allocator_size: usizeThe minimum allocator file size in bytes, this is shared by all allocator handles.
allocator_handles: usizeThe number of rts_alloc::Allocator handles the external process is requesting.
tpu_to_pack_capacity: usizeThe minimum capacity of the tpu_to_pack queue in messages.
progress_tracker_capacity: usizeThe minimum capacity of the progress_tracker queue in messages.
pack_to_worker_capacity: usizeThe minimum capacity of the pack_to_worker queue in messages.
worker_to_pack_capacity: usizeThe minimum capacity of the worker_to_pack queue in messages.
flags: u16Flags that control the behavior of the new scheduling session.
Implementations§
Source§impl ClientLogon
impl ClientLogon
pub fn try_from_bytes(buffer: &[u8]) -> Option<Self>
Trait Implementations§
Source§impl Clone for ClientLogon
impl Clone for ClientLogon
Source§fn clone(&self) -> ClientLogon
fn clone(&self) -> ClientLogon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClientLogon
Source§impl Debug for ClientLogon
impl Debug for ClientLogon
Source§impl Default for ClientLogon
impl Default for ClientLogon
Source§fn default() -> ClientLogon
fn default() -> ClientLogon
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClientLogon
impl RefUnwindSafe for ClientLogon
impl Send for ClientLogon
impl Sync for ClientLogon
impl Unpin for ClientLogon
impl UnsafeUnpin for ClientLogon
impl UnwindSafe for ClientLogon
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more