[][src]Trait rpki::rrdp::ProcessDelta

pub trait ProcessDelta {
    type Err: From<Error>;
    fn meta(&mut self, session_id: Uuid, serial: usize) -> Result<(), Self::Err>;
fn publish(
        &mut self,
        uri: Rsync,
        hash: Option<DigestHex>,
        data: Vec<u8>
    ) -> Result<(), Self::Err>;
fn withdraw(&mut self, uri: Rsync, hash: DigestHex) -> Result<(), Self::Err>; fn process<R: BufRead>(&mut self, reader: R) -> Result<(), Self::Err> { ... } }

Associated Types

type Err: From<Error>

Loading content...

Required methods

fn meta(&mut self, session_id: Uuid, serial: usize) -> Result<(), Self::Err>

fn publish(
    &mut self,
    uri: Rsync,
    hash: Option<DigestHex>,
    data: Vec<u8>
) -> Result<(), Self::Err>

fn withdraw(&mut self, uri: Rsync, hash: DigestHex) -> Result<(), Self::Err>

Loading content...

Provided methods

fn process<R: BufRead>(&mut self, reader: R) -> Result<(), Self::Err>

Loading content...

Implementors

Loading content...