use acktor::Message;
use crate::actor_handle::ActorHandle;
use crate::errors::SessionError;
use crate::remote_address::RemoteAddress;
type Result<T> = std::result::Result<T, SessionError>;
#[derive(Debug)]
pub struct CreateRemoteActor {
pub label: String,
pub r#type: String,
pub config: String,
}
impl Message for CreateRemoteActor {
type Result = Result<RemoteAddress>;
}
#[derive(Debug)]
pub struct GetRemoteActor {
pub actor: ActorHandle,
}
impl Message for GetRemoteActor {
type Result = Result<RemoteAddress>;
}