Lines Matching refs:Nmount
16 /// Used with [`Nmount::nmount`].
106 /// The Error type of [`Nmount::nmount`].
158 /// Result type of [`Nmount::nmount`].
166 /// strings, as are all of the names. The `Nmount` structure builds up an
179 /// use nix::mount::{MntFlags, Nmount, unmount};
188 /// Nmount::new()
203 pub struct Nmount<'a> {
214 impl<'a> Nmount<'a> {
256 /// Unsafe because it will cause `Nmount::nmount` to dereference a raw
264 /// use nix::mount::Nmount;
273 /// let mut nmount = Nmount::new();
291 /// use nix::mount::Nmount;
295 /// Nmount::new()
308 /// This has higher runtime cost than [`Nmount::null_opt`], but is useful
309 /// when the name's lifetime doesn't outlive the `Nmount`, or it's a
314 /// use nix::mount::Nmount;
317 /// let mut nmount: Nmount<'static> = Nmount::new();
333 /// use nix::mount::Nmount;
338 /// Nmount::new()
349 /// This has higher runtime cost than [`Nmount::str_opt`], but is useful
350 /// when the value's lifetime doesn't outlive the `Nmount`, or it's a
355 /// use nix::mount::Nmount;
359 /// Nmount::new()
372 /// Create a new `Nmount` struct with no options
414 impl<'a> Drop for Nmount<'a> {
419 // and Nmount does not implement Clone.