pub struct HostBytes { /* private fields */ }Expand description
Native working memory admitted before allocating and refunded on every exit.
Implementations§
Source§impl HostBytes
impl HostBytes
pub fn new(limits: &TenantLimits, bytes: u64) -> Result<Self, MemoryCapExceeded>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostBytes
impl RefUnwindSafe for HostBytes
impl Send for HostBytes
impl Sync for HostBytes
impl Unpin for HostBytes
impl UnsafeUnpin for HostBytes
impl UnwindSafe for HostBytes
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