[][src]Struct ice_rs::proxy::Proxy

pub struct Proxy {
    pub transport: Rc<RefCell<dyn Transport + 'static>>,
    pub request_id: i32,
    pub ident: String,
    pub host: String,
    pub port: i32,
    pub context: Option<HashMap<String, String>>,
}

Fields

transport: Rc<RefCell<dyn Transport + 'static>>request_id: i32ident: Stringhost: Stringport: i32context: Option<HashMap<String, String>>

Implementations

impl Proxy[src]

pub fn new(
    proxy_string: &str,
    properties: &Properties
) -> Result<Proxy, Box<dyn Error>>
[src]

pub fn ice_context(&mut self, context: HashMap<String, String>) -> Proxy[src]

pub fn create_request(
    &mut self,
    identity_name: &str,
    operation: &str,
    mode: u8,
    params: &Encapsulation,
    context: Option<HashMap<String, String>>
) -> RequestData
[src]

pub fn make_request<T: 'static + Debug + Display + FromBytes>(
    &mut self,
    request: &RequestData
) -> Result<ReplyData, Box<dyn Error>>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.