[−][src]Struct krill::commons::remote::rfc6492::Message
This type represents all Provisioning Messages defined in RFC6492.
Note this is all very similar to, yet subtly different from, the Publication Messages defined in RFC8181.
Implementations
impl Message
[src]
pub fn unwrap(self) -> (Sender, Recipient, Content)
[src]
pub fn sender(&self) -> &Handle
[src]
pub fn recipient(&self) -> &Handle
[src]
pub fn content(&self) -> &Content
[src]
impl Message
[src]
pub fn into_reply(self) -> Result<Res, Error>
[src]
impl Message
[src]
pub fn list(sender: Sender, recipient: Recipient) -> Self
[src]
pub fn list_response(
sender: Sender,
recipient: Recipient,
entitlements: Entitlements
) -> Self
[src]
sender: Sender,
recipient: Recipient,
entitlements: Entitlements
) -> Self
pub fn issue(
sender: Sender,
recipient: Recipient,
issuance_request: IssuanceRequest
) -> Self
[src]
sender: Sender,
recipient: Recipient,
issuance_request: IssuanceRequest
) -> Self
pub fn issue_response(
sender: Sender,
recipient: Recipient,
issuance_response: IssuanceResponse
) -> Self
[src]
sender: Sender,
recipient: Recipient,
issuance_response: IssuanceResponse
) -> Self
pub fn revoke(
sender: Sender,
recipient: Recipient,
revocation: RevocationRequest
) -> Self
[src]
sender: Sender,
recipient: Recipient,
revocation: RevocationRequest
) -> Self
pub fn revoke_response(
sender: Sender,
recipient: Recipient,
revocation: RevocationResponse
) -> Self
[src]
sender: Sender,
recipient: Recipient,
revocation: RevocationResponse
) -> Self
pub fn not_performed_response(
sender: Sender,
recipient: Recipient,
err: NotPerformedResponse
) -> Result<Self, Error>
[src]
sender: Sender,
recipient: Recipient,
err: NotPerformedResponse
) -> Result<Self, Error>
impl Message
[src]
pub fn decode<R>(reader: R) -> Result<Self, Error> where
R: Read,
[src]
R: Read,
Decodes an XML structure
pub fn from_signed_message(msg: &SignedMessage) -> Result<Message, Error>
[src]
Parses the content of a SignedMessage as a Message.
pub fn encode<W: Write>(&self, target: &mut XmlWriter<W>) -> Result<(), Error>
[src]
Encode into XML
pub fn encode_vec(&self) -> Vec<u8>
[src]
Encodes to a Vec
pub fn into_bytes(self) -> Bytes
[src]
Consumes the message and turns it into bytes
Trait Implementations
impl Clone for Message
[src]
impl Debug for Message
[src]
impl Eq for Message
[src]
impl PartialEq<Message> for Message
[src]
impl StructuralEq for Message
[src]
impl StructuralPartialEq for Message
[src]
Auto Trait Implementations
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,