Struct genfs::DirOptions [] [src]

pub struct DirOptions<Permissions> { /* fields omitted */ }

A builder used to create directories in various manners.

Methods

impl<Permissions: Default> DirOptions<Permissions>
[src]

[src]

Creates a new set of options with default mode/security settings for all platforms and also non-recursive.

[src]

Indicates that directories should be created recursively, creating all parent directories. Parents that do not exist are created with the same security and permissions settings.

This option defaults to false.

[src]

Sets the mode to create new directories with.

[src]

Pass custom flags to the flags argument of open.

Trait Implementations

impl<Permissions: Debug> Debug for DirOptions<Permissions>
[src]

[src]

Formats the value using the given formatter. Read more

impl<Permissions: Clone> Clone for DirOptions<Permissions>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Permissions: PartialEq> PartialEq for DirOptions<Permissions>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<Permissions: Eq> Eq for DirOptions<Permissions>
[src]

impl<Permissions: Default> Default for DirOptions<Permissions>
[src]

[src]

Returns the "default value" for a type. Read more

impl<Permissions: Hash> Hash for DirOptions<Permissions>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<Permissions> Send for DirOptions<Permissions> where
    Permissions: Send

impl<Permissions> Sync for DirOptions<Permissions> where
    Permissions: Sync