Enum GCGatewayError
pub enum GCGatewayError {
ErrorDatapointIdTooBig(u64, u64),
ErrorPluginManager(GCPluginManagerError),
ErrorMessageBroker(GCMessageBrokerError),
ErrorDatapointIDAlreadyExists(u64),
ErrorDatapointNameAlreadyExists(String),
ErrorDatapointIDDoesNotExist(u64),
ErrorPluginInstanceDoesNotExist(String),
ErrorParsingString(String),
ErrorRuntimeSubscriptionIsPluginSubscription(String),
ErrorRemovingDatapoint(String),
DeviceConfigError(String),
}Variants§
ErrorDatapointIdTooBig(u64, u64)
ErrorPluginManager(GCPluginManagerError)
ErrorMessageBroker(GCMessageBrokerError)
ErrorDatapointIDAlreadyExists(u64)
ErrorDatapointNameAlreadyExists(String)
ErrorDatapointIDDoesNotExist(u64)
ErrorPluginInstanceDoesNotExist(String)
ErrorParsingString(String)
ErrorRuntimeSubscriptionIsPluginSubscription(String)
ErrorRemovingDatapoint(String)
DeviceConfigError(String)
Trait Implementations§
§impl Debug for GCGatewayError
impl Debug for GCGatewayError
§impl Display for GCGatewayError
impl Display for GCGatewayError
§impl Error for GCGatewayError
impl Error for GCGatewayError
§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()
§impl From<GCMessageBrokerError> for GCGatewayError
impl From<GCMessageBrokerError> for GCGatewayError
§fn from(source: GCMessageBrokerError) -> Self
fn from(source: GCMessageBrokerError) -> Self
Converts to this type from the input type.
§impl From<GCPluginManagerError> for GCGatewayError
impl From<GCPluginManagerError> for GCGatewayError
§fn from(source: GCPluginManagerError) -> Self
fn from(source: GCPluginManagerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GCGatewayError
impl !RefUnwindSafe for GCGatewayError
impl Send for GCGatewayError
impl Sync for GCGatewayError
impl Unpin for GCGatewayError
impl UnsafeUnpin for GCGatewayError
impl !UnwindSafe for GCGatewayError
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