Struct krill::pubd::RepositoryContentProxy [−][src]
pub struct RepositoryContentProxy { /* fields omitted */ }
Expand description
We can only have one (1) RepositoryContent, but it is stored in a KeyValueStore. So this type provides a wrapper around this so that callers don’t need to worry about storage details.
Implementations
impl RepositoryContentProxy
[src]
impl RepositoryContentProxy
[src]pub fn disk(config: &Config) -> KrillResult<Self>
[src]
pub fn init(
&self,
work_dir: &Path,
uris: PublicationServerUris
) -> KrillResult<()>
[src]
&self,
work_dir: &Path,
uris: PublicationServerUris
) -> KrillResult<()>
pub fn clear(&self) -> KrillResult<()>
[src]
pub fn stats(&self) -> KrillResult<RepoStats>
[src]
pub fn add_publisher(&self, name: PublisherHandle) -> KrillResult<()>
[src]
pub fn remove_publisher(
&self,
name: &PublisherHandle,
jail: &Rsync,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
[src]
&self,
name: &PublisherHandle,
jail: &Rsync,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
pub fn publish(
&self,
name: &PublisherHandle,
delta: PublishDelta,
jail: &Rsync,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
[src]
&self,
name: &PublisherHandle,
delta: PublishDelta,
jail: &Rsync,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
pub fn write_repository(
&self,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
[src]
&self,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
pub fn session_reset(
&self,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
[src]
&self,
config: &RepositoryRetentionConfig
) -> KrillResult<()>
pub fn list_reply(&self, name: &PublisherHandle) -> KrillResult<ListReply>
[src]
pub fn current_objects(
&self,
name: &PublisherHandle
) -> KrillResult<CurrentObjects>
[src]
&self,
name: &PublisherHandle
) -> KrillResult<CurrentObjects>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RepositoryContentProxy
impl Send for RepositoryContentProxy
impl Sync for RepositoryContentProxy
impl Unpin for RepositoryContentProxy
impl UnwindSafe for RepositoryContentProxy
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,