pub struct Adapter { /* private fields */ }Implementations§
Source§impl Adapter
impl Adapter
pub fn with_endpoint( name: &str, endpoint: &str, ) -> Result<Adapter, Box<dyn Error + Sync + Send>>
pub fn add( &mut self, ident: &str, object: Box<dyn IceObjectServer + Send + Sync>, )
pub async fn activate(&mut self) -> Result<(), Box<dyn Error + Sync + Send>>
pub async fn handle_socket( &mut self, stream: &mut TcpStream, ) -> Result<(), Box<dyn Error + Sync + Send>>
Auto Trait Implementations§
impl Freeze for Adapter
impl !RefUnwindSafe for Adapter
impl Send for Adapter
impl Sync for Adapter
impl Unpin for Adapter
impl UnsafeUnpin for Adapter
impl !UnwindSafe for Adapter
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