pub struct OwnedClientWorkspace { /* private fields */ }Expand description
Fallibly allocated complete workspace cleared in full on drop.
Implementations§
Source§impl OwnedClientWorkspace
impl OwnedClientWorkspace
Sourcepub fn try_for_profile(
profile: ClientCapacityProfile,
) -> Result<Self, ClientCapacityError>
pub fn try_for_profile( profile: ClientCapacityProfile, ) -> Result<Self, ClientCapacityError>
Allocates exactly one named profile without panicking on allocation failure.
Sourcepub fn workspace(&mut self) -> ClientWorkspace<'_>
pub fn workspace(&mut self) -> ClientWorkspace<'_>
Borrows all four allocations as one cleanup-owning workspace.
Trait Implementations§
Source§impl Debug for OwnedClientWorkspace
Available on crate feature alloc only.
impl Debug for OwnedClientWorkspace
Available on crate feature
alloc only.Source§impl Drop for OwnedClientWorkspace
Available on crate feature alloc only.
impl Drop for OwnedClientWorkspace
Available on crate feature
alloc only.Auto Trait Implementations§
impl Freeze for OwnedClientWorkspace
impl RefUnwindSafe for OwnedClientWorkspace
impl Send for OwnedClientWorkspace
impl Sync for OwnedClientWorkspace
impl Unpin for OwnedClientWorkspace
impl UnsafeUnpin for OwnedClientWorkspace
impl UnwindSafe for OwnedClientWorkspace
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