docs(tvix/store): correct some cargo doc warnings
Change-Id: I5053e3f7dcea01e75baa933e4986396583ff22e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8831 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su> Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
		
							parent
							
								
									09486d483c
								
							
						
					
					
						commit
						6656b865b6
					
				
					 5 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,7 @@ pub struct GRPCBlobService {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
impl GRPCBlobService {
 | 
			
		||||
    /// construct a [GRPCBlobService] from a [proto::blob_service_client::BlobServiceClient<Channel>].
 | 
			
		||||
    /// construct a [GRPCBlobService] from a [proto::blob_service_client::BlobServiceClient].
 | 
			
		||||
    /// panics if called outside the context of a tokio runtime.
 | 
			
		||||
    pub fn from_client(
 | 
			
		||||
        grpc_client: proto::blob_service_client::BlobServiceClient<Channel>,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -22,7 +22,7 @@ pub struct GRPCDirectoryService {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
impl GRPCDirectoryService {
 | 
			
		||||
    /// construct a [GRPCDirectoryService] from a [proto::directory_service_client::DirectoryServiceClient<Channel>].
 | 
			
		||||
    /// construct a [GRPCDirectoryService] from a [proto::directory_service_client::DirectoryServiceClient].
 | 
			
		||||
    /// panics if called outside the context of a tokio runtime.
 | 
			
		||||
    pub fn from_client(
 | 
			
		||||
        grpc_client: proto::directory_service_client::DirectoryServiceClient<Channel>,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,7 @@ use std::{
 | 
			
		|||
};
 | 
			
		||||
use tracing::warn;
 | 
			
		||||
 | 
			
		||||
/// Invoke [render_nar], and return the size and sha256 digest of the produced
 | 
			
		||||
/// Invoke [write_nar], and return the size and sha256 digest of the produced
 | 
			
		||||
/// NAR output.
 | 
			
		||||
pub fn calculate_size_and_sha256(
 | 
			
		||||
    root_node: &proto::node::Node,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,7 +16,7 @@ pub struct GRPCPathInfoService {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
impl GRPCPathInfoService {
 | 
			
		||||
    /// construct a [GRPCDirectoryService] from a [proto::path_info_service_client::PathInfoServiceClient<Channel>].
 | 
			
		||||
    /// construct a [GRPCPathInfoService] from a [proto::path_info_service_client::PathInfoServiceClient].
 | 
			
		||||
    /// panics if called outside the context of a tokio runtime.
 | 
			
		||||
    pub fn from_client(
 | 
			
		||||
        grpc_client: proto::path_info_service_client::PathInfoServiceClient<Channel>,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,7 +50,7 @@ impl SledPathInfoService {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
impl PathInfoService for SledPathInfoService {
 | 
			
		||||
    /// Constructs a [SledBlobService] from the passed [url::Url]:
 | 
			
		||||
    /// Constructs a [SledPathInfoService] from the passed [url::Url]:
 | 
			
		||||
    /// - scheme has to be `sled://`
 | 
			
		||||
    /// - there may not be a host.
 | 
			
		||||
    /// - a path to the sled needs to be provided (which may not be `/`).
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue