cli_sky/lexicon/
client.rs1pub struct AtpServiceClient<T>
5where
6 T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
7{
8 pub service: Service<T>,
9}
10impl<T> AtpServiceClient<T>
11where
12 T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
13{
14 pub fn new(xrpc: T) -> Self {
15 Self {
16 service: Service::new(std::sync::Arc::new(xrpc)),
17 }
18 }
19}
20pub struct Service<T>
21where
22 T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
23{
24 pub(crate) _phantom: core::marker::PhantomData<T>,
25}