pub struct Launcher<'a> {
pub command: &'a str,
pub client_config: &'a str,
pub models_hint: &'a str,
pub extra_flags: &'a str,
}Expand description
How the server presents itself: the command that starts it (in --help,
usage errors and the startup line), the client configuration --help
shows, and how to get the PDF models when they are missing. The binary
uses Launcher::CLI.
Fields§
§command: &'a strThe command line that starts the server, e.g. docling-rs mcp.
client_config: &'a strA Claude Desktop mcpServers entry that launches it.
models_hint: &'a strThe sentence that tells the operator how to fetch the layout models.
extra_flags: &'a strFlags the launcher handles itself, listed in --help (empty for none).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Launcher<'a>
impl<'a> RefUnwindSafe for Launcher<'a>
impl<'a> Send for Launcher<'a>
impl<'a> Sync for Launcher<'a>
impl<'a> Unpin for Launcher<'a>
impl<'a> UnsafeUnpin for Launcher<'a>
impl<'a> UnwindSafe for Launcher<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more