Struct miow::pipe::NamedPipeBuilder [] [src]

pub struct NamedPipeBuilder { /* fields omitted */ }

A builder structure for creating a new named pipe.

Methods

impl NamedPipeBuilder
[src]

Creates a new named pipe builder with the default settings.

Indicates whether data is allowed to flow from the client to the server.

Indicates whether data is allowed to flow from the server to the client.

Indicates that this pipe must be the first instance.

If set to true, then creation will fail if there's already an instance elsewhere.

Indicates whether this server can accept remote clients or not.

Specifies the maximum number of instances of the server pipe that are allowed.

The first instance of a pipe can specify this value. A value of 255 indicates that there is no limit to the number of instances.

Specifies the number of bytes to reserver for the output buffer

Specifies the number of bytes to reserver for the input buffer

Using the options in this builder, attempt to create a new named pipe.

This function will call the CreateNamedPipe function and return the result.

Trait Implementations

impl Debug for NamedPipeBuilder
[src]

Formats the value using the given formatter.