pub struct ExecutorAddressOperations<'a, E: AsyncExecutor> { /* private fields */ }
Implementations
sourceimpl<'a, E: AsyncExecutor> ExecutorAddressOperations<'a, E>
impl<'a, E: AsyncExecutor> ExecutorAddressOperations<'a, E>
pub async fn receive_packet(&self) -> Option<Packet<E::InputPacket>>
pub fn declare_addresses(&self, addresses: Vec<ExecutorAddress>, priority: usize)
pub async fn pool_alloc_await(
&self,
new_size: usize
) -> Arc<PoolObject<PacketsPool<E::OutputPacket>>>
pub fn packet_send(
&self,
address: ExecutorAddress,
packet: Packet<E::OutputPacket>
)
pub fn get_context(&self) -> &ExecutionContext
pub fn make_spawner(&self) -> ExecutorsSpawner<'a>
pub fn get_address(&self) -> WeakExecutorAddress
Trait Implementations
sourceimpl<'a, E: AsyncExecutor> Drop for ExecutorAddressOperations<'a, E>
impl<'a, E: AsyncExecutor> Drop for ExecutorAddressOperations<'a, E>
Auto Trait Implementations
impl<'a, E> !RefUnwindSafe for ExecutorAddressOperations<'a, E>
impl<'a, E> Send for ExecutorAddressOperations<'a, E>
impl<'a, E> Sync for ExecutorAddressOperations<'a, E>
impl<'a, E> Unpin for ExecutorAddressOperations<'a, E>
impl<'a, E> !UnwindSafe for ExecutorAddressOperations<'a, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more