TMFClient

Struct TMFClient 

Source
pub struct TMFClient { /* private fields */ }
Expand description

TMF Client

Implementations§

Source§

impl TMFClient

Source

pub fn new(host: impl Into<String>, port: Option<u16>) -> TMFClient

Create a new TMFClient instance

let client = TMFClient::new("http://localhost",Some(8000));
Source

pub fn tmf620(&mut self) -> TMF620

Create access to TMF620 API

let tmf620 = TMFClient::new("http://localhost",None)
    .tmf620();
Source

pub fn tmf622(&mut self) -> TMF622

Create access to TMF622 API

let tmf620 = TMFClient::new("http://localhost",None)
    .tmf622();
Source

pub fn tmf629(&mut self) -> TMF629

Create access to TMF632 API

let tmf632 = TMFClient::new("http://localhost",None)
    .tmf629();
Source

pub fn tmf632(&mut self) -> TMF632

Create access to TMF632 API

let tmf632 = TMFClient::new("http://localhost",None)
    .tmf632();
Source

pub fn tmf633(&mut self) -> TMF633

Create access to TMF633 API

let tmf633 = TMFClient::new("http://localhost",None)
    .tmf633();
Source

pub fn tmf637(&mut self) -> TMF637

Create access to TMF637 API

let tmf637 = TMFClient::new("http://localhost",None)
    .tmf637();
Source

pub fn tmf638(&mut self) -> TMF638

Create access to TMF638 API

let tmf638 = TMFClient::new("http://localhost",None)
    .tmf638();
Source

pub fn tmf639(&mut self) -> TMF639

Create access to TMF639 API

let tmf639 = TMFClient::new("http://localhost",None)
    .tmf639();
Source

pub fn tmf645(&mut self) -> TMF645

Create access to TMF645 API

let tmf645 = TMFClient::new("http://localhost",None)
    .tmf645();
Source

pub fn tmf648(&mut self) -> TMF648

Create access to TMF648 API

let tmf648 = TMFClient::new("http://localhost",None)
    .tmf648();
Source

pub fn tmf663(&mut self) -> TMF663

Create access to TMF663 API

let tmf663 = TMFClient::new("http://localhost",None)
    .tmf663();
Source

pub fn tmf674(&mut self) -> TMF674

Create access to TMF674 API

let tmf674 = TMFClient::new("http://localhost",None)
    .tmf674();

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.

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 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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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