pub struct WafOwned<T: AsRawMutObject, A: AllocatorType = RustAllocator> { /* private fields */ }Expand description
A WAF-owned WafObject or TypedWafObject value.
This has different Drop behavior than a rust-owned WafObject value.
The allocator used for deallocation is encoded in the type parameter A.
Trait Implementations§
Source§impl<T: AsRawMutObject, A: AllocatorType> Deref for WafOwned<T, A>
impl<T: AsRawMutObject, A: AllocatorType> Deref for WafOwned<T, A>
Source§impl<T: AsRawMutObject, A: AllocatorType> DerefMut for WafOwned<T, A>
impl<T: AsRawMutObject, A: AllocatorType> DerefMut for WafOwned<T, A>
Source§impl<T: AsRawMutObject, A: AllocatorType> Drop for WafOwned<T, A>
impl<T: AsRawMutObject, A: AllocatorType> Drop for WafOwned<T, A>
Auto Trait Implementations§
impl<T, A> Freeze for WafOwned<T, A>where
T: Freeze,
impl<T, A> RefUnwindSafe for WafOwned<T, A>where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, A> Send for WafOwned<T, A>
impl<T, A> Sync for WafOwned<T, A>
impl<T, A> Unpin for WafOwned<T, A>
impl<T, A> UnwindSafe for WafOwned<T, A>where
A: UnwindSafe,
T: UnwindSafe,
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