pub struct Config { /* private fields */ }Implementations§
Source§impl Config
impl Config
pub const fn file_slots(&self) -> FileSlots
pub const fn queue_layout(&self) -> QueueLayout
pub const fn scheduler(&self) -> SchedulerLayout
pub const fn completion_progress(&self) -> CompletionProgress
pub const fn with_completion_progress( self, completion_progress: CompletionProgress, ) -> Self
pub const fn with_file_slots(self, file_slots: FileSlots) -> Self
pub const fn receive(&self) -> Receive
pub const fn with_queue_layout(self, queues: QueueLayout) -> Self
pub const fn with_scheduler(self, scheduler: SchedulerLayout) -> Self
pub fn for_profile<P: Profile>() -> Result<Self>
pub fn for_tcp_profile<P: Profile>(max_connections: usize) -> Result<Self>
Sourcepub fn for_quic_udp(
recv_buf_entries: u32,
recv_payload_len: u32,
) -> Result<Self>
pub fn for_quic_udp( recv_buf_entries: u32, recv_payload_len: u32, ) -> Result<Self>
Creates a UDP layout from usable payload bytes, excluding backend framing.
pub fn with_receive(self, receive: Receive) -> Self
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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