pub struct AtpServiceClient<T>
where
T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
{
pub service: Service<T>,
}
impl<T> AtpServiceClient<T>
where
T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
{
pub fn new(xrpc: T) -> Self {
Self {
service: Service::new(std::sync::Arc::new(xrpc)),
}
}
}
pub struct Service<T>
where
T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
{
pub(crate) _phantom: core::marker::PhantomData<T>,
}