pub enum PublisherCreateError {
ExceedsMaxSupportedPublishers,
UnableToCreateDataSegment,
FailedToDeployThreadsafetyPolicy,
UnableToCreatePortTag,
UnableToGenerateUniquePublisherId,
}Expand description
Defines a failure that can occur when a Publisher is created with
crate::service::port_factory::publisher::PortFactoryPublisher.
Variants§
ExceedsMaxSupportedPublishers
The maximum amount of Publishers that can connect to a
Service is
defined in crate::config::Config. When this is exceeded no more Publishers
can be created for a specific Service.
UnableToCreateDataSegment
The datasegment in which the payload of the Publisher is stored, could not be created.
FailedToDeployThreadsafetyPolicy
Caused by a failure when instantiating a ArcSyncPolicy defined in the
Service as ArcThreadSafetyPolicy.
UnableToCreatePortTag
The tracking port tag, required for cleanup, could not be created.
UnableToGenerateUniquePublisherId
The UniquePublisherId could not be generated.
Trait Implementations§
Source§impl Clone for PublisherCreateError
impl Clone for PublisherCreateError
Source§fn clone(&self) -> PublisherCreateError
fn clone(&self) -> PublisherCreateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PublisherCreateError
Source§impl Debug for PublisherCreateError
impl Debug for PublisherCreateError
Source§impl Display for PublisherCreateError
impl Display for PublisherCreateError
impl Eq for PublisherCreateError
Source§impl Error for PublisherCreateError
impl Error for PublisherCreateError
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 PublisherCreateError
impl PartialEq for PublisherCreateError
impl StructuralPartialEq for PublisherCreateError
Auto Trait Implementations§
impl Freeze for PublisherCreateError
impl RefUnwindSafe for PublisherCreateError
impl Send for PublisherCreateError
impl Sync for PublisherCreateError
impl Unpin for PublisherCreateError
impl UnsafeUnpin for PublisherCreateError
impl UnwindSafe for PublisherCreateError
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