[][src]Enum krill::commons::remote::rfc8181::ReplyMessage

pub enum ReplyMessage {
    SuccessReply,
    ListReply(ListReply),
    ErrorReply(ErrorReply),
}

This type represents reply type Publication Messages defined in RFC8181

Variants

SuccessReply
ListReply(ListReply)
ErrorReply(ErrorReply)

Methods

impl ReplyMessage[src]

pub fn decode_success_reply<R: Read>(
    r: &mut XmlReader<R>
) -> Result<(), MessageError>
[src]

Decodes a reply from XML.

pub fn encode<W: Write>(&self, w: &mut XmlWriter<W>) -> Result<(), Error>[src]

Encodes a ReplyMessage for inclusion in an RFC8181 Protocol CMS.

pub fn encode_success_reply<W: Write>(w: &mut XmlWriter<W>) -> Result<(), Error>[src]

Encodes a success reply to xml

Trait Implementations

impl Clone for ReplyMessage[src]

impl Eq for ReplyMessage[src]

impl PartialEq<ReplyMessage> for ReplyMessage[src]

impl Debug for ReplyMessage[src]

impl StructuralPartialEq for ReplyMessage[src]

impl StructuralEq for ReplyMessage[src]

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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.

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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