Struct zone::FsScope[][src]

pub struct FsScope<'a> { /* fields omitted */ }

Generated scope for the Fs resource.

This object represents the resource scope for a zone configuration, and automatically closes that scope when dropped.

To construct this object, refer to Config::add_fs.

Implementations

impl<'a> FsScope<'a>[src]

pub fn set_ty(&mut self, value: impl Into<String>) -> &mut Self[src]

impl<'a> FsScope<'a>[src]

pub fn set_dir(&mut self, value: impl Into<String>) -> &mut Self[src]

impl<'a> FsScope<'a>[src]

pub fn set_special(&mut self, value: impl Into<String>) -> &mut Self[src]

impl<'a> FsScope<'a>[src]

pub fn set_raw(&mut self, value: impl Into<Option<String>>) -> &mut Self[src]

impl<'a> FsScope<'a>[src]

pub fn set_options(&mut self, value: impl Into<Vec<String>>) -> &mut Self[src]

Trait Implementations

impl<'a> Drop for FsScope<'a>[src]

fn drop(&mut self)[src]

Emits an “end” token, signifing the end of a resource scope.

Auto Trait Implementations

impl<'a> RefUnwindSafe for FsScope<'a>

impl<'a> Send for FsScope<'a>

impl<'a> Sync for FsScope<'a>

impl<'a> Unpin for FsScope<'a>

impl<'a> !UnwindSafe for FsScope<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.