pub enum PublicationError {
DuplicateInterface(InterfaceRef),
UnexposedInterface(InterfaceRef),
}Expand description
Failure to construct an explicit object publication.
Variants§
DuplicateInterface(InterfaceRef)
The same scope/name Interface reference was exposed more than once.
UnexposedInterface(InterfaceRef)
Projection attempted to add an interface without an implementation.
Trait Implementations§
Source§impl Clone for PublicationError
impl Clone for PublicationError
Source§impl Debug for PublicationError
impl Debug for PublicationError
Source§impl Display for PublicationError
impl Display for PublicationError
impl Eq for PublicationError
Source§impl Error for PublicationError
impl Error for PublicationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for PublicationError
impl PartialEq for PublicationError
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