pub struct NodeSessionManagerHandle { /* private fields */ }Implementations§
Source§impl NodeSessionManagerHandle
impl NodeSessionManagerHandle
pub async fn shutdown(&self)
pub async fn allocate_shard( &self, node_id: &str, type_name: String, shard_id: String, timeout: Duration, ) -> Result<ShardAllocation, String>
pub async fn remember_shard_allocations( &self, node_id: &str, table: ShardAllocationTable, timeout: Duration, ) -> Result<(), String>
pub async fn get_shard_allocations( &self, node_id: &str, type_name: String, timeout: Duration, ) -> Result<ShardAllocationTable, String>
pub async fn forward_shard_envelopes( &self, node_id: &str, batch: ForwardShardEnvelopes, timeout: Duration, ) -> Result<ShardEnvelopeBatchResult, String>
pub async fn complete_sharding_ask( &self, node_id: &str, response: CompleteShardingAsk, timeout: Duration, ) -> Result<(), String>
pub async fn forward_shard_pipe_envelopes( &self, node_id: &str, batch: ForwardShardEnvelopes, ) -> Result<(), String>
pub async fn complete_sharding_ask_pipe( &self, node_id: &str, response: CompleteShardingAsk, ) -> Result<(), String>
pub fn try_complete_sharding_ask_pipe( &self, node_id: &str, response: CompleteShardingAsk, ) -> Result<(), String>
Trait Implementations§
Source§impl Clone for NodeSessionManagerHandle
impl Clone for NodeSessionManagerHandle
Source§fn clone(&self) -> NodeSessionManagerHandle
fn clone(&self) -> NodeSessionManagerHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for NodeSessionManagerHandle
impl !UnwindSafe for NodeSessionManagerHandle
impl Freeze for NodeSessionManagerHandle
impl Send for NodeSessionManagerHandle
impl Sync for NodeSessionManagerHandle
impl Unpin for NodeSessionManagerHandle
impl UnsafeUnpin for NodeSessionManagerHandle
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Message for T
impl<T> Message for T
Source§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
Convert a BoxedMessage to this concrete type
Source§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
Convert this message to a BoxedMessage