pub struct BiDirIiopServiceContext {
pub listen_points: Vec<ListenPoint>,
}Expand description
IIOP::BiDirIIOPServiceContext: the addresses a client listens on,
sent with service_id::BI_DIR_IIOP to offer the connection for
requests from the server (bidirectional GIOP, GIOP 1.2 and later).
Fields§
§listen_points: Vec<ListenPoint>The client’s listen points.
Implementations§
Source§impl BiDirIiopServiceContext
impl BiDirIiopServiceContext
Sourcepub fn to_service_context(&self, order: ByteOrder) -> Result<ServiceContext>
pub fn to_service_context(&self, order: ByteOrder) -> Result<ServiceContext>
Wraps the context in a service_id::BI_DIR_IIOP service context.
Sourcepub fn from_service_context(
context: &ServiceContext,
) -> Result<BiDirIiopServiceContext>
pub fn from_service_context( context: &ServiceContext, ) -> Result<BiDirIiopServiceContext>
Reads the context from a service context’s data.
Sourcepub fn find(
contexts: &[ServiceContext],
) -> Option<Result<BiDirIiopServiceContext>>
pub fn find( contexts: &[ServiceContext], ) -> Option<Result<BiDirIiopServiceContext>>
Finds and reads the context in a service context list.
Trait Implementations§
Source§impl Clone for BiDirIiopServiceContext
impl Clone for BiDirIiopServiceContext
Source§impl Debug for BiDirIiopServiceContext
impl Debug for BiDirIiopServiceContext
Source§impl Default for BiDirIiopServiceContext
impl Default for BiDirIiopServiceContext
impl Eq for BiDirIiopServiceContext
Source§impl PartialEq for BiDirIiopServiceContext
impl PartialEq for BiDirIiopServiceContext
impl StructuralPartialEq for BiDirIiopServiceContext
Auto Trait Implementations§
impl Forget for BiDirIiopServiceContext
impl Freeze for BiDirIiopServiceContext
impl Move for BiDirIiopServiceContext
impl RefUnwindSafe for BiDirIiopServiceContext
impl Send for BiDirIiopServiceContext
impl Sync for BiDirIiopServiceContext
impl Unpin for BiDirIiopServiceContext
impl UnsafeUnpin for BiDirIiopServiceContext
impl UnwindSafe for BiDirIiopServiceContext
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