Enum rpki::rtr::client::PayloadError
source · pub enum PayloadError {
UnknownWithdraw,
DuplicateAnnounce,
Corrupt,
Internal,
}
Expand description
A received payload update was not acceptable.
Variants§
UnknownWithdraw
A nonexisting record was withdrawn.
DuplicateAnnounce
An existing record was announced again.
Corrupt
The record is corrupt.
Internal
An internal error in the receiver happend.
Trait Implementations§
source§impl Clone for PayloadError
impl Clone for PayloadError
source§fn clone(&self) -> PayloadError
fn clone(&self) -> PayloadError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PayloadError
impl Debug for PayloadError
source§impl Display for PayloadError
impl Display for PayloadError
source§impl Error for PayloadError
impl Error for PayloadError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
impl Copy for PayloadError
Auto Trait Implementations§
impl Freeze for PayloadError
impl RefUnwindSafe for PayloadError
impl Send for PayloadError
impl Sync for PayloadError
impl Unpin for PayloadError
impl UnwindSafe for PayloadError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Text for Twhere
T: Display,
impl<T> Text for Twhere
T: Display,
source§fn write_escaped(
&self,
mode: TextEscape,
target: &mut impl Write,
) -> Result<(), Error>
fn write_escaped( &self, mode: TextEscape, target: &mut impl Write, ) -> Result<(), Error>
Write text escaped for the given mode to
target
.