Struct async_wasi::object_pool::SerialObjectPool
source · pub struct SerialObjectPool<T>(/* private fields */);
Implementations§
source§impl<T> SerialObjectPool<T>
impl<T> SerialObjectPool<T>
pub fn into<U, F: FnMut(T) -> U>(self, f: F) -> ObjectPool<U>
pub fn from_ref<U, F: FnMut(&U) -> T>( pool: &ObjectPool<U>, f: F ) -> SerialObjectPool<T>
pub fn from<U, F: FnMut(U) -> T>( pool: ObjectPool<U>, f: F ) -> SerialObjectPool<T>
Trait Implementations§
source§impl<T: Clone> Clone for SerialObjectPool<T>
impl<T: Clone> Clone for SerialObjectPool<T>
source§fn clone(&self) -> SerialObjectPool<T>
fn clone(&self) -> SerialObjectPool<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for SerialObjectPool<T>
impl<T: Debug> Debug for SerialObjectPool<T>
source§impl<'de, T> Deserialize<'de> for SerialObjectPool<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for SerialObjectPool<T>where T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> RefUnwindSafe for SerialObjectPool<T>where T: RefUnwindSafe,
impl<T> Send for SerialObjectPool<T>where T: Send,
impl<T> Sync for SerialObjectPool<T>where T: Sync,
impl<T> Unpin for SerialObjectPool<T>where T: Unpin,
impl<T> UnwindSafe for SerialObjectPool<T>where 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