Struct winapi_util::file::Type[][src]

pub struct Type(_);

Represents a Windows file type.

This wraps the result of GetFileType.

Methods

impl Type
[src]

Returns true if this type represents a character file, which is typically an LPT device or a console.

Returns true if this type represents a disk file.

Returns true if this type represents a sock, named pipe or an anonymous pipe.

Returns true if this type is not known.

Note that this never corresponds to a failure.

Trait Implementations

impl Clone for Type
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Type

impl Sync for Type