pub struct ClientOnlyMode;Trait Implementations§
Source§impl ClientProxyModeHandler<MinecraftCommunication<ClientOnlyMessage>> for ClientOnlyMode
impl ClientProxyModeHandler<MinecraftCommunication<ClientOnlyMessage>> for ClientOnlyMode
fn handle_internal_client<'life0, 'life1, 'async_trait>(
&'life0 self,
message: MinecraftCommunication<ClientOnlyMessage>,
actor: &'life1 mut MinecraftClient<MinecraftCommunication<ClientOnlyMessage>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn handle_external_client<'life0, 'life1, 'async_trait>(
&'life0 self,
data: PossibleReadValue,
actor: &'life1 mut MinecraftClient<MinecraftCommunication<ClientOnlyMessage>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn initialize_client<'life0, 'life1, 'async_trait>(
&'life0 self,
actor: &'life1 mut MinecraftClient<MinecraftCommunication<ClientOnlyMessage>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl ProxyModeMessageType for ClientOnlyMode
impl ProxyModeMessageType for ClientOnlyMode
type Message = ClientOnlyMessage
Source§impl ServerProxyModeHandler<MinecraftCommunication<ClientOnlyMessage>> for ClientOnlyMode
impl ServerProxyModeHandler<MinecraftCommunication<ClientOnlyMessage>> for ClientOnlyMode
fn handle_external_server<'life0, 'life1, 'async_trait>(
&'life0 self,
data: PossibleReadValue,
actor: &'life1 mut MinecraftServer<MinecraftCommunication<ClientOnlyMessage>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn handle_internal_server<'life0, 'life1, 'async_trait>(
&'life0 self,
message: MinecraftCommunication<ClientOnlyMessage>,
actor: &'life1 mut MinecraftServer<MinecraftCommunication<ClientOnlyMessage>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn initialize_server<'life0, 'life1, 'async_trait>(
&'life0 self,
actor: &'life1 mut MinecraftServer<MinecraftCommunication<ClientOnlyMessage>>,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for ClientOnlyMode
impl RefUnwindSafe for ClientOnlyMode
impl Send for ClientOnlyMode
impl Sync for ClientOnlyMode
impl Unpin for ClientOnlyMode
impl UnwindSafe for ClientOnlyMode
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