pub struct PooledTaskArgs { /* private fields */ }Expand description
Pooled task arguments
Implementations§
Methods from Deref<Target = TaskArgs>§
Sourcepub fn has_kwargs(&self) -> bool
pub fn has_kwargs(&self) -> bool
Check if there are any keyword arguments
Sourcepub fn to_json_pretty(&self) -> Result<String, Error>
pub fn to_json_pretty(&self) -> Result<String, Error>
Convert TaskArgs to pretty-printed JSON
Trait Implementations§
Source§impl Deref for PooledTaskArgs
impl Deref for PooledTaskArgs
Source§impl DerefMut for PooledTaskArgs
impl DerefMut for PooledTaskArgs
Auto Trait Implementations§
impl Freeze for PooledTaskArgs
impl RefUnwindSafe for PooledTaskArgs
impl Send for PooledTaskArgs
impl Sync for PooledTaskArgs
impl Unpin for PooledTaskArgs
impl UnwindSafe for PooledTaskArgs
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