pub struct Config { /* private fields */ }Implementations§
Source§impl Config
impl Config
Sourcepub const fn new(
queues: QueueLayout,
schedule: Schedule,
files: FileSlots,
recv: Receive,
domains: Domain,
progress: Progress,
) -> Self
pub const fn new( queues: QueueLayout, schedule: Schedule, files: FileSlots, recv: Receive, domains: Domain, progress: Progress, ) -> Self
Assembles validated fields; driver creation checks their relationships.
pub const fn file_slots(&self) -> FileSlots
pub const fn queue_layout(&self) -> QueueLayout
pub const fn schedule(&self) -> Schedule
pub const fn progress(&self) -> Progress
pub const fn with_files(self, files: FileSlots) -> Self
pub const fn receive(&self) -> Receive
Sourcepub const fn domains(&self) -> Domain
pub const fn domains(&self) -> Domain
Number of stable resident-accounting domains provisioned for one generative driver scope.
pub const fn with_domains(self, domains: Domain) -> Self
pub const fn with_queues(self, queues: QueueLayout) -> Self
pub const fn set_schedule(self, schedule: Schedule) -> Self
Sourcepub const fn for_profile<P: Profile>() -> Self
pub const fn for_profile<P: Profile>() -> Self
Materializes a statically validated profile baseline.
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