From 83f32f113b85b9da450d5443ef72b90641a38fab Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Wed, 5 Feb 2025 00:36:25 +0000 Subject: [PATCH] deploy: be3f00b51e7928f144b822d3278626db0fbaebaa --- .lock | 0 cli/all.html | 1 + cli/enum.CommandOptions.html | 81 ++ cli/fn.main.html | 1 + cli/index.html | 1 + cli/sidebar-items.js | 1 + cli/struct.Cli.html | 37 + crates.js | 2 + help.html | 1 + index.html | 34 +- all.html => mrc/all.html | 0 .../constant.SOCKET_PATH.html | 0 .../enum.MpvCommand.html | 14 +- .../fn.get_property.html | 2 +- fn.loadfile.html => mrc/fn.loadfile.html | 2 +- .../fn.playlist_clear.html | 2 +- .../fn.playlist_move.html | 2 +- .../fn.playlist_next.html | 2 +- .../fn.playlist_prev.html | 2 +- .../fn.playlist_remove.html | 2 +- fn.quit.html => mrc/fn.quit.html | 2 +- fn.seek.html => mrc/fn.seek.html | 2 +- .../fn.send_ipc_command.html | 4 +- .../fn.set_property.html | 4 +- mrc/index.html | 33 + sidebar-items.js => mrc/sidebar-items.js | 0 search-index.js | 4 + search.desc/cli/cli-desc-0-.js | 1 + search.desc/mrc/mrc-desc-0-.js | 1 + search.desc/server/server-desc-0-.js | 1 + server/all.html | 1 + server/fn.create_tls_acceptor.html | 1 + server/fn.handle_connection.html | 4 + server/fn.main.html | 1 + server/fn.process_command.html | 1 + server/index.html | 1 + server/sidebar-items.js | 1 + server/struct.Config.html | 39 + settings.html | 1 + src-files.js | 3 + src/cli/cli.rs.html | 685 +++++++++++++++++ src/mrc/lib.rs.html | 715 ++++++++++++++++++ src/server/server.rs.html | 423 +++++++++++ static.files/COPYRIGHT-eb44e4cf.txt | 50 ++ static.files/FiraSans-LICENSE-05ab6dbd.txt | 98 +++ static.files/FiraSans-Medium-e1aa3f0a.woff2 | Bin 0 -> 132780 bytes static.files/FiraSans-Regular-0fe48ade.woff2 | Bin 0 -> 129188 bytes static.files/LICENSE-APACHE-a60eea81.txt | 201 +++++ static.files/LICENSE-MIT-23f18e03.txt | 23 + .../NanumBarunGothic-13b3dcba.ttf.woff2 | Bin 0 -> 399468 bytes .../NanumBarunGothic-LICENSE-a37d393b.txt | 103 +++ .../SourceCodePro-It-fc8b9304.ttf.woff2 | Bin 0 -> 44896 bytes .../SourceCodePro-LICENSE-67f54ca7.txt | 97 +++ .../SourceCodePro-Regular-8badfe75.ttf.woff2 | Bin 0 -> 52228 bytes .../SourceCodePro-Semibold-aa29a496.ttf.woff2 | Bin 0 -> 52348 bytes .../SourceSerif4-Bold-6d4fd4c0.ttf.woff2 | Bin 0 -> 81540 bytes .../SourceSerif4-It-ca3b17ed.ttf.woff2 | Bin 0 -> 59716 bytes static.files/SourceSerif4-LICENSE-a2cfd9d5.md | 98 +++ .../SourceSerif4-Regular-6b053e98.ttf.woff2 | Bin 0 -> 76260 bytes static.files/favicon-044be391.svg | 24 + static.files/favicon-32x32-6580c154.png | Bin 0 -> 1125 bytes static.files/main-5f194d8c.js | 11 + static.files/normalize-9960930a.css | 2 + static.files/noscript-893ab5e7.css | 1 + static.files/rust-logo-9a9549ea.svg | 61 ++ static.files/rustdoc-42caa33d.css | 53 ++ static.files/scrape-examples-d508a8a9.js | 1 + static.files/search-92e6798f.js | 6 + static.files/settings-0f613d39.js | 17 + static.files/src-script-56102188.js | 1 + static.files/storage-59e33391.js | 23 + trait.impl/clap_builder/derive/trait.Args.js | 9 + .../derive/trait.CommandFactory.js | 9 + .../derive/trait.FromArgMatches.js | 9 + .../clap_builder/derive/trait.Parser.js | 9 + .../clap_builder/derive/trait.Subcommand.js | 9 + trait.impl/core/fmt/trait.Debug.js | 9 + trait.impl/core/marker/trait.Freeze.js | 9 + trait.impl/core/marker/trait.Send.js | 9 + trait.impl/core/marker/trait.Sync.js | 9 + trait.impl/core/marker/trait.Unpin.js | 9 + .../panic/unwind_safe/trait.RefUnwindSafe.js | 9 + .../panic/unwind_safe/trait.UnwindSafe.js | 9 + 83 files changed, 3040 insertions(+), 53 deletions(-) create mode 100644 .lock create mode 100644 cli/all.html create mode 100644 cli/enum.CommandOptions.html create mode 100644 cli/fn.main.html create mode 100644 cli/index.html create mode 100644 cli/sidebar-items.js create mode 100644 cli/struct.Cli.html create mode 100644 crates.js create mode 100644 help.html rename all.html => mrc/all.html (100%) rename constant.SOCKET_PATH.html => mrc/constant.SOCKET_PATH.html (100%) rename enum.MpvCommand.html => mrc/enum.MpvCommand.html (81%) rename fn.get_property.html => mrc/fn.get_property.html (90%) rename fn.loadfile.html => mrc/fn.loadfile.html (91%) rename fn.playlist_clear.html => mrc/fn.playlist_clear.html (90%) rename fn.playlist_move.html => mrc/fn.playlist_move.html (90%) rename fn.playlist_next.html => mrc/fn.playlist_next.html (89%) rename fn.playlist_prev.html => mrc/fn.playlist_prev.html (89%) rename fn.playlist_remove.html => mrc/fn.playlist_remove.html (90%) rename fn.quit.html => mrc/fn.quit.html (90%) rename fn.seek.html => mrc/fn.seek.html (90%) rename fn.send_ipc_command.html => mrc/fn.send_ipc_command.html (87%) rename fn.set_property.html => mrc/fn.set_property.html (87%) create mode 100644 mrc/index.html rename sidebar-items.js => mrc/sidebar-items.js (100%) create mode 100644 search-index.js create mode 100644 search.desc/cli/cli-desc-0-.js create mode 100644 search.desc/mrc/mrc-desc-0-.js create mode 100644 search.desc/server/server-desc-0-.js create mode 100644 server/all.html create mode 100644 server/fn.create_tls_acceptor.html create mode 100644 server/fn.handle_connection.html create mode 100644 server/fn.main.html create mode 100644 server/fn.process_command.html create mode 100644 server/index.html create mode 100644 server/sidebar-items.js create mode 100644 server/struct.Config.html create mode 100644 settings.html create mode 100644 src-files.js create mode 100644 src/cli/cli.rs.html create mode 100644 src/mrc/lib.rs.html create mode 100644 src/server/server.rs.html create mode 100644 static.files/COPYRIGHT-eb44e4cf.txt create mode 100644 static.files/FiraSans-LICENSE-05ab6dbd.txt create mode 100644 static.files/FiraSans-Medium-e1aa3f0a.woff2 create mode 100644 static.files/FiraSans-Regular-0fe48ade.woff2 create mode 100644 static.files/LICENSE-APACHE-a60eea81.txt create mode 100644 static.files/LICENSE-MIT-23f18e03.txt create mode 100644 static.files/NanumBarunGothic-13b3dcba.ttf.woff2 create mode 100644 static.files/NanumBarunGothic-LICENSE-a37d393b.txt create mode 100644 static.files/SourceCodePro-It-fc8b9304.ttf.woff2 create mode 100644 static.files/SourceCodePro-LICENSE-67f54ca7.txt create mode 100644 static.files/SourceCodePro-Regular-8badfe75.ttf.woff2 create mode 100644 static.files/SourceCodePro-Semibold-aa29a496.ttf.woff2 create mode 100644 static.files/SourceSerif4-Bold-6d4fd4c0.ttf.woff2 create mode 100644 static.files/SourceSerif4-It-ca3b17ed.ttf.woff2 create mode 100644 static.files/SourceSerif4-LICENSE-a2cfd9d5.md create mode 100644 static.files/SourceSerif4-Regular-6b053e98.ttf.woff2 create mode 100644 static.files/favicon-044be391.svg create mode 100644 static.files/favicon-32x32-6580c154.png create mode 100644 static.files/main-5f194d8c.js create mode 100644 static.files/normalize-9960930a.css create mode 100644 static.files/noscript-893ab5e7.css create mode 100644 static.files/rust-logo-9a9549ea.svg create mode 100644 static.files/rustdoc-42caa33d.css create mode 100644 static.files/scrape-examples-d508a8a9.js create mode 100644 static.files/search-92e6798f.js create mode 100644 static.files/settings-0f613d39.js create mode 100644 static.files/src-script-56102188.js create mode 100644 static.files/storage-59e33391.js create mode 100644 trait.impl/clap_builder/derive/trait.Args.js create mode 100644 trait.impl/clap_builder/derive/trait.CommandFactory.js create mode 100644 trait.impl/clap_builder/derive/trait.FromArgMatches.js create mode 100644 trait.impl/clap_builder/derive/trait.Parser.js create mode 100644 trait.impl/clap_builder/derive/trait.Subcommand.js create mode 100644 trait.impl/core/fmt/trait.Debug.js create mode 100644 trait.impl/core/marker/trait.Freeze.js create mode 100644 trait.impl/core/marker/trait.Send.js create mode 100644 trait.impl/core/marker/trait.Sync.js create mode 100644 trait.impl/core/marker/trait.Unpin.js create mode 100644 trait.impl/core/panic/unwind_safe/trait.RefUnwindSafe.js create mode 100644 trait.impl/core/panic/unwind_safe/trait.UnwindSafe.js diff --git a/.lock b/.lock new file mode 100644 index 00000000..e69de29b diff --git a/cli/all.html b/cli/all.html new file mode 100644 index 00000000..c9ad48ad --- /dev/null +++ b/cli/all.html @@ -0,0 +1 @@ +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 new file mode 100644 index 00000000..4a4309f5 --- /dev/null +++ b/cli/enum.CommandOptions.html @@ -0,0 +1,81 @@ +CommandOptions in cli - Rust
cli

Enum CommandOptions

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

+
§

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

+
§

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

+
§

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)

+
§

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

+
§

Replace

Replace the current playlist with new files

+

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

+
§

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( + __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( + &mut self, + __clap_arg_matches: &ArgMatches, +) -> 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 +[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.

+
§

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).

+

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 +[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 new file mode 100644 index 00000000..2f230530 --- /dev/null +++ b/cli/fn.main.html @@ -0,0 +1 @@ +main in cli - Rust
cli

Function main

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

Crate cli

Source

Structs§

Enums§

Functions§

\ No newline at end of file diff --git a/cli/sidebar-items.js b/cli/sidebar-items.js new file mode 100644 index 00000000..804681ff --- /dev/null +++ b/cli/sidebar-items.js @@ -0,0 +1 @@ +window.SIDEBAR_ITEMS = {"enum":["CommandOptions"],"fn":["main"],"struct":["Cli"]}; \ No newline at end of file diff --git a/cli/struct.Cli.html b/cli/struct.Cli.html new file mode 100644 index 00000000..ba564614 --- /dev/null +++ b/cli/struct.Cli.html @@ -0,0 +1,37 @@ +Cli in cli - Rust
cli

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 +[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( + __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( + &mut self, + __clap_arg_matches: &ArgMatches, +) -> 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.

+
§

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).

+

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 +[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/crates.js b/crates.js new file mode 100644 index 00000000..e7d7b430 --- /dev/null +++ b/crates.js @@ -0,0 +1,2 @@ +window.ALL_CRATES = ["cli","mrc","server"]; +//{"start":21,"fragment_lengths":[5,6,9]} \ No newline at end of file diff --git a/help.html b/help.html new file mode 100644 index 00000000..4b211c31 --- /dev/null +++ b/help.html @@ -0,0 +1 @@ +Help

Rustdoc help

Back
\ No newline at end of file diff --git a/index.html b/index.html index a7ba9784..795116cd 100644 --- a/index.html +++ b/index.html @@ -1,33 +1 @@ -mrc - Rust

Crate mrc

Source
Expand description

MRC -A library for interacting with the MPV media player using its JSON IPC (Inter-Process Communication) protocol.

-

This crate provides a set of utilities to communicate with MPV’s IPC socket, enabling you to send commands -and retrieve responses in a structured format.

-

§Features

-
    -
  • Send commands to MPV’s IPC socket
  • -
  • Retrieve responses in JSON format
  • -
  • Supports common MPV commands like set_property, seek, and playlist-next
  • -
  • Flexible socket path configuration
  • -
-

§Example Usage

-
use serde_json::json;
-use tokio;
-use mrc::{send_ipc_command, playlist_next, set_property};
-
-#[tokio::main]
-async fn main() {
-    let result = playlist_next(None).await;
-    match result {
-        Ok(response) => println!("Playlist moved to next: {:?}", response),
-        Err(err) => eprintln!("Error: {:?}", err),
-    }
-
-    let property_result = set_property("volume", &json!(50), None).await;
-    match property_result {
-        Ok(response) => println!("Volume set: {:?}", response),
-        Err(err) => eprintln!("Error: {:?}", err),
-    }
-}
-

§Constants

§SOCKET_PATH

-

Default path for the MPV IPC socket: /tmp/mpvsocket

-

§Functions

Enums§

Constants§

Functions§

  • Sends the get_property command to retrieve a property value from MPV.
  • Sends the loadfile command to load a file into MPV.
  • Sends the playlist-clear command to clear the playlist.
  • Sends the playlist-move command to move a playlist item from one index to another.
  • Sends the playlist-next command to move to the next playlist item.
  • Sends the playlist-prev command to move to the previous playlist item.
  • Sends the playlist-remove command to remove an item from the playlist.
  • Sends the quit command to terminate MPV.
  • Sends the seek command to seek the media playback by a given number of seconds.
  • Sends a generic IPC command to the specified socket and returns the parsed response data.
  • Sends the set_property command to MPV to change a property value.
\ No newline at end of file + diff --git a/all.html b/mrc/all.html similarity index 100% rename from all.html rename to mrc/all.html diff --git a/constant.SOCKET_PATH.html b/mrc/constant.SOCKET_PATH.html similarity index 100% rename from constant.SOCKET_PATH.html rename to mrc/constant.SOCKET_PATH.html diff --git a/enum.MpvCommand.html b/mrc/enum.MpvCommand.html similarity index 81% rename from enum.MpvCommand.html rename to mrc/enum.MpvCommand.html index 8f378927..1b02fafa 100644 --- a/enum.MpvCommand.html +++ b/mrc/enum.MpvCommand.html @@ -31,15 +31,15 @@ string equivalents using the as_str method.

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.

-
Source§

impl<T> Instrument for T

Source§

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

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

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 +

§

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).

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.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

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 + 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/fn.get_property.html b/mrc/fn.get_property.html similarity index 90% rename from fn.get_property.html rename to mrc/fn.get_property.html index a91d72c6..b1741358 100644 --- a/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.

+) -> Result<Option<Value>>
Expand description

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

§Arguments