From 922d7c38b68d65a15206fbf597a4cd21b392fe0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Fri, 4 Apr 2025 20:52:48 +0000 Subject: [PATCH] deploy: 739870593c6d42e4686bf406a0a44e42c640af79 --- cli/all.html | 2 +- cli/enum.CommandOptions.html | 64 +- cli/fn.main.html | 2 +- cli/index.html | 2 +- cli/struct.Cli.html | 50 +- help.html | 2 +- mrc/all.html | 2 +- mrc/constant.SOCKET_PATH.html | 2 +- mrc/enum.MpvCommand.html | 26 +- mrc/fn.get_property.html | 8 +- mrc/fn.loadfile.html | 10 +- mrc/fn.playlist_clear.html | 2 +- mrc/fn.playlist_move.html | 10 +- mrc/fn.playlist_next.html | 2 +- mrc/fn.playlist_prev.html | 2 +- mrc/fn.playlist_remove.html | 8 +- mrc/fn.quit.html | 2 +- mrc/fn.seek.html | 8 +- mrc/fn.send_ipc_command.html | 8 +- mrc/fn.set_property.html | 8 +- mrc/index.html | 4 +- search-index.js | 4 +- server/all.html | 2 +- server/fn.create_tls_acceptor.html | 2 +- server/fn.handle_connection.html | 6 +- server/fn.main.html | 2 +- server/fn.process_command.html | 2 +- server/index.html | 2 +- server/struct.Config.html | 56 +- settings.html | 2 +- src/cli/cli.rs.html | 1027 ++++++---------- src/mrc/lib.rs.html | 1072 ++++++----------- src/server/server.rs.html | 652 ++++------ ...HT-eb44e4cf.txt => COPYRIGHT-565f0803.txt} | 2 +- static.files/FiraMono-Medium-86f75c8c.woff2 | Bin 0 -> 64572 bytes static.files/FiraMono-Regular-87c26294.woff2 | Bin 0 -> 64868 bytes static.files/FiraSans-Italic-81dc35de.woff2 | Bin 0 -> 136300 bytes .../FiraSans-MediumItalic-ccf7e434.woff2 | Bin 0 -> 140588 bytes .../SourceSerif4-Semibold-457a13ac.ttf.woff2 | Bin 0 -> 80732 bytes static.files/main-4d63596a.js | 11 + static.files/main-5f194d8c.js | 11 - static.files/rustdoc-42caa33d.css | 53 - static.files/rustdoc-6c3ea77c.css | 63 + static.files/scrape-examples-5e967b76.js | 1 + static.files/scrape-examples-d508a8a9.js | 1 - static.files/search-581efc7a.js | 6 + static.files/search-92e6798f.js | 6 - static.files/settings-0f613d39.js | 17 - static.files/settings-6dad6058.js | 17 + ...ipt-56102188.js => src-script-b8d3f215.js} | 2 +- static.files/storage-3a5871a4.js | 23 + static.files/storage-59e33391.js | 23 - trait.impl/core/fmt/trait.Debug.js | 2 +- trait.impl/core/marker/trait.Freeze.js | 2 +- trait.impl/core/marker/trait.Send.js | 2 +- trait.impl/core/marker/trait.Sync.js | 2 +- trait.impl/core/marker/trait.Unpin.js | 2 +- .../panic/unwind_safe/trait.RefUnwindSafe.js | 2 +- .../panic/unwind_safe/trait.UnwindSafe.js | 2 +- 59 files changed, 1197 insertions(+), 2106 deletions(-) rename static.files/{COPYRIGHT-eb44e4cf.txt => COPYRIGHT-565f0803.txt} (96%) create mode 100644 static.files/FiraMono-Medium-86f75c8c.woff2 create mode 100644 static.files/FiraMono-Regular-87c26294.woff2 create mode 100644 static.files/FiraSans-Italic-81dc35de.woff2 create mode 100644 static.files/FiraSans-MediumItalic-ccf7e434.woff2 create mode 100644 static.files/SourceSerif4-Semibold-457a13ac.ttf.woff2 create mode 100644 static.files/main-4d63596a.js delete mode 100644 static.files/main-5f194d8c.js delete mode 100644 static.files/rustdoc-42caa33d.css create mode 100644 static.files/rustdoc-6c3ea77c.css create mode 100644 static.files/scrape-examples-5e967b76.js delete mode 100644 static.files/scrape-examples-d508a8a9.js create mode 100644 static.files/search-581efc7a.js delete mode 100644 static.files/search-92e6798f.js delete mode 100644 static.files/settings-0f613d39.js create mode 100644 static.files/settings-6dad6058.js rename static.files/{src-script-56102188.js => src-script-b8d3f215.js} (69%) create mode 100644 static.files/storage-3a5871a4.js delete mode 100644 static.files/storage-59e33391.js diff --git a/cli/all.html b/cli/all.html index c9ad48ad..72364d43 100644 --- a/cli/all.html +++ b/cli/all.html @@ -1 +1 @@ -List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file +List of all items in this crate

List of all items

Structs

Enums

Functions

\ No newline at end of file diff --git a/cli/enum.CommandOptions.html b/cli/enum.CommandOptions.html index 4a4309f5..a6b2696e 100644 --- a/cli/enum.CommandOptions.html +++ b/cli/enum.CommandOptions.html @@ -1,81 +1,81 @@ -CommandOptions in cli - Rust
cli

Enum CommandOptions

Source
pub(crate) enum CommandOptions {
+CommandOptions in cli - Rust

Enum CommandOptions

Source
pub(crate) enum CommandOptions {
 
Show 14 variants Play { - index: Option<usize>, + index: Option<usize>, }, Pause, Stop, Next, Prev, Seek { - seconds: i32, + seconds: i32, }, Move { - index1: usize, - index2: usize, + index1: usize, + index2: usize, }, Remove { - index: Option<usize>, + index: Option<usize>, }, Clear, List, Add { - filenames: Vec<String>, + filenames: Vec<String>, }, Replace { - filenames: Vec<String>, + filenames: Vec<String>, }, Prop { - properties: Vec<String>, + properties: Vec<String>, }, Interactive,
}

Variants§

§

Play

Play media at the specified index in the playlist

-

Fields

§index: Option<usize>

The index of the media to play

+

Fields

§index: Option<usize>

The index of the media to play

§

Pause

Pause the currently playing media

§

Stop

Stop the playback and quit MPV

§

Next

Skip to the next item in the playlist

§

Prev

Skip to the previous item in the playlist

§

Seek

Seek to a specific position in the currently playing media

-

Fields

§seconds: i32

The number of seconds to seek to

+

Fields

§seconds: i32

The number of seconds to seek to

§

Move

Move an item in the playlist from one index to another

-

Fields

§index1: usize

The index of the item to move

-
§index2: usize

The index to move the item to

+

Fields

§index1: usize

The index of the item to move

+
§index2: usize

The index to move the item to

§

Remove

Remove an item from the playlist

If invoked while playlist has no entries, or if the only entry is the active video, then this will exit MPV.

-

Fields

§index: Option<usize>

The index of the item to remove (optional)

+

Fields

§index: Option<usize>

The index of the item to remove (optional)

§

Clear

Clear the entire playlist

§

List

List all the items in the playlist

§

Add

Add files to the playlist

Needs at least one file to be passed.

-

Fields

§filenames: Vec<String>

The filenames of the files to add

+

Fields

§filenames: Vec<String>

The filenames of the files to add

§

Replace

Replace the current playlist with new files

-

Fields

§filenames: Vec<String>

The filenames of the files to replace the playlist with

+

Fields

§filenames: Vec<String>

The filenames of the files to replace the playlist with

§

Prop

Fetch properties of the current playback or playlist

-

Fields

§properties: Vec<String>

The properties to fetch

+

Fields

§properties: Vec<String>

The properties to fetch

§

Interactive

Enter interactive mode to send commands to MPV IPC

-

Trait Implementations§

Source§

impl FromArgMatches for CommandOptions

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( +

Trait Implementations§

Source§

impl FromArgMatches for CommandOptions

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, -) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( +) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, -) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for CommandOptions

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via +) -> Result<(), Error>
Assign values from ArgMatches to self.
Source§

impl Subcommand for CommandOptions

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via [FromArgMatches::from_arg_matches_mut] Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate self via -[FromArgMatches::update_from_arg_matches_mut] Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+[FromArgMatches::update_from_arg_matches_mut] Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/cli/fn.main.html b/cli/fn.main.html index 2f230530..56038db0 100644 --- a/cli/fn.main.html +++ b/cli/fn.main.html @@ -1 +1 @@ -main in cli - Rust
cli

Function main

Source
pub(crate) fn main() -> Result<()>
\ No newline at end of file +main in cli - Rust

Function main

Source
pub(crate) fn main() -> Result<()>
\ No newline at end of file diff --git a/cli/index.html b/cli/index.html index cab9a5ba..c73d3635 100644 --- a/cli/index.html +++ b/cli/index.html @@ -1 +1 @@ -cli - Rust

Crate cli

Source

Structs§

Enums§

Functions§

\ No newline at end of file +cli - Rust

Crate cli

Source

Structs§

Cli 🔒

Enums§

CommandOptions 🔒

Functions§

main 🔒
\ No newline at end of file diff --git a/cli/struct.Cli.html b/cli/struct.Cli.html index ba564614..60f4b55c 100644 --- a/cli/struct.Cli.html +++ b/cli/struct.Cli.html @@ -1,37 +1,37 @@ -Cli in cli - Rust
cli

Struct Cli

Source
pub(crate) struct Cli {
-    pub(crate) debug: bool,
+Cli in cli - Rust

Struct Cli

Source
pub(crate) struct Cli {
+    pub(crate) debug: bool,
     pub(crate) command: CommandOptions,
-}

Fields§

§debug: bool§command: CommandOptions

Trait Implementations§

Source§

impl Args for Cli

Source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via +}

Fields§

§debug: bool§command: CommandOptions

Trait Implementations§

Source§

impl Args for Cli

Source§

fn group_id() -> Option<Id>

Report the [ArgGroup::id][crate::ArgGroup::id] for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate Self via [FromArgMatches::from_arg_matches_mut] Read more
Source§

fn augment_args_for_update<'b>(__clap_app: Command) -> Command

Append to [Command] so it can instantiate self via -[FromArgMatches::update_from_arg_matches_mut] Read more
Source§

impl CommandFactory for Cli

Source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
Source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
Source§

impl FromArgMatches for Cli

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( +[FromArgMatches::update_from_arg_matches_mut] Read more

Source§

impl CommandFactory for Cli

Source§

fn command<'b>() -> Command

Build a [Command] that can instantiate Self. Read more
Source§

fn command_for_update<'b>() -> Command

Build a [Command] that can update self. Read more
Source§

impl FromArgMatches for Cli

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, -) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( +) -> Result<Self, Error>

Instantiate Self from [ArgMatches], parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, -) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut( +) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, -) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Parser for Cli

§

fn parse() -> Self

Parse from std::env::args_os(), [exit][Error::exit] on error.
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Self
where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, [exit][Error::exit] on error.
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)
where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, [exit][Error::exit] on error. Read more
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
where - I: IntoIterator<Item = T>, - T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl Freeze for Cli

§

impl RefUnwindSafe for Cli

§

impl Send for Cli

§

impl Sync for Cli

§

impl Unpin for Cli

§

impl UnwindSafe for Cli

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+) -> Result<(), Error>
Assign values from ArgMatches to self.
Source§

impl Parser for Cli

§

fn parse() -> Self

Parse from std::env::args_os(), [exit][Error::exit] on error.
§

fn try_parse() -> Result<Self, Error>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Self
where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, [exit][Error::exit] on error.
§

fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Parse from iterator, return Err on error.
§

fn update_from<I, T>(&mut self, itr: I)
where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, [exit][Error::exit] on error. Read more
§

fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
where + I: IntoIterator<Item = T>, + T: Into<OsString> + Clone,

Update from iterator, return Err on error.

Auto Trait Implementations§

§

impl Freeze for Cli

§

impl RefUnwindSafe for Cli

§

impl Send for Cli

§

impl Sync for Cli

§

impl Unpin for Cli

§

impl UnwindSafe for Cli

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/help.html b/help.html index 4b211c31..5977d0e2 100644 --- a/help.html +++ b/help.html @@ -1 +1 @@ -Help

Rustdoc help

Back
\ No newline at end of file +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/mrc/all.html b/mrc/all.html index 74a52287..3480b6cf 100644 --- a/mrc/all.html +++ b/mrc/all.html @@ -1 +1 @@ -List of all items in this crate
\ No newline at end of file +List of all items in this crate
\ No newline at end of file diff --git a/mrc/constant.SOCKET_PATH.html b/mrc/constant.SOCKET_PATH.html index 3d97202e..0c071efb 100644 --- a/mrc/constant.SOCKET_PATH.html +++ b/mrc/constant.SOCKET_PATH.html @@ -1 +1 @@ -SOCKET_PATH in mrc - Rust
mrc

Constant SOCKET_PATH

Source
pub const SOCKET_PATH: &str = "/tmp/mpvsocket";
\ No newline at end of file +SOCKET_PATH in mrc - Rust

Constant SOCKET_PATH

Source
pub const SOCKET_PATH: &str = "/tmp/mpvsocket";
\ No newline at end of file diff --git a/mrc/enum.MpvCommand.html b/mrc/enum.MpvCommand.html index 1b02fafa..f0d82098 100644 --- a/mrc/enum.MpvCommand.html +++ b/mrc/enum.MpvCommand.html @@ -1,4 +1,4 @@ -MpvCommand in mrc - Rust
mrc

Enum MpvCommand

Source
pub enum MpvCommand {
+MpvCommand in mrc - Rust

Enum MpvCommand

Source
pub enum MpvCommand {
     SetProperty,
     PlaylistNext,
     PlaylistPrev,
@@ -24,22 +24,22 @@ string equivalents using the as_str method.

§

PlaylistClear

Clears all items from the playlist.

§

GetProperty

Retrieves the value of a property in MPV.

§

LoadFile

Loads a file into MPV.

-

Implementations§

Source§

impl MpvCommand

Source

pub const fn as_str(&self) -> &str

Converts MPV commands to their string equivalents.

+

Implementations§

Source§

impl MpvCommand

Source

pub const fn as_str(&self) -> &str

Converts MPV commands to their string equivalents.

§Returns

A string slice representing the command.

-

Trait Implementations§

Source§

impl Debug for MpvCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where - T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where - T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where - T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

+

Trait Implementations§

Source§

impl Debug for MpvCommand

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where + T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where + T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where + T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an -Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where - U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

+Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where + U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of -From<T> for U chooses to do.

-
Source§

impl<T, U> TryFrom<U> for T
where - U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where - U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where - S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a +From<T> for U chooses to do.

+
Source§

impl<T, U> TryFrom<U> for T
where + U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where + U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where + S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
\ No newline at end of file diff --git a/mrc/fn.get_property.html b/mrc/fn.get_property.html index b1741358..243b58f8 100644 --- a/mrc/fn.get_property.html +++ b/mrc/fn.get_property.html @@ -1,7 +1,7 @@ -get_property in mrc - Rust
mrc

Function get_property

Source
pub async fn get_property(
-    property: &str,
-    socket_path: Option<&str>,
-) -> Result<Option<Value>>
Expand description

Sends the get_property command to retrieve a property value from MPV.

+get_property in mrc - Rust

Function get_property

Source
pub async fn get_property(
+    property: &str,
+    socket_path: Option<&str>,
+) -> Result<Option<Value>>
Expand description

Sends the get_property command to retrieve a property value from MPV.

§Arguments