|
|
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Errno` enum in crate `nix`."><meta name="keywords" content="rust, rustlang, rust-lang, Errno"><title>nix::errno::Errno - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="../../favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../../nix/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum Errno</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.UnknownErrno">UnknownErrno</a><a href="#variant.EPERM">EPERM</a><a href="#variant.ENOENT">ENOENT</a><a href="#variant.ESRCH">ESRCH</a><a href="#variant.EINTR">EINTR</a><a href="#variant.EIO">EIO</a><a href="#variant.ENXIO">ENXIO</a><a href="#variant.E2BIG">E2BIG</a><a href="#variant.ENOEXEC">ENOEXEC</a><a href="#variant.EBADF">EBADF</a><a href="#variant.ECHILD">ECHILD</a><a href="#variant.EAGAIN">EAGAIN</a><a href="#variant.ENOMEM">ENOMEM</a><a href="#variant.EACCES">EACCES</a><a href="#variant.EFAULT">EFAULT</a><a href="#variant.ENOTBLK">ENOTBLK</a><a href="#variant.EBUSY">EBUSY</a><a href="#variant.EEXIST">EEXIST</a><a href="#variant.EXDEV">EXDEV</a><a href="#variant.ENODEV">ENODEV</a><a href="#variant.ENOTDIR">ENOTDIR</a><a href="#variant.EISDIR">EISDIR</a><a href="#variant.EINVAL">EINVAL</a><a href="#variant.ENFILE">ENFILE</a><a href="#variant.EMFILE">EMFILE</a><a href="#variant.ENOTTY">ENOTTY</a><a href="#variant.ETXTBSY">ETXTBSY</a><a href="#variant.EFBIG">EFBIG</a><a href="#variant.ENOSPC">ENOSPC</a><a href="#variant.ESPIPE">ESPIPE</a><a href="#variant.EROFS">EROFS</a><a href="#variant.EMLINK">EMLINK</a><a href="#variant.EPIPE">EPIPE</a><a href="#variant.EDOM">EDOM</a><a href="#variant.ERANGE">ERANGE</a><a href="#variant.EDEADLK">EDEADLK</a><a href="#variant.ENAMETOOLONG">ENAMETOOLONG</a><a href="#variant.ENOLCK">ENOLCK</a><a href="#variant.ENOSYS">ENOSYS</a><a href="#variant.ENOTEMPTY">ENOTEMPTY</a><a href="#variant.ELOOP">ELOOP</a><a href="#variant.ENOMSG">ENOMSG</a><a href="#variant.EIDRM">EIDRM</a><a href="#variant.ECHRNG">ECHRNG</a><a href="#variant.EL2NSYNC">EL2NSYNC</a><a href="#variant.EL3HLT">EL3HLT</a><a href="#variant.EL3RST">EL3RST</a><a href="#variant.ELNRNG">ELNRNG</a><a href="#variant.EUNATCH">EUNATCH</a><a href="#variant.ENOCSI">ENOCSI</a><a href="#variant.EL2HLT">EL2HLT</a><a href="#variant.EBADE">EBADE</a><a href="#variant.EBADR">EBADR</a><a href="#variant.EXFULL">EXFULL</a><a href="#variant.ENOANO">ENOANO</a><a href="#variant.EBADRQC">EBADRQC</a><a href="#variant.EBADSLT">EBADSLT</a><a href="#variant.EBFONT">EBFONT</a><a href="#variant.ENOSTR">ENOSTR</a><a href="#variant.ENODATA">ENODATA</a><a href="#variant.ETIME">ETIME</a><a href="#variant.ENOSR">ENOSR</a><a href="#variant.ENONET">ENONET</a><a href="#variant.ENOPKG">ENOPKG</a><a href="#variant.EREMOTE">EREMOTE</a><a href="#variant.ENOLINK">ENOLINK</a><a href="#variant.EADV">EADV</a><a href="#variant.ESRMNT">ESRMNT</a><a href="#variant.ECOMM">ECOMM</a><a href="#variant.EPROTO">EPROTO</a><a href="#variant.EMULTIHOP">EMULTIHOP</a><a href="#variant.EDOTDOT">EDOTDOT</a><a href="#variant.EBADMSG">EBADMSG</a><a href="#variant.EOVERFLOW">EOVERFLOW</a><a href="#variant.ENOTUNIQ">ENOTUNIQ</a><a href="#variant.EBADFD">EBADFD</a><a href="#variant.EREMCHG">EREMCHG</a><a href="#variant.ELIBACC">ELIBACC</a><a href="#variant.ELIBBAD">ELIBBAD</a><a href="#variant.ELIBSCN">ELIBSCN</a><a href="#variant.ELIBMAX">ELIBMAX</a><a href="#variant.ELIBEXEC">ELIBEXEC</a><a href="#variant.EILSEQ">EILSEQ</a><a href="#variant.ERESTART">ERESTART</a><a href="#variant.ESTRPIPE">ESTRPIPE</a><a href="#variant.EUSERS">EUSERS</a><a href="#variant.ENOTSOCK">ENOTSOCK</a><a href="#variant.EDESTADDRREQ">EDESTADDRREQ</a><a href="#variant.EMSGSIZE">EMSGSIZE</a><a href="#variant.EPROTOTYPE">EPROTOTYPE</a><a href="#variant.ENOPROTOOPT">ENOPROTOOPT</a><a href="#variant.EPROTONOSUPPORT">EPROTONOSUPPORT</a><a href="#variant.ESOCKTNOSUPPORT">ESOCKTNOSUPPORT</a><a href="#variant.EOPNOTSUPP">EOPNOTSUPP</a><a href="#variant.EPFNOSUPPORT">EPFNOSUPPORT</a><a href="#variant.EAFNOSUPPORT">EAFNOSUPPORT</a><a href="#variant.EADDRINUSE">EADDRINUSE</a><a href="#variant.EADDRNOTAVAIL">EADDRNOTAVAIL</a><a href="#variant.ENETDOWN">ENETDOWN</a><a href="#variant.ENETUNREACH">ENETUNREACH</a><a href="#variant.ENETRESET">ENETRESET</a><a href="#variant.ECONNABORTED">ECONNABORTED</a><a href="#variant.ECONNRESET">ECONNRESET</a><a href="#variant.ENOBUFS">ENOBUFS</a><a href="#variant.EISCONN">EISCONN</a><a href="#variant.ENOTCONN">ENOTCONN</a><a href="#variant.ESHUTDOWN">ESHUTDOWN</a><a href="#variant.ETOOMANYREFS">ETOOMANYREFS</a><a href="#variant.ETIMEDOUT">ETIMEDOUT</a><a href="#variant.ECONNREFUSED">ECONNREFUSED</a><a href="#variant.EHOSTDOWN">EHOSTDOWN</a><a href="#variant.EHOSTUNREACH">EHOSTUNREACH</a><a href="#variant.EALREADY">EALREADY</a><a href="#variant.EINPROGRESS">EINPROGRESS</a><a href="#variant.ESTALE">ESTALE</a><a href="#variant.EUCLEAN">EUCLEAN</a><a href="#variant.ENOTNAM">ENOTNAM</a><a href="#variant.ENAVAIL">ENAVAIL</a><a href="#variant.EISNAM">EISNAM</a><a href="#variant.EREMOTEIO">EREMOTEIO</a><a href="#variant.EDQUOT">EDQUOT</a><a href="#variant.ENOMEDIUM">ENOMEDIUM</a><a href="#variant.EMEDIUMTYPE">EMEDIUMTYPE</a><a href="#variant.ECANCELED">ECANCELED</a><a href="#variant.ENOKEY">ENOKEY</a><a href="#variant.EKEYEXPIRED">EKEYEXPIRED</a><a href="#variant.EKEYREVOKED">EKEYREVOKED</a><a href="#variant.EKEYREJECTED">EKEYREJECTED</a><a href="#variant.EOWNERDEAD">EOWNERDEAD</a><a href="#variant.ENOTRECOVERABLE">ENOTRECOVERABLE</a><a href="#variant.ERFKILL">ERFKILL</a><a href="#variant.EHWPOISON">EHWPOISON</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.clear">clear</a><a href="#method.desc">desc</a><a href="#method.from_i32">from_i32</a><a href="#method.last">last</a><a href="#method.result">result</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Display">Display</a><a href="#impl-Eq">Eq</a><a href="#impl-Error">Error</a><a href="#impl-From%3CErrno%3E">From<Errno></a><a href="#impl-PartialEq%3CErrno%3E">PartialEq<Errno></a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-ToString">ToString</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a></div></div><p class='location'><a href='../index.html'>nix</a>::<wbr><a href='index.html'>errno</a></p><script>window.sidebarCurrent = {name: 'Errno', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../../src/nix/errno.rs.html#582-717' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../index.html'>nix</a>::<wbr><a href='index.html'>errno</a>::<wbr><a class="enum" href=''>Errno</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'><span class="docblock attributes top-attr">#[repr(i32)]
|
|
|
</span>pub enum Errno {
|
|
|
UnknownErrno,
|
|
|
EPERM,
|
|
|
ENOENT,
|
|
|
ESRCH,
|
|
|
EINTR,
|
|
|
EIO,
|
|
|
ENXIO,
|
|
|
E2BIG,
|
|
|
ENOEXEC,
|
|
|
EBADF,
|
|
|
ECHILD,
|
|
|
EAGAIN,
|
|
|
ENOMEM,
|
|
|
EACCES,
|
|
|
EFAULT,
|
|
|
ENOTBLK,
|
|
|
EBUSY,
|
|
|
EEXIST,
|
|
|
EXDEV,
|
|
|
ENODEV,
|
|
|
ENOTDIR,
|
|
|
EISDIR,
|
|
|
EINVAL,
|
|
|
ENFILE,
|
|
|
EMFILE,
|
|
|
ENOTTY,
|
|
|
ETXTBSY,
|
|
|
EFBIG,
|
|
|
ENOSPC,
|
|
|
ESPIPE,
|
|
|
EROFS,
|
|
|
EMLINK,
|
|
|
EPIPE,
|
|
|
EDOM,
|
|
|
ERANGE,
|
|
|
EDEADLK,
|
|
|
ENAMETOOLONG,
|
|
|
ENOLCK,
|
|
|
ENOSYS,
|
|
|
ENOTEMPTY,
|
|
|
ELOOP,
|
|
|
ENOMSG,
|
|
|
EIDRM,
|
|
|
ECHRNG,
|
|
|
EL2NSYNC,
|
|
|
EL3HLT,
|
|
|
EL3RST,
|
|
|
ELNRNG,
|
|
|
EUNATCH,
|
|
|
ENOCSI,
|
|
|
EL2HLT,
|
|
|
EBADE,
|
|
|
EBADR,
|
|
|
EXFULL,
|
|
|
ENOANO,
|
|
|
EBADRQC,
|
|
|
EBADSLT,
|
|
|
EBFONT,
|
|
|
ENOSTR,
|
|
|
ENODATA,
|
|
|
ETIME,
|
|
|
ENOSR,
|
|
|
ENONET,
|
|
|
ENOPKG,
|
|
|
EREMOTE,
|
|
|
ENOLINK,
|
|
|
EADV,
|
|
|
ESRMNT,
|
|
|
ECOMM,
|
|
|
EPROTO,
|
|
|
EMULTIHOP,
|
|
|
EDOTDOT,
|
|
|
EBADMSG,
|
|
|
EOVERFLOW,
|
|
|
ENOTUNIQ,
|
|
|
EBADFD,
|
|
|
EREMCHG,
|
|
|
ELIBACC,
|
|
|
ELIBBAD,
|
|
|
ELIBSCN,
|
|
|
ELIBMAX,
|
|
|
ELIBEXEC,
|
|
|
EILSEQ,
|
|
|
ERESTART,
|
|
|
ESTRPIPE,
|
|
|
EUSERS,
|
|
|
ENOTSOCK,
|
|
|
EDESTADDRREQ,
|
|
|
EMSGSIZE,
|
|
|
EPROTOTYPE,
|
|
|
ENOPROTOOPT,
|
|
|
EPROTONOSUPPORT,
|
|
|
ESOCKTNOSUPPORT,
|
|
|
EOPNOTSUPP,
|
|
|
EPFNOSUPPORT,
|
|
|
EAFNOSUPPORT,
|
|
|
EADDRINUSE,
|
|
|
EADDRNOTAVAIL,
|
|
|
ENETDOWN,
|
|
|
ENETUNREACH,
|
|
|
ENETRESET,
|
|
|
ECONNABORTED,
|
|
|
ECONNRESET,
|
|
|
ENOBUFS,
|
|
|
EISCONN,
|
|
|
ENOTCONN,
|
|
|
ESHUTDOWN,
|
|
|
ETOOMANYREFS,
|
|
|
ETIMEDOUT,
|
|
|
ECONNREFUSED,
|
|
|
EHOSTDOWN,
|
|
|
EHOSTUNREACH,
|
|
|
EALREADY,
|
|
|
EINPROGRESS,
|
|
|
ESTALE,
|
|
|
EUCLEAN,
|
|
|
ENOTNAM,
|
|
|
ENAVAIL,
|
|
|
EISNAM,
|
|
|
EREMOTEIO,
|
|
|
EDQUOT,
|
|
|
ENOMEDIUM,
|
|
|
EMEDIUMTYPE,
|
|
|
ECANCELED,
|
|
|
ENOKEY,
|
|
|
EKEYEXPIRED,
|
|
|
EKEYREVOKED,
|
|
|
EKEYREJECTED,
|
|
|
EOWNERDEAD,
|
|
|
ENOTRECOVERABLE,
|
|
|
ERFKILL,
|
|
|
EHWPOISON,
|
|
|
}</pre></div><h2 id='variants' class='variants small-section-header'>
|
|
|
Variants<a href='#variants' class='anchor'></a></h2>
|
|
|
<div id="variant.UnknownErrno" class="variant small-section-header"><a href="#variant.UnknownErrno" class="anchor field"></a><code id='UnknownErrno.v'>UnknownErrno</code></div><div id="variant.EPERM" class="variant small-section-header"><a href="#variant.EPERM" class="anchor field"></a><code id='EPERM.v'>EPERM</code></div><div id="variant.ENOENT" class="variant small-section-header"><a href="#variant.ENOENT" class="anchor field"></a><code id='ENOENT.v'>ENOENT</code></div><div id="variant.ESRCH" class="variant small-section-header"><a href="#variant.ESRCH" class="anchor field"></a><code id='ESRCH.v'>ESRCH</code></div><div id="variant.EINTR" class="variant small-section-header"><a href="#variant.EINTR" class="anchor field"></a><code id='EINTR.v'>EINTR</code></div><div id="variant.EIO" class="variant small-section-header"><a href="#variant.EIO" class="anchor field"></a><code id='EIO.v'>EIO</code></div><div id="variant.ENXIO" class="variant small-section-header"><a href="#variant.ENXIO" class="anchor field"></a><code id='ENXIO.v'>ENXIO</code></div><div id="variant.E2BIG" class="variant small-section-header"><a href="#variant.E2BIG" class="anchor field"></a><code id='E2BIG.v'>E2BIG</code></div><div id="variant.ENOEXEC" class="variant small-section-header"><a href="#variant.ENOEXEC" class="anchor field"></a><code id='ENOEXEC.v'>ENOEXEC</code></div><div id="variant.EBADF" class="variant small-section-header"><a href="#variant.EBADF" class="anchor field"></a><code id='EBADF.v'>EBADF</code></div><div id="variant.ECHILD" class="variant small-section-header"><a href="#variant.ECHILD" class="anchor field"></a><code id='ECHILD.v'>ECHILD</code></div><div id="variant.EAGAIN" class="variant small-section-header"><a href="#variant.EAGAIN" class="anchor field"></a><code id='EAGAIN.v'>EAGAIN</code></div><div id="variant.ENOMEM" class="variant small-section-header"><a href="#variant.ENOMEM" class="anchor field"></a><code id='ENOMEM.v'>ENOMEM</code></div><div id="variant.EACCES" class="variant small-section-header"><a href="#variant.EACCES" class="anchor field"></a><code id='EACCES.v'>EACCES</code></div><div id="variant.EFAULT" class="variant small-section-header"><a href="#variant.EFAULT" class="anchor field"></a><code id='EFAULT.v'>EFAULT</code></div><div id="variant.ENOTBLK" class="variant small-section-header"><a href="#variant.ENOTBLK" class="anchor field"></a><code id='ENOTBLK.v'>ENOTBLK</code></div><div id="variant.EBUSY" class="variant small-section-header"><a href="#variant.EBUSY" class="anchor field"></a><code id='EBUSY.v'>EBUSY</code></div><div id="variant.EEXIST" class="variant small-section-header"><a href="#variant.EEXIST" class="anchor field"></a><code id='EEXIST.v'>EEXIST</code></div><div id="variant.EXDEV" class="variant small-section-header"><a href="#variant.EXDEV" class="anchor field"></a><code id='EXDEV.v'>EXDEV</code></div><div id="variant.ENODEV" class="variant small-section-header"><a href="#variant.ENODEV" class="anchor field"></a><code id='ENODEV.v'>ENODEV</code></div><div id="variant.ENOTDIR" class="variant small-section-header"><a href="#variant.ENOTDIR" class="anchor field"></a><code id='ENOTDIR.v'>ENOTDIR</code></div><div id="variant.EISDIR" class="variant small-section-header"><a href="#variant.EISDIR" class="anchor field"></a><code id='EISDIR.v'>EISDIR</code></div><div id="variant.EINVAL" class="variant small-section-header"><a href="#variant.EINVAL" class="anchor field"></a><code id='EINVAL.v'>EINVAL</code></div><div id="variant.ENFILE" class="variant small-section-header"><a href="#variant.ENFILE" class="anchor field"></a><code id='ENFILE.v'>ENFILE</code></div><div id="variant.EMFILE" class="variant small-section-header"><a href="#variant.EMFILE" class="anchor field"></a><code id='EMFILE.v'>EMFILE</code></div><div id="variant.ENOTTY" class="variant small-section-header"><a href="#variant.ENOTTY" class="anchor field"></a><code id='ENOTTY.v'>ENOTTY</code></div><div id="variant.ETXTBSY" class="variant small-section-header"><a href="#variant.ETXTBSY" class="anchor field"></a><code id='ETXTBSY.v'>ETXTBSY</code></div><div id="variant.EFBIG" class="variant small-section-header"><a href="#variant.EFBIG" class="anchor field"></a><code id='EFBIG.v'>EFBIG</code></div><div id="variant.ENOSPC" class="variant small-section-header"><a href="#variant.ENOSPC" class="anchor field"></a><code id='ENOSPC.v'>ENOSPC</code></div><div id="variant.ESPIPE" class="variant small-section-header"><a href="#variant.ESPIPE" class="anchor field"></a><code id='ESPIPE.v'>ESPIPE</code></div><div id="variant.EROFS" class="variant small-section-header"><a href="#variant.EROFS" class="anchor field"></a><code id='EROFS.v'>EROFS</code></div><div id="variant.EMLINK" class="variant small-section-header"><a href="#variant.EMLINK" class="anchor field"></a><code id='EMLINK.v'>EMLINK</code></div><div id="variant.EPIPE" class="variant small-section-header"><a href="#variant.EPIPE" class="anchor field"></a><code id='EPIPE.v'>EPIPE</code></div><div id="variant.EDOM" class="variant small-section-header"><a href="#variant.EDOM" class="anchor field"></a><code id='EDOM.v'>EDOM</code></div><div id="variant.ERANGE" class="variant small-section-header"><a href="#variant.ERANGE" class="anchor field"></a><code id='ERANGE.v'>ERANGE</code></div><div id="variant.EDEADLK" class="variant small-section-header"><a href="#variant.EDEADLK" class="anchor field"></a><code id='EDEADLK.v'>EDEADLK</code></div><div id="variant.ENAMETOOLONG" class="variant small-section-header"><a href="#variant.ENAMETOOLONG" class="anchor field"></a><code id='ENAMETOOLONG.v'>ENAMETOOLONG</code></div><div id="variant.ENOLCK" class="variant small-section-header"><a href="#variant.ENOLCK" class="anchor field"></a><code id='ENOLCK.v'>ENOLCK</code></div><div id="variant.ENOSYS" class="variant small-section-header"><a href="#variant.ENOSYS" class="anchor field"></a><code id='ENOSYS.v'>ENOSYS</code></div><div id="variant.ENOTEMPTY" class="variant small-section-header"><a href="#variant.ENOTEMPTY" class="anchor field"></a><code id='ENOTEMPTY.v'>ENOTEMPTY</code></div><div id="variant.ELOOP" class="variant small-section-header"><a href="#variant.ELOOP" class="anchor field"></a><code id='ELOOP.v'>ELOOP</code></div><div id="variant.ENOMSG" class="variant small-section-header"><a href="#variant.ENOMSG" class="anchor field"></a><code id='ENOMSG.v'>ENOMSG</code></div><div id="variant.EIDRM" class="variant small-section-header"><a href="#variant.EIDRM" class="anchor field"></a><code id='EIDRM.v'>EIDRM</code></div><div id="variant.ECHRNG" class="variant small-section-header"><a href="#variant.ECHRNG" class="anchor field"></a><code id='ECHRNG.v'>ECHRNG</code></div><div id="variant.EL2NSYNC" class="variant small-section-header"><a href="#variant.EL2NSYNC" class="anchor field"></a><code id='EL2NSYNC.v'>EL2NSYNC</code></div><div id="variant.EL3HLT" class="variant small-section-header"><a href="#variant.EL3HLT" class="anchor field"></a><code id='EL3HLT.v'>EL3HLT</code></div><div id="variant.EL3RST" class="variant small-section-header"><a href="#variant.EL3RST" class="anchor field"></a><code id='EL3RST.v'>EL3RST</code></div><div id="variant.ELNRNG" class="variant small-section-header"><a href="#variant.ELNRNG" class="anchor field"></a><code id='ELNRNG.v'>ELNRNG</code></div><div id="variant.EUNATCH" class="variant small-section-header"><a href="#variant.EUNATCH" class="anchor field"></a><code id='EUNATCH.v'>EUNATCH</code></div><div id="variant.ENOCSI" class="variant small-section-header"><a href="#variant.ENOCSI" class="anchor field"></a><code id='ENOCSI.v'>ENOCSI</code></div><div id="variant.EL2HLT" class="variant small-section-header"><a href="#variant.EL2HLT" class="anchor field"></a><code id='EL2HLT.v'>EL2HLT</code></div><div id="variant.EBADE" class="variant small-section-header"><a href="#variant.EBADE" class="anchor field"></a><code id='EBADE.v'>EBADE</code></div><div id="variant.EBADR" class="variant small-section-header"><a href="#variant.EBADR" class="anchor field"></a><code id='EBADR.v'>EBADR</code></div><div id="variant.EXFULL" class="variant small-section-header"><a href="#variant.EXFULL" class="anchor field"></a><code id='EXFULL.v'>EXFULL</code></div><div id="variant.ENOANO" class="variant small-section-header"><a href="#variant.ENOANO" class="anchor field"></a><code id='ENOANO.v'>ENOANO</code></div><div id="variant.EBADRQC" class="variant small-section-header"><a href="#variant.EBADRQC" class="anchor field"></a><code id='EBADRQC.v'>EBADRQC</code></div><div id="variant.EBADSLT" class="variant small-section-header"><a href="#variant.EBADSLT" class="anchor field"></a><code id='EBADSLT.v'>EBADSLT</code></div><div id="variant.EBFONT" class="variant small-section-header"><a href="#variant.EBFONT" class="anchor field"></a><code id='EBFONT.v'>EBFONT</code></div><div id="variant.ENOSTR" class="variant small-section-header"><a href="#variant.ENOSTR" class="anchor field"></a><code id='ENOSTR.v'>ENOSTR</code></div><div id="variant.ENODATA" class="variant small-section-header"><a href="#variant.ENODATA" class="anchor field"></a><code id='ENODATA.v'>ENODATA</code></div><div id="variant.ETIME" class="variant small-section-header"><a href="#variant.ETIME" class="anchor field"></a><code id='ETIME.v'>ETIME</code></div><div id="variant.ENOSR" class="variant small-section-header"><a href="#variant.ENOSR" class="anchor field"></a><code id='ENOSR.v'>ENOSR</code></div><div id="variant.ENONET" class="variant small-section-header"><a href="#variant.ENONET" class="anchor field"></a><code id='ENONET.v'>ENONET</code></div><div id="variant.ENOPKG" class="variant small-section-header"><a href="#variant.ENOPKG" class="anchor field"></a><code id='ENOPKG.v'>ENOPKG</code></div><div id="variant.EREMOTE" class="variant small-section-header"><a href="#variant.EREMOTE" class="anchor field"></a><code id='EREMOTE.v'>EREMOTE</code></div><div id="variant.ENOLINK" class="variant small-section-header"><a href="#variant.ENOLINK" class="anchor field"></a><code id='ENOLINK.v'>ENOLINK</code></div><div id="variant.EADV" class="variant small-section-header"><a href="#variant.EADV" class="anchor field"></a><code id='EADV.v'>EADV</code></div><div id="variant.ESRMNT" class="variant small-section-header"><a href="#variant.ESRMNT" class="anchor field"></a><code id='ESRMNT.v'>ESRMNT</code></div><div id="variant.ECOMM" class="variant small-section-header"><a href="#variant.ECOMM" class="anchor field"></a><code id='ECOMM.v'>ECOMM</code></div><div id="variant.EPROTO" class="variant small-section-header"><a href="#variant.EPROTO" class="anchor field"></a><code id='EPROTO.v'>EPROTO</code></div><div id="variant.EMULTIHOP" class="variant small-section-header"><a href="#variant.EMULTIHOP" class="anchor field"></a><code id='EMULTIHOP.v'>EMULTIHOP</code></div><div id="variant.EDOTDOT" class="variant small-section-header"><a href="#variant.EDOTDOT" class="anchor field"></a><code id='EDOTDOT.v'>EDOTDOT</code></div><div id="variant.EBADMSG" class="variant small-section-header"><a href="#variant.EBADMSG" class="anchor field"></a><code id='EBADMSG.v'>EBADMSG</code></div><div id="variant.EOVERFLOW" class="variant small-section-header"><a href="#variant.EOVERFLOW" class="anchor field"></a><code id='EOVERFLOW.v'>EOVERFLOW</code></div><div id="variant.ENOTUNIQ" class="variant small-section-header"><a href="#variant.ENOTUNIQ" class="anchor field"></a><code id='ENOTUNIQ.v'>ENOTUNIQ</code></div><div id="variant.EBADFD" class="variant small-section-header"><a href="#variant.EBADFD" class="anchor field"></a><code id='EBADFD.v'>EBADFD</code></div><div id="variant.EREMCHG" class="variant small-section-header"><a href="#variant.EREMCHG" class="anchor field"></a><code id='EREMCHG.v'>EREMCHG</code></div><div id="variant.ELIBACC" class="variant small-section-header"><a href="#variant.ELIBACC" class="anchor field"></a><code id='ELIBACC.v'>ELIBACC</code></div><div id="variant.ELIBBAD" class="variant small-section-header"><a href="#variant.ELIBBAD" class="anchor field"></a><code id='ELIBBAD.v'>ELIBBAD</code></div><div id="variant.ELIBSCN" class="variant small-section-header"><a href="#variant.ELIBSCN" class="anchor field"></a><code id='ELIBSCN.v'>ELIBSCN</code></div><div id="variant.ELIBMAX" class="variant small-section-header"><a href="#variant.ELIBMAX" class="anchor field"></a><code id='ELIBMAX.v'>ELIBMAX</code></div><div id="variant.ELIBEXEC" class="variant small-section-header"><a href="#variant.ELIBEXEC" class="anchor field"></a><code id='ELIBEXEC.v'>ELIBEXEC</code></div><div id="variant.EILSEQ" class="variant small-section-header"><a href="#variant.EILSEQ" class="anchor field"></a><code id='EILSEQ.v'>EILSEQ</code></div><div id="variant.ERESTART" class="variant small-section-header"><a href="#variant.ERESTART" class="anchor field"></a><code id='ERESTART.v'>ERESTART</code></div><div id="variant.ESTRPIPE" class="variant small-section-header"><a href="#variant.ESTRPIPE" class="anchor field"></a><code id='ESTRPIPE.v'>ESTRPIPE</code></div><div id="variant.EUSERS" class="variant small-section-header"><a href="#variant.EUSERS" class="anchor field"></a><code id='EUSERS.v'>EUSERS</code></div><div id="variant.ENOTSOCK" class="variant small-section-header"><a href="#variant.ENOTSOCK" class="anchor field"></a><code id='ENOTSOCK.v'>ENOTSOCK</code></div><div id="variant.EDESTADDRREQ" class="variant small-section-header"><a href="#variant.EDESTADDRREQ" class="anchor field"></a><code id='EDESTADDRREQ.v'>EDESTADDRREQ</code></div><div id="variant.EMSGSIZE" class="variant small-section-header"><a href="#variant.EMSGSIZE" class="anchor field"></a><code id='EMSGSIZE.v'>EMSGSIZE</code></div><div id="variant.EPROTOTYPE" class="variant small-section-header"><a href="#variant.EPROTOTYPE" class="anchor field"></a><code id='EPROTOTYPE.v'>EPROTOTYPE</code></div><div id="variant.ENOPROTOOPT" class="variant small-section-header"><a href="#variant.ENOPROTOOPT" class="anchor field"></a><code id='ENOPROTOOPT.v'>ENOPROTOOPT</code></div><div id="variant.EPROTONOSUPPORT" class="variant small-section-header"><a href="#variant.EPROTONOSUPPORT" class="anchor field"></a><code id='EPROTONOSUPPORT.v'>EPROTONOSUPPORT</code></div><div id="variant.ESOCKTNOSUPPORT" class="variant small-section-header"><a href="#variant.ESOCKTNOSUPPORT" class="anchor field"></a><code id='ESOCKTNOSUPPORT.v'>ESOCKTNOSUPPORT</code></div><div id="variant.EOPNOTSUPP" class="variant small-section-header"><a href="#variant.EOPNOTSUPP" class="anchor field"></a><code id='EOPNOTSUPP.v'>EOPNOTSUPP</code></div><div id="variant.EPFNOSUPPORT" class="variant small-section-header"><a href="#variant.EPFNOSUPPORT" class="anchor field"></a><code id='EPFNOSUPPORT.v'>EPFNOSUPPORT</code></div><div id="variant.EAFNOSUPPORT" class="variant small-section-header"><a href="#variant.EAFNOSUPPORT" class="anchor field"></a><code id='EAFNOSUPPORT.v'>EAFNOSUPPORT</code></div><div id="variant.EADDRINUSE" class="variant small-section-header"><a href="#variant.EADDRINUSE" class="anchor field"></a><code id='EADDRINUSE.v'>EADDRINUSE</code></div><div id="variant.EADDRNOTAVAIL" class="variant small-section-header"><a href="#variant.EADDRNOTAVAIL" class="anchor field"></a><code id='EADDRNOTAVAIL.v'>EADDRNOTAVAIL</code></div><div id="variant.ENETDOWN" class="variant small-section-header"><a href="#variant.ENETDOWN" class="anchor field"></a><code id='ENETDOWN.v'>ENETDOWN</code></div><div id="variant.ENETUNREACH" class="variant small-section-header"><a href="#variant.ENETUNREACH" class="anchor field"></a><code id='ENETUNREACH.v'>ENETUNREACH</code></div><div id="variant.ENETRESET" class="variant small-section-header"><a href="#variant.ENETRESET" class="anchor field"></a><code id='ENETRESET.v'>ENETRESET</code></div><div id="variant.ECONNABORTED" class="variant small-section-header"><a href="#variant.ECONNABORTED" class="anchor field"></a><code id='ECONNABORTED.v'>ECONNABORTED</code></div><div id="variant.ECONNRESET" class="variant small-section-header"><a href="#variant.ECONNRESET" class="anchor field"></a><code id='ECONNRESET.v'>ECONNRESET</code></div><div id="variant.ENOBUFS" class="variant small-section-header"><a href="#variant.ENOBUFS" class="anchor field"></a><code id='ENOBUFS.v'>ENOBUFS</code></div><div id="variant.EISCONN" class="variant small-section-header"><a href="#variant.EISCONN" class="anchor field"></a><code id='EISCONN.v'>EISCONN</code></div><div id="variant.ENOTCONN" class="variant small-section-header"><a href="#variant.ENOTCONN" class="anchor field"></a><code id='ENOTCONN.v'>ENOTCONN</code></div><div id="variant.ESHUTDOWN" class="variant small-section-header"><a href="#variant.ESHUTDOWN" class="anchor field"></a><code id='ESHUTDOWN.v'>ESHUTDOWN</code></div><div id="variant.ETOOMANYREFS" class="variant small-section-header"><a href="#variant.ETOOMANYREFS" class="anchor field"></a><code id='ETOOMANYREFS.v'>ETOOMANYREFS</code></div><div id="variant.ETIMEDOUT" class="variant small-section-header"><a href="#variant.ETIMEDOUT" class="anchor field"></a><code id='ETIMEDOUT.v'>ETIMEDOUT</code></div><div id="variant.ECONNREFUSED" class="variant small-section-header"><a href="#variant.ECONNREFUSED" class="anchor field"></a><code id='ECONNREFUSED.v'>ECONNREFUSED</code></div><div id="variant.EHOSTDOWN" class="variant small-section-header"><a href="#variant.EHOSTDOWN" class="anchor field"></a><code id='EHOSTDOWN.v'>EHOSTDOWN</code></div><div id="variant.EHOSTUNREACH" class="variant small-section-header"><a href="#variant.EHOSTUNREACH" class="anchor field"></a><code id='EHOSTUNREACH.v'>EHOSTUNREACH</code></div><div id="variant.EALREADY" class="variant small-section-header"><a href="#variant.EALREADY" class="anchor field"></a><code id='EALREADY.v'>EALREADY</code></div><div id="variant.EINPROGRESS" class="variant small-section-header"><a href="#variant.EINPROGRESS" class="anchor field"></a><code id='EINPROGRESS.v'>EINPROGRESS</code></div><div id="variant.ESTALE" class="variant small-section-header"><a href="#variant.ESTALE" class="anchor field"></a><code id='ESTALE.v'>ESTALE</code></div><div id="variant.EUCLEAN" class="variant small-section-header"><a href="#variant.EUCLEAN" class="anchor field"></a><code id='EUCLEAN.v'>EUCLEAN</code></div><div id="variant.ENOTNAM" class="variant small-section-header"><a href="#variant.ENOTNAM" class="anchor field"></a><code id='ENOTNAM.v'>ENOTNAM</code></div><div id="variant.ENAVAIL" class="variant small-section-header"><a href="#variant.ENAVAIL" class="anchor field"></a><code id='ENAVAIL.v'>ENAVAIL</code></div><div id="variant.EISNAM" class="variant small-section-header"><a href="#variant.EISNAM" class="anchor field"></a><code id='EISNAM.v'>EISNAM</code></div><div id="variant.EREMOTEIO" class="variant small-section-header"><a href="#variant.EREMOTEIO" class="anchor field"></a><code id='EREMOTEIO.v'>EREMOTEIO</code></div><div id="variant.EDQUOT" class="variant small-section-header"><a href="#variant.EDQUOT" class="anchor field"></a><code id='EDQUOT.v'>EDQUOT</code></div><div id="variant.ENOMEDIUM" class="variant small-section-header"><a href="#variant.ENOMEDIUM" class="anchor field"></a><code id='ENOMEDIUM.v'>ENOMEDIUM</code></div><div id="variant.EMEDIUMTYPE" class="variant small-section-header"><a href="#variant.EMEDIUMTYPE" class="anchor field"></a><code id='EMEDIUMTYPE.v'>EMEDIUMTYPE</code></div><div id="variant.ECANCELED" class="variant small-section-header"><a href="#variant.ECANCELED" class="anchor field"></a><code id='ECANCELED.v'>ECANCELED</code></div><div id="variant.ENOKEY" class="variant small-section-header"><a href="#variant.ENOKEY" class="anchor field"></a><code id='ENOKEY.v'>ENOKEY</code></div><div id="variant.EKEYEXPIRED" class="variant small-section-header"><a href="#variant.EKEYEXPIRED" class="anchor field"></a><code id='EKEYEXPIRED.v'>EKEYEXPIRED</code></div><div id="variant.EKEYREVOKED" class="variant small-section-header"><a href="#variant.EKEYREVOKED" class="anchor field"></a><code id='EKEYREVOKED.v'>EKEYREVOKED</code></div><div id="variant.EKEYREJECTED" class="variant small-section-header"><a href="#variant.EKEYREJECTED" class="anchor field"></a><code id='EKEYREJECTED.v'>EKEYREJECTED</code></div><div id="variant.EOWNERDEAD" class="variant small-section-header"><a href="#variant.EOWNERDEAD" class="anchor field"></a><code id='EOWNERDEAD.v'>EOWNERDEAD</code></div><div id="variant.ENOTRECOVERABLE" class="variant small-section-header"><a href="#variant.ENOTRECOVERABLE" class="anchor field"></a><code id='ENOTRECOVERABLE.v'>ENOTRECOVERABLE</code></div><div id="variant.ERFKILL" class="variant small-section-header"><a href="#variant.ERFKILL" class="anchor field"></a><code id='ERFKILL.v'>ERFKILL</code></div><div id="variant.EHWPOISON" class="variant small-section-header"><a href="#variant.EHWPOISON" class="anchor field"></a><code id='EHWPOISON.v'>EHWPOISON</code></div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#60-86' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.last' class="method"><code id='last.v'>pub fn <a href='#method.last' class='fnname'>last</a>() -> Self</code><a class='srclink' href='../../src/nix/errno.rs.html#61-63' title='goto source code'>[src]</a></h4><h4 id='method.desc' class="method"><code id='desc.v'>pub fn <a href='#method.desc' class='fnname'>desc</a>(self) -> &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a class='srclink' href='../../src/nix/errno.rs.html#65-67' title='goto source code'>[src]</a></h4><h4 id='method.from_i32' class="method"><code id='from_i32.v'>pub fn <a href='#method.from_i32' class='fnname'>from_i32</a>(err: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>) -> <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a class='srclink' href='../../src/nix/errno.rs.html#69-71' title='goto source code'>[src]</a></h4><h4 id='method.clear' class="method"><code id='clear.v'>pub unsafe fn <a href='#method.clear' class='fnname'>clear</a>()</code><a class='srclink' href='../../src/nix/errno.rs.html#73-75' title='goto source code'>[src]</a></h4><h4 id='method.result' class="method"><code id='result.v'>pub fn <a href='#method.result' class='fnname'>result</a><S: <a class="trait" href="../../nix/errno/trait.ErrnoSentinel.html" title="trait nix::errno::ErrnoSentinel">ErrnoSentinel</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><S>>(value: S) -> <a class="type" href="../../nix/type.Result.html" title="type nix::Result">Result</a><S></code><a class='srclink' href='../../src/nix/errno.rs.html#79-85' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns <code>Ok(value)</code> if it does not contain the sentinel value. This
|
|
|
should not be used when <code>-1</code> is not the errno sentinel value.</p>
|
|
|
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&self) -> <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
|
|
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
|
|
</div></div><h3 id='impl-PartialEq%3CErrno%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a>> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-PartialEq%3CErrno%3E' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&self, other: &<a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
|
|
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
|
|
|
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Rhs) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
|
|
|
</div></div><h3 id='impl-From%3CErrno%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a>> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a></code><a href='#impl-From%3CErrno%3E' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#126-130' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(err: <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a>) -> Self</code><a class='srclink' href='../../src/nix/errno.rs.html#127-129' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-From%3CErrno%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a>> for <a class="enum" href="../../nix/enum.Error.html" title="enum nix::Error">Error</a></code><a href='#impl-From%3CErrno%3E-1' class='anchor'></a><a class='srclink' href='../../src/nix/lib.rs.html#148-150' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-1' class="method hidden"><code id='from.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(errno: <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a>) -> <a class="enum" href="../../nix/enum.Error.html" title="enum nix::Error">Error</a></code><a class='srclink' href='../../src/nix/lib.rs.html#149' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/nix/errno.rs.html#580' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Display' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Display' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#120-124' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt-1' class="method hidden"><code id='fmt.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/nix/errno.rs.html#121-123' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Error' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Error' class='anchor'></a><a class='srclink' href='../../src/nix/errno.rs.html#114-118' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.description' class="method hidden"><code id='description.v'>fn <a href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.description' class='fnname'>description</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><a class='srclink' href='../../src/nix/errno.rs.html#115-117' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method is soft-deprecated. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.description">Read more</a></p>
|
|
|
</div><h4 id='method.cause' class="method hidden"><code id='cause.v'>fn <a href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause' class='fnname'>cause</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a>></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/error.rs.html#135-137' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab deprecated'>Deprecated since 1.33.0: <p>replaced by Error::source, which can support downcasting</p>
|
|
|
</div></div><div class='docblock hidden'><p>The lower-level cause of this error, if any. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause">Read more</a></p>
|
|
|
</div><h4 id='method.source' class="method hidden"><code id='source.v'>fn <a href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.source' class='fnname'>source</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a> + 'static)></code><span class='since' title='Stable since Rust version 1.30.0'>1.30.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/error.rs.html#198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The lower-level source of this error, if any. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.source">Read more</a></p>
|
|
|
</div><h4 id='method.backtrace' class="method hidden"><code id='backtrace.v'>fn <a href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.backtrace' class='fnname'>backtrace</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="https://doc.rust-lang.org/nightly/std/backtrace/struct.Backtrace.html" title="struct std::backtrace::Backtrace">Backtrace</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/error.rs.html#219-221' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>backtrace</code>)</div></div><div class='docblock hidden'><p>Returns a stack backtrace, if available, of where this error ocurred. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.backtrace">Read more</a></p>
|
|
|
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../nix/errno/enum.Errno.html" title="enum nix::errno::Errno">Errno</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
|
|
|
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&self) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
|
|
|
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
|
|
|
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -> U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-2' class="method hidden"><code id='from.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -> T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-ToString' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-ToString' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2134-2144' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_string' class="method hidden"><code id='to_string.v'>default fn <a href='https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string' class='fnname'>to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/string.rs.html#2136-2143' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/nightly/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></p>
|
|
|
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
|
|
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
|
|
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
|
|
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
|
|
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
|
|
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd>↑</kbd></dt><dd>Move up in search results</dd><dt><kbd>↓</kbd></dt><dd>Move down in search results</dd><dt><kbd>↹</kbd></dt><dd>Switch tab</dd><dt><kbd>⏎</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nix";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html> |