GIOErrorEnum

Enum GIOErrorEnum 

Source
#[repr(C)]
pub enum GIOErrorEnum {
Show 46 variants Failed = 0, NotFound = 1, Exists = 2, IsDirectory = 3, NotDirectory = 4, NotEmpty = 5, NotRegularFile = 6, NotSymbolicLink = 7, NotMountableFile = 8, FilenameTooLong = 9, InvalidFilename = 10, TooManyLinks = 11, NoSpace = 12, InvalidArgument = 13, PermissionDenied = 14, NotSupported = 15, NotMounted = 16, AlreadyMounted = 17, Closed = 18, Cancelled = 19, Pending = 20, ReadOnly = 21, CantCreateBackup = 22, WrongEtag = 23, TimedOut = 24, WouldRecurse = 25, Busy = 26, WouldBlock = 27, HostNotFound = 28, WouldMerge = 29, FailedHandled = 30, TooManyOpenFiles = 31, NotInitialized = 32, AddressInUse = 33, PartialInput = 34, InvalidData = 35, DbusError = 36, HostUnreachable = 37, NetworkUnreachable = 38, ConnectionRefused = 39, ProxyFailed = 40, ProxyAuthFailed = 41, ProxyNeedAuth = 42, ProxyNotAllowed = 43, BrokenPipe = 44, NotConnected = 45,
}

Variants§

§

Failed = 0

§

NotFound = 1

§

Exists = 2

§

IsDirectory = 3

§

NotDirectory = 4

§

NotEmpty = 5

§

NotRegularFile = 6

§

NotMountableFile = 8

§

FilenameTooLong = 9

§

InvalidFilename = 10

§

NoSpace = 12

§

InvalidArgument = 13

§

PermissionDenied = 14

§

NotSupported = 15

§

NotMounted = 16

§

AlreadyMounted = 17

§

Closed = 18

§

Cancelled = 19

§

Pending = 20

§

ReadOnly = 21

§

CantCreateBackup = 22

§

WrongEtag = 23

§

TimedOut = 24

§

WouldRecurse = 25

§

Busy = 26

§

WouldBlock = 27

§

HostNotFound = 28

§

WouldMerge = 29

§

FailedHandled = 30

§

TooManyOpenFiles = 31

§

NotInitialized = 32

§

AddressInUse = 33

§

PartialInput = 34

§

InvalidData = 35

§

DbusError = 36

§

HostUnreachable = 37

§

NetworkUnreachable = 38

§

ConnectionRefused = 39

§

ProxyFailed = 40

§

ProxyAuthFailed = 41

§

ProxyNeedAuth = 42

§

ProxyNotAllowed = 43

§

BrokenPipe = 44

§

NotConnected = 45

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.