pub struct SecurityAttributes;
Expand description

A NOOP struct for bringing the API between Windows and Unix up to parity. To set permissions properly on Unix, you can just use std::os::unix::fs::PermissionsExt.

Implementations

New default security attributes.

New security attributes that allow everyone to connect.

New security attributes that allow everyone to create.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.