Enum gio::ResourceError [−][src]
pub enum ResourceError {
NotFound,
Internal,
// some variants omitted
}Variants
NotFoundInternal
Trait Implementations
impl Clone for ResourceError[src]
impl Clone for ResourceErrorfn clone(&self) -> ResourceError[src]
fn clone(&self) -> ResourceErrorReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for ResourceError[src]
impl Copy for ResourceErrorimpl Debug for ResourceError[src]
impl Debug for ResourceErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ResourceError[src]
impl Eq for ResourceErrorimpl PartialEq for ResourceError[src]
impl PartialEq for ResourceErrorfn eq(&self, other: &ResourceError) -> bool[src]
fn eq(&self, other: &ResourceError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ResourceError) -> bool[src]
fn ne(&self, other: &ResourceError) -> boolThis method tests for !=.
impl Hash for ResourceError[src]
impl Hash for ResourceErrorfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl ErrorDomain for ResourceError[src]
impl ErrorDomain for ResourceErrorfn domain() -> GQuark[src]
fn domain() -> GQuarkReturns the quark identifying the error domain. Read more
fn code(self) -> i32[src]
fn code(self) -> i32Gets the integer representation of the variant.
fn from(code: i32) -> Option<Self>[src]
fn from(code: i32) -> Option<Self>Tries to convert an integer code to an enum variant. Read more
impl StaticType for ResourceError[src]
impl StaticType for ResourceErrorfn static_type() -> Type[src]
fn static_type() -> TypeReturns the type identifier of Self.
impl<'a> FromValueOptional<'a> for ResourceError[src]
impl<'a> FromValueOptional<'a> for ResourceErrorunsafe fn from_value_optional(value: &Value) -> Option<Self>[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>impl<'a> FromValue<'a> for ResourceError[src]
impl<'a> FromValue<'a> for ResourceErrorunsafe fn from_value(value: &Value) -> Self[src]
unsafe fn from_value(value: &Value) -> Selfimpl SetValue for ResourceError[src]
impl SetValue for ResourceErrorAuto Trait Implementations
impl Send for ResourceError
impl Send for ResourceErrorimpl Sync for ResourceError
impl Sync for ResourceError