#[repr(C)]pub struct ClientLogon {
pub worker_count: usize,
pub allocator_size: usize,
pub allocator_handles: usize,
pub tpu_to_pack_size: usize,
pub progress_tracker_size: usize,
pub pack_to_worker_size: usize,
pub worker_to_pack_size: usize,
}๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Expand description
The logon message sent by the client to the server.
Fieldsยง
ยงworker_count: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The number of Agave worker threads that will be spawned to handle packing requests.
allocator_size: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The allocator file size in bytes, this is shared by all allocator handles.
allocator_handles: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The number of rts_alloc::Allocator handles the external process is requesting.
tpu_to_pack_size: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The size of the tpu_to_pack queue in bytes.
progress_tracker_size: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The size of the progress_tracker queue in bytes.
pack_to_worker_size: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The size of the pack_to_worker queue in bytes.
worker_to_pack_size: usize๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.The size of the worker_to_pack queue in bytes.
Implementationsยง
Sourceยงimpl ClientLogon
impl ClientLogon
pub fn try_from_bytes(buffer: &[u8]) -> Option<Self>
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.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 ยท 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 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
impl Copy for ClientLogon
Auto Trait Implementationsยง
impl Freeze for ClientLogon
impl RefUnwindSafe for ClientLogon
impl Send for ClientLogon
impl Sync for ClientLogon
impl Unpin 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