Struct librespot_discovery::Builder [−][src]
pub struct Builder { /* fields omitted */ }
Expand description
A builder for Discovery
.
Implementations
Starts a new builder using the provided device id.
Sets the name to be displayed. Default is "Librespot"
.
Sets the device type which is visible as icon in other Spotify clients. Default is Speaker
.
Sets the port on which it should listen to incoming connections.
The default value 0
means any port.
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more