Struct ice_rs::adapter::Adapter [−][src]
Implementations
impl Adapter
[src]
pub fn with_endpoint(
name: &str,
endpoint: &str
) -> Result<Adapter, Box<dyn Error + Sync + Send>>
[src]
name: &str,
endpoint: &str
) -> Result<Adapter, Box<dyn Error + Sync + Send>>
pub fn add(
&mut self,
ident: &str,
object: Box<dyn IceObjectServer + Send + Sync>
)
[src]
&mut self,
ident: &str,
object: Box<dyn IceObjectServer + Send + Sync>
)
pub async fn activate(&mut self) -> Result<(), Box<dyn Error + Sync + Send>>
[src]
pub async fn handle_socket(
&mut self,
stream: &mut TcpStream
) -> Result<(), Box<dyn Error + Sync + Send>>
[src]
&mut self,
stream: &mut TcpStream
) -> Result<(), Box<dyn Error + Sync + Send>>
Auto Trait Implementations
impl !RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl !UnwindSafe for Adapter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[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.
pub 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>,