pub struct FileSlots { /* private fields */ }Expand description
A descriptor-slot layout representable by every backend target table.
Implementations§
Source§impl FileSlots
impl FileSlots
Sourcepub const fn fixed<const ACCEPT: u32, const OUTBOUND: u32>() -> Self
pub const fn fixed<const ACCEPT: u32, const OUTBOUND: u32>() -> Self
Creates a descriptor-slot layout validated during compilation.
Sourcepub fn resolve(self, need: Files) -> Result<Self, Config>
pub fn resolve(self, need: Files) -> Result<Self, Config>
Resolves descriptor demand against this validated baseline.
pub const fn capacity(self) -> Capacity
pub const fn accept(self) -> Capacity
pub const fn outbound(self) -> Capacity
Trait Implementations§
impl Copy for FileSlots
impl Eq for FileSlots
impl StructuralPartialEq for FileSlots
Auto Trait Implementations§
impl Forget for FileSlots
impl Freeze for FileSlots
impl RefUnwindSafe for FileSlots
impl Send for FileSlots
impl Sync for FileSlots
impl Unpin for FileSlots
impl UnsafeUnpin for FileSlots
impl UnwindSafe for FileSlots
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