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

pub struct NamedPipeBuilder { /* fields omitted */ }
Expand description

A builder structure for creating a new named pipe.

Implementations

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.

Using the options in the builder and the provided security attributes, attempt to create a new named pipe. This function has to be called with a valid pointer to a SECURITY_ATTRIBUTES struct that will stay valid for the lifetime of this function or a null pointer.

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

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.