[−][src]Struct docuglot::Tongue
Manages all of the Translator
s.
Implementations
impl Tongue
[src]
#[must_use]pub fn new(root_dir: &Url) -> Self
[src]
Creates a new Tongue
.
pub fn join(&mut self)
[src]
Joins the thread.
Trait Implementations
impl Consumer for Tongue
[src]
type Good = ServerStatement
The type of the item being consumed.
type Error = <PermanentQueue<ServerStatement> as Consumer>::Error
The type of the error that could be thrown during consumption.
fn consume(&self) -> Result<Self::Good, ConsumeFailure<Self::Error>>
[src]
fn consume_all(&self) -> Result<Vec<Self::Good>, Self::Error>
[src]
fn demand(&self) -> Result<Self::Good, Self::Error>
[src]
fn adapt<G, F>(self) -> Adapter<Self, G, F>
[src]
impl Debug for Tongue
[src]
impl Producer for Tongue
[src]
type Good = ClientStatement
The type of the item being produced.
type Error = <PermanentQueue<ClientStatement> as Producer>::Error
The type of the error that could be thrown during production.
fn produce(&self, good: Self::Good) -> Result<(), ProduceFailure<Self::Error>>
[src]
fn produce_or_recall(
&self,
good: Self::Good
) -> Result<(), Recall<Self::Good, Self::Error>> where
Self::Good: Clone,
Self::Good: Debug,
Self::Good: Display,
[src]
&self,
good: Self::Good
) -> Result<(), Recall<Self::Good, Self::Error>> where
Self::Good: Clone,
Self::Good: Debug,
Self::Good: Display,
fn produce_all(
&self,
goods: Vec<Self::Good>
) -> Result<(), ProduceFailure<Self::Error>>
[src]
&self,
goods: Vec<Self::Good>
) -> Result<(), ProduceFailure<Self::Error>>
fn force(&self, good: Self::Good) -> Result<(), Self::Error> where
Self::Good: Clone,
Self::Good: Debug,
Self::Good: Display,
Self::Error: 'static,
[src]
Self::Good: Clone,
Self::Good: Debug,
Self::Good: Display,
Self::Error: 'static,
fn force_all(&self, goods: Vec<Self::Good>) -> Result<(), Self::Error> where
Self::Good: Clone,
Self::Good: Debug,
Self::Good: Display,
Self::Error: 'static,
[src]
Self::Good: Clone,
Self::Good: Debug,
Self::Good: Display,
Self::Error: 'static,
Auto Trait Implementations
impl !RefUnwindSafe for Tongue
impl Send for Tongue
impl !Sync for Tongue
impl Unpin for Tongue
impl !UnwindSafe for Tongue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<N, S> AssembleInto<S> for N where
S: AssembleFrom<N>,
[src]
S: AssembleFrom<N>,
type Error = <S as AssembleFrom<N>>::Error
The type of the error that could be thrown during assembly.
fn assemble_into(
components: &mut Vec<N>
) -> Result<S, AssembleFailure<<N as AssembleInto<S>>::Error>>
[src]
components: &mut Vec<N>
) -> Result<S, AssembleFailure<<N as AssembleInto<S>>::Error>>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<N, S> DisassembleInto<N> for S where
N: DisassembleFrom<S>,
[src]
N: DisassembleFrom<S>,
type Error = <N as DisassembleFrom<S>>::Error
The type of the error that could be thrown during disassembly.
fn disassemble_into(self) -> Result<Vec<N>, <S as DisassembleInto<N>>::Error>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,