pub struct UnixTrans {
pub host: String,
pub path: String,
}Expand description
omniORB’s TAG_OMNIORB_UNIX_TRANS component: a Unix domain socket the
target listens on (giop:unix), usable from the host it names. The
layout (two strings in an encapsulation) is as observed in omniORB 4.3
IORs; see docs/unix-transport.md.
Fields§
§host: StringHost name of the machine the socket is on.
path: StringPath of the socket.
Implementations§
Source§impl UnixTrans
impl UnixTrans
Sourcepub fn to_component(&self, order: ByteOrder) -> Result<TaggedComponent>
pub fn to_component(&self, order: ByteOrder) -> Result<TaggedComponent>
Wraps the data in a component_tag::OMNIORB_UNIX_TRANS component.
Sourcepub fn from_component(component: &TaggedComponent) -> Result<UnixTrans>
pub fn from_component(component: &TaggedComponent) -> Result<UnixTrans>
Reads the data from a component’s data.
Trait Implementations§
impl Eq for UnixTrans
impl StructuralPartialEq for UnixTrans
Auto Trait Implementations§
impl Forget for UnixTrans
impl Freeze for UnixTrans
impl Move for UnixTrans
impl RefUnwindSafe for UnixTrans
impl Send for UnixTrans
impl Sync for UnixTrans
impl Unpin for UnixTrans
impl UnsafeUnpin for UnixTrans
impl UnwindSafe for UnixTrans
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