[][src]Struct krill::commons::remote::cmslogger::CmsLogger

pub struct CmsLogger { /* fields omitted */ }

This type helps to log CMS (RFC8181 and RFC6492) protocol messages for auditing purposes.

Implementations

impl CmsLogger[src]

pub fn for_rfc6492_rcvd(
    log_dir: Option<&PathBuf>,
    ca: &Handle,
    sender: &Handle
) -> Self
[src]

pub fn for_rfc6492_sent(
    log_dir: Option<&PathBuf>,
    ca: &Handle,
    recipient: &Handle
) -> Self
[src]

pub fn for_rfc8181_sent(log_dir: Option<&PathBuf>, ca: &Handle) -> Self[src]

pub fn for_rfc8181_rcvd(
    log_dir: Option<&PathBuf>,
    publisher: &PublisherHandle
) -> Self
[src]

pub fn received(&self, msg: &Bytes) -> Result<(), Error>[src]

pub fn reply(&self, msg: &Bytes) -> Result<(), Error>[src]

pub fn sent(&self, msg: &Bytes) -> Result<(), Error>[src]

pub fn err(&self, msg: impl Display) -> Result<(), Error>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.