Struct debian_packaging::repository::filesystem::FilesystemRepositoryWriter [−][src]
pub struct FilesystemRepositoryWriter { /* fields omitted */ }Expand description
A writable Debian repository backed by a filesystem.
Implementations
Trait Implementations
fn verify_path<'path, 'life0, 'async_trait>(
&'life0 self,
path: &'path str,
expected_content: Option<(u64, ContentDigest)>
) -> Pin<Box<dyn Future<Output = Result<RepositoryPathVerification<'path>>> + Send + 'async_trait>> where
'path: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn verify_path<'path, 'life0, 'async_trait>(
&'life0 self,
path: &'path str,
expected_content: Option<(u64, ContentDigest)>
) -> Pin<Box<dyn Future<Output = Result<RepositoryPathVerification<'path>>> + Send + 'async_trait>> where
'path: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Verify the existence of a path with optional content integrity checking. Read more
fn write_path<'path, 'reader, 'life0, 'async_trait>(
&'life0 self,
path: Cow<'path, str>,
reader: Pin<Box<dyn AsyncRead + Send + 'reader>>
) -> Pin<Box<dyn Future<Output = Result<RepositoryWrite<'path>>> + Send + 'async_trait>> where
'path: 'async_trait,
'reader: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
fn write_path<'path, 'reader, 'life0, 'async_trait>(
&'life0 self,
path: Cow<'path, str>,
reader: Pin<Box<dyn AsyncRead + Send + 'reader>>
) -> Pin<Box<dyn Future<Output = Result<RepositoryWrite<'path>>> + Send + 'async_trait>> where
'path: 'async_trait,
'reader: 'async_trait,
'life0: 'async_trait,
Self: 'async_trait,
Write data to a given path. Read more
Auto Trait Implementations
impl RefUnwindSafe for FilesystemRepositoryWriter
impl Send for FilesystemRepositoryWriter
impl Sync for FilesystemRepositoryWriter
impl Unpin for FilesystemRepositoryWriter
impl UnwindSafe for FilesystemRepositoryWriter
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
