Enum souk::shared::worker_error::WorkerError
source · pub enum WorkerError {
IO(String),
GLibCancelled(String),
GLib(String),
DryRunRuntimeNotFound(String),
}
Variants§
Trait Implementations§
source§impl Clone for WorkerError
impl Clone for WorkerError
source§fn clone(&self) -> WorkerError
fn clone(&self) -> WorkerError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WorkerError
impl Debug for WorkerError
source§impl Default for WorkerError
impl Default for WorkerError
source§impl<'de> Deserialize<'de> for WorkerError
impl<'de> Deserialize<'de> for WorkerError
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for WorkerError
impl Display for WorkerError
source§impl Error for WorkerError
impl Error for WorkerError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<Error> for WorkerError
impl From<Error> for WorkerError
source§impl From<Error> for WorkerError
impl From<Error> for WorkerError
source§impl From<Error> for WorkerError
impl From<Error> for WorkerError
source§impl From<WorkerError> for Error
impl From<WorkerError> for Error
source§fn from(source: WorkerError) -> Self
fn from(source: WorkerError) -> Self
Converts to this type from the input type.
source§impl From<WorkerError> for Value
impl From<WorkerError> for Value
source§fn from(v: WorkerError) -> Self
fn from(v: WorkerError) -> Self
Converts to this type from the input type.
source§impl FromGlibPtrFull<*mut WorkerError> for WorkerError
impl FromGlibPtrFull<*mut WorkerError> for WorkerError
source§unsafe fn from_glib_full(ptr: *mut WorkerError) -> Self
unsafe fn from_glib_full(ptr: *mut WorkerError) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const WorkerError> for WorkerError
impl FromGlibPtrNone<*const WorkerError> for WorkerError
source§unsafe fn from_glib_none(ptr: *const WorkerError) -> Self
unsafe fn from_glib_none(ptr: *const WorkerError) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut WorkerError> for WorkerError
impl FromGlibPtrNone<*mut WorkerError> for WorkerError
source§unsafe fn from_glib_none(ptr: *mut WorkerError) -> Self
unsafe fn from_glib_none(ptr: *mut WorkerError) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a WorkerError
impl<'a> FromValue<'a> for &'a WorkerError
§type Checker = GenericValueTypeChecker<&'a WorkerError>
type Checker = GenericValueTypeChecker<&'a WorkerError>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for WorkerError
impl<'a> FromValue<'a> for WorkerError
§type Checker = GenericValueTypeChecker<WorkerError>
type Checker = GenericValueTypeChecker<WorkerError>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for WorkerError
impl HasParamSpec for WorkerError
type ParamSpec = ParamSpecBoxed
§type SetValue = WorkerError
type SetValue = WorkerError
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str) -> ParamSpecBoxedBuilder<'_, WorkerError>
fn param_spec_builder() -> Self::BuilderFn
source§impl IntoGlibPtr<*mut WorkerError> for WorkerError
impl IntoGlibPtr<*mut WorkerError> for WorkerError
source§unsafe fn into_glib_ptr(self) -> *mut WorkerError
unsafe fn into_glib_ptr(self) -> *mut WorkerError
Transfer: full.
source§impl PartialEq<WorkerError> for WorkerError
impl PartialEq<WorkerError> for WorkerError
source§fn eq(&self, other: &WorkerError) -> bool
fn eq(&self, other: &WorkerError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WorkerError
impl Serialize for WorkerError
source§impl StaticType for WorkerError
impl StaticType for WorkerError
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const WorkerError> for WorkerError
impl<'a> ToGlibPtr<'a, *const WorkerError> for WorkerError
type Storage = PhantomData<&'a WorkerError>
source§fn to_glib_none(&'a self) -> Stash<'a, *const WorkerError, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const WorkerError, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const WorkerError
fn to_glib_full(&self) -> *const WorkerError
Transfer: full. Read more
§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut WorkerError> for WorkerError
impl<'a> ToGlibPtr<'a, *mut WorkerError> for WorkerError
type Storage = PhantomData<&'a WorkerError>
source§fn to_glib_none(&'a self) -> Stash<'a, *mut WorkerError, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut WorkerError, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut WorkerError
fn to_glib_full(&self) -> *mut WorkerError
Transfer: full. Read more
§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl ToValue for WorkerError
impl ToValue for WorkerError
source§impl Type for WorkerError
impl Type for WorkerError
source§impl ValueType for WorkerError
impl ValueType for WorkerError
§type Type = WorkerError
type Type = WorkerError
Type to get the
Type
from. Read moreimpl StructuralPartialEq for WorkerError
Auto Trait Implementations§
impl RefUnwindSafe for WorkerError
impl Send for WorkerError
impl Sync for WorkerError
impl Unpin for WorkerError
impl UnwindSafe for WorkerError
Blanket Implementations§
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere
T: Type + ?Sized,
§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
impl<T> IntoClosureReturnValue for Twhere
T: Into<Value>,
fn into_closure_return_value(self) -> Option<Value>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.