pub struct StopShard {
pub shard_id: ShardId,
pub origin_node_id: NodeId,
pub request_id: Uuid,
}Fields§
§shard_id: ShardId§origin_node_id: NodeId§request_id: UuidTrait Implementations§
Source§impl Message for StopShard
impl Message for StopShard
type Result = ()
fn as_bytes(&self) -> Result<Vec<u8>, MessageWrapErr>
fn from_bytes(b: Vec<u8>) -> Result<Self, MessageUnwrapErr>
fn read_remote_result(_: Vec<u8>) -> Result<Self::Result, MessageUnwrapErr>
fn write_remote_result(_res: Self::Result) -> Result<Vec<u8>, MessageWrapErr>
fn into_envelope( self, envelope_type: EnvelopeType, ) -> Result<Envelope<Self>, MessageWrapErr>
fn from_envelope(envelope: Envelope<Self>) -> Result<Self, MessageUnwrapErr>
fn name(&self) -> &'static str
fn type_name() -> &'static strwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for StopShard
impl RefUnwindSafe for StopShard
impl Send for StopShard
impl Sync for StopShard
impl Unpin for StopShard
impl UnsafeUnpin for StopShard
impl UnwindSafe for StopShard
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