pub enum PublicationError {
DuplicateName(String),
Corrupt(String),
}Variants§
DuplicateName(String)
Corrupt(String)
v6.1.2 raises this only for malformed deserialise input.
(The DROP path does NOT error on a missing publication —
PG-compatible silent no-op, returned by Publications::drop.)
Trait Implementations§
Source§impl Debug for PublicationError
impl Debug for PublicationError
impl Eq for PublicationError
Source§impl PartialEq for PublicationError
impl PartialEq for PublicationError
Source§fn eq(&self, other: &PublicationError) -> bool
fn eq(&self, other: &PublicationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PublicationError
Auto Trait Implementations§
impl Freeze for PublicationError
impl RefUnwindSafe for PublicationError
impl Send for PublicationError
impl Sync for PublicationError
impl Unpin for PublicationError
impl UnsafeUnpin for PublicationError
impl UnwindSafe for PublicationError
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