pub struct Introspector { /* private fields */ }
Expand description

A wrapper object providing introspection routines to a context.

Implementations

Get information about a sink by its name.

Panics on error, i.e. invalid arguments or state.

Get information about a sink by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete sink list.

Panics on error, i.e. invalid arguments or state.

Set the volume of a sink device specified by its index.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a sink device specified by its name.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a sink device specified by its index.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a sink device specified by its name.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a sink.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a sink.

If index is ::def::INVALID_INDEX all sinks will be suspended. Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a sink.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a sink.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Get information about a source by its name.

Panics on error, i.e. invalid arguments or state.

Get information about a source by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete source list.

Panics on error, i.e. invalid arguments or state.

Set the volume of a source device specified by its index.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a source device specified by its name.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a source device specified by its index.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a source device specified by its name.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a source.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Suspend/Resume a source.

If index is ::def::INVALID_INDEX, all sources will be suspended. Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a source.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a source.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Get some information about the server.

Panics on error, i.e. invalid arguments or state.

Get some information about a module by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete list of currently loaded modules.

Panics on error, i.e. invalid arguments or state.

Load a module.

Panics on error, i.e. invalid arguments or state. The callback is provided with the index.

Unload a module.

Panics on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

Get information about a client by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete client list.

Panics on error, i.e. invalid arguments or state.

Kill a client.

Panics on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

Get information about a card by its index.

Panics on error, i.e. invalid arguments or state.

Get information about a card by its name.

Panics on error, i.e. invalid arguments or state.

Get the complete card list.

Panics on error, i.e. invalid arguments or state.

Change the profile of a card.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Change the profile of a card.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the latency offset of a port.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Get some information about a sink input by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete sink input list.

Panics on error, i.e. invalid arguments or state.

Move the specified sink input to a different sink.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Move the specified sink input to a different sink.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a sink input stream.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a sink input stream.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Kill a sink input.

Panics on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

Get information about a source output by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete list of source outputs.

Panics on error, i.e. invalid arguments or state.

Move the specified source output to a different source.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Move the specified source output to a different source.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the volume of a source output stream.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Set the mute switch of a source output stream.

Panics on error, i.e. invalid arguments or state.

The optional callback must accept a bool, which indicates success.

Kill a source output.

Panics on error, i.e. invalid arguments or state.

The callback must accept a bool, which indicates success.

Get daemon memory block statistics.

Panics on error, i.e. invalid arguments or state.

Get information about a sample by its name.

Panics on error, i.e. invalid arguments or state.

Get information about a sample by its index.

Panics on error, i.e. invalid arguments or state.

Get the complete list of samples stored in the daemon.

Panics on error, i.e. invalid arguments or state.

Trait Implementations

Executes the destructor for this type. 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

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.