pub struct NumberGenSender<T: Transport> { /* private fields */ }
Expand description

NumberGenSender sends messages to a NumberGen service client for sending NumberGen messages

Implementations

Constructs a NumberGenSender with the specified transport

Trait Implementations

Formats the value using the given formatter. Read more

GenerateGuid - return a 128-bit guid in the form 123e4567-e89b-12d3-a456-426655440000 These guids are known as “version 4”, meaning all bits are random or pseudo-random.

Request a random integer within a range The result will will be in the range [min,max), i.e., >= min and < max.

Request a 32-bit random number

returns the capability contract id for this interface

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 alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

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.