blob: 471e4ffd68e61745fdcee921d3950bc120f1ff6a [file] [log] [blame]
<!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 `mount` mod in crate `nix`.">
<meta name="keywords" content="rust, rustlang, rust-lang, mount">
<title>nix::mount - Rust</title>
<link rel="stylesheet" type="text/css" href="../../normalize.css">
<link rel="stylesheet" type="text/css" href="../../rustdoc.css">
<link rel="stylesheet" type="text/css" href="../../main.css">
</head>
<body class="rustdoc mod">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<p class='location'>Module mount</p><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../index.html'>nix</a></p><script>window.sidebarCurrent = {name: 'mount', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script>
</nav>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>nix</a>::<wbr><a class="mod" href=''>mount</a></span><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'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../../src/nix/mount.rs.html#1-91' title='goto source code'>[src]</a></span></h1>
<h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table>
<tr class=' module-item'>
<td><a class="struct" href="struct.MntFlags.html"
title='struct nix::mount::MntFlags'>MntFlags</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="struct" href="struct.MsFlags.html"
title='struct nix::mount::MsFlags'>MsFlags</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
<table>
<tr class=' module-item'>
<td><a class="constant" href="constant.MNT_DETACH.html"
title='constant nix::mount::MNT_DETACH'>MNT_DETACH</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MNT_EXPIRE.html"
title='constant nix::mount::MNT_EXPIRE'>MNT_EXPIRE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MNT_FORCE.html"
title='constant nix::mount::MNT_FORCE'>MNT_FORCE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_ACTIVE.html"
title='constant nix::mount::MS_ACTIVE'>MS_ACTIVE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_BIND.html"
title='constant nix::mount::MS_BIND'>MS_BIND</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_BORN.html"
title='constant nix::mount::MS_BORN'>MS_BORN</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_DIRSYNC.html"
title='constant nix::mount::MS_DIRSYNC'>MS_DIRSYNC</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_I_VERSION.html"
title='constant nix::mount::MS_I_VERSION'>MS_I_VERSION</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_KERNMOUNT.html"
title='constant nix::mount::MS_KERNMOUNT'>MS_KERNMOUNT</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_MANDLOCK.html"
title='constant nix::mount::MS_MANDLOCK'>MS_MANDLOCK</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_MGC_MSK.html"
title='constant nix::mount::MS_MGC_MSK'>MS_MGC_MSK</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_MGC_VAL.html"
title='constant nix::mount::MS_MGC_VAL'>MS_MGC_VAL</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_MOVE.html"
title='constant nix::mount::MS_MOVE'>MS_MOVE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NOATIME.html"
title='constant nix::mount::MS_NOATIME'>MS_NOATIME</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NODEV.html"
title='constant nix::mount::MS_NODEV'>MS_NODEV</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NODIRATIME.html"
title='constant nix::mount::MS_NODIRATIME'>MS_NODIRATIME</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NOEXEC.html"
title='constant nix::mount::MS_NOEXEC'>MS_NOEXEC</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NOSEC.html"
title='constant nix::mount::MS_NOSEC'>MS_NOSEC</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NOSUID.html"
title='constant nix::mount::MS_NOSUID'>MS_NOSUID</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_NOUSER.html"
title='constant nix::mount::MS_NOUSER'>MS_NOUSER</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_POSIXACL.html"
title='constant nix::mount::MS_POSIXACL'>MS_POSIXACL</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_PRIVATE.html"
title='constant nix::mount::MS_PRIVATE'>MS_PRIVATE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_RDONLY.html"
title='constant nix::mount::MS_RDONLY'>MS_RDONLY</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_REC.html"
title='constant nix::mount::MS_REC'>MS_REC</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_RELATIME.html"
title='constant nix::mount::MS_RELATIME'>MS_RELATIME</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_REMOUNT.html"
title='constant nix::mount::MS_REMOUNT'>MS_REMOUNT</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_RMT_MASK.html"
title='constant nix::mount::MS_RMT_MASK'>MS_RMT_MASK</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_SHARED.html"
title='constant nix::mount::MS_SHARED'>MS_SHARED</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_SILENT.html"
title='constant nix::mount::MS_SILENT'>MS_SILENT</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_SLAVE.html"
title='constant nix::mount::MS_SLAVE'>MS_SLAVE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_STRICTATIME.html"
title='constant nix::mount::MS_STRICTATIME'>MS_STRICTATIME</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_SYNCHRONOUS.html"
title='constant nix::mount::MS_SYNCHRONOUS'>MS_SYNCHRONOUS</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_UNBINDABLE.html"
title='constant nix::mount::MS_UNBINDABLE'>MS_UNBINDABLE</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="constant" href="constant.MS_VERBOSE.html"
title='constant nix::mount::MS_VERBOSE'>MS_VERBOSE</a></td>
<td class='docblock-short'>
</td>
</tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table>
<tr class=' module-item'>
<td><a class="fn" href="fn.mount.html"
title='fn nix::mount::mount'>mount</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.umount.html"
title='fn nix::mount::umount'>umount</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.umount2.html"
title='fn nix::mount::umount2'>umount2</a></td>
<td class='docblock-short'>
</td>
</tr></table></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>?</dt>
<dd>Show this help dialog</dd>
<dt>S</dt>
<dd>Focus the search field</dd>
<dt>&larrb;</dt>
<dd>Move up in search results</dd>
<dt>&rarrb;</dt>
<dd>Move down in search results</dd>
<dt>&#9166;</dt>
<dd>Go to active search result</dd>
<dt>+</dt>
<dd>Collapse/expand 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>
</div>
</div>
</aside>
<script>
window.rootPath = "../../";
window.currentCrate = "nix";
</script>
<script src="../../main.js"></script>
<script defer src="../../search-index.js"></script>
</body>
</html>