pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn get_blob(
&self,
params: Parameters
) -> Result<Vec<u8>, Error<Error>>
pub async fn get_blob( &self, params: Parameters ) -> Result<Vec<u8>, Error<Error>>
Get a blob associated with a given repo.
sourcepub async fn get_blocks(
&self,
params: Parameters
) -> Result<Vec<u8>, Error<Error>>
pub async fn get_blocks( &self, params: Parameters ) -> Result<Vec<u8>, Error<Error>>
Gets blocks from a given repo.
sourcepub async fn get_checkout(
&self,
params: Parameters
) -> Result<Vec<u8>, Error<Error>>
pub async fn get_checkout( &self, params: Parameters ) -> Result<Vec<u8>, Error<Error>>
DEPRECATED - please use com.atproto.sync.getRepo instead
sourcepub async fn get_head(&self, params: Parameters) -> Result<Output, Error<Error>>
pub async fn get_head(&self, params: Parameters) -> Result<Output, Error<Error>>
DEPRECATED - please use com.atproto.sync.getLatestCommit instead
sourcepub async fn get_latest_commit(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_latest_commit( &self, params: Parameters ) -> Result<Output, Error<Error>>
Gets the current commit CID & revision of the repo.
sourcepub async fn get_record(
&self,
params: Parameters
) -> Result<Vec<u8>, Error<Error>>
pub async fn get_record( &self, params: Parameters ) -> Result<Vec<u8>, Error<Error>>
Gets blocks needed for existence or non-existence of record.
sourcepub async fn get_repo(
&self,
params: Parameters
) -> Result<Vec<u8>, Error<Error>>
pub async fn get_repo( &self, params: Parameters ) -> Result<Vec<u8>, Error<Error>>
Gets the did’s repo, optionally catching up from a specific revision.
sourcepub async fn list_blobs(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn list_blobs( &self, params: Parameters ) -> Result<Output, Error<Error>>
List blob cids since some revision
sourcepub async fn list_repos(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn list_repos( &self, params: Parameters ) -> Result<Output, Error<Error>>
List dids and root cids of hosted repos
Auto Trait Implementations§
impl<T> RefUnwindSafe for Service<T>where
T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe,
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