pub enum BrokerServeError {
Show 13 variants
InvalidMaxConnections,
EmptyBackendEndpoint,
ServiceDefinition(ServiceDefinitionError),
BrokerInstance(BrokerInstanceError),
Identity(IdentityError),
Sid(SidError),
VersionPolicy(VersionPolicyBlock),
BackendHandle(BackendHandleError),
RegisteredBackendMissing,
HelloHandler(HelloHandlerError),
PeerPolicyUnavailable,
Connection(BrokerConnectionError),
ControlSocket(ControlSocketError),
}Expand description
Errors raised while wiring or serving the bounded broker.
Variants§
InvalidMaxConnections
The connection bound must be non-zero.
EmptyBackendEndpoint
The configured backend endpoint is empty.
ServiceDefinition(ServiceDefinitionError)
Service-definition load or validation failed.
BrokerInstance(BrokerInstanceError)
Service isolation could not be mapped to a broker instance.
Identity(IdentityError)
Current process identity could not be recorded for the configured backend.
Sid(SidError)
Current user SID hash could not be computed for backend endpoint allocation.
VersionPolicy(VersionPolicyBlock)
Configured backend version is blocked by the service definition.
BackendHandle(BackendHandleError)
Backend identity verification failed.
RegisteredBackendMissing
Registry lookup failed after inserting the configured backend.
HelloHandler(HelloHandlerError)
Hello handler construction failed.
The platform current-user peer policy could not be constructed.
Connection(BrokerConnectionError)
Local-socket serving failed.
ControlSocket(ControlSocketError)
Shared control-socket serving failed.
Trait Implementations§
Source§impl Debug for BrokerServeError
impl Debug for BrokerServeError
Source§impl Display for BrokerServeError
impl Display for BrokerServeError
Source§impl Error for BrokerServeError
impl Error for BrokerServeError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<BackendHandleError> for BrokerServeError
impl From<BackendHandleError> for BrokerServeError
Source§fn from(source: BackendHandleError) -> Self
fn from(source: BackendHandleError) -> Self
Source§impl From<BrokerConnectionError> for BrokerServeError
impl From<BrokerConnectionError> for BrokerServeError
Source§fn from(source: BrokerConnectionError) -> Self
fn from(source: BrokerConnectionError) -> Self
Source§impl From<BrokerInstanceError> for BrokerServeError
impl From<BrokerInstanceError> for BrokerServeError
Source§fn from(source: BrokerInstanceError) -> Self
fn from(source: BrokerInstanceError) -> Self
Source§impl From<ControlSocketError> for BrokerServeError
impl From<ControlSocketError> for BrokerServeError
Source§fn from(source: ControlSocketError) -> Self
fn from(source: ControlSocketError) -> Self
Source§impl From<HelloHandlerError> for BrokerServeError
impl From<HelloHandlerError> for BrokerServeError
Source§fn from(source: HelloHandlerError) -> Self
fn from(source: HelloHandlerError) -> Self
Source§impl From<IdentityError> for BrokerServeError
impl From<IdentityError> for BrokerServeError
Source§fn from(source: IdentityError) -> Self
fn from(source: IdentityError) -> Self
Source§impl From<ServiceDefinitionError> for BrokerServeError
impl From<ServiceDefinitionError> for BrokerServeError
Source§fn from(source: ServiceDefinitionError) -> Self
fn from(source: ServiceDefinitionError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for BrokerServeError
impl !UnwindSafe for BrokerServeError
impl Freeze for BrokerServeError
impl Send for BrokerServeError
impl Sync for BrokerServeError
impl Unpin for BrokerServeError
impl UnsafeUnpin for BrokerServeError
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more