pub struct AlternateIiopAddress {
pub host: String,
pub port: u16,
}Expand description
The data of the component_tag::ALTERNATE_IIOP_ADDRESS component: one
more address the object can be reached at.
Fields§
§host: StringHost name or IP address.
port: u16TCP port.
Implementations§
Source§impl AlternateIiopAddress
impl AlternateIiopAddress
Sourcepub fn to_component(&self, order: ByteOrder) -> Result<TaggedComponent>
pub fn to_component(&self, order: ByteOrder) -> Result<TaggedComponent>
Wraps the address in a component_tag::ALTERNATE_IIOP_ADDRESS
component.
Sourcepub fn from_component(
component: &TaggedComponent,
) -> Result<AlternateIiopAddress>
pub fn from_component( component: &TaggedComponent, ) -> Result<AlternateIiopAddress>
Reads the address from a component’s data.
Trait Implementations§
Source§impl Clone for AlternateIiopAddress
impl Clone for AlternateIiopAddress
Source§impl Debug for AlternateIiopAddress
impl Debug for AlternateIiopAddress
impl Eq for AlternateIiopAddress
Source§impl PartialEq for AlternateIiopAddress
impl PartialEq for AlternateIiopAddress
impl StructuralPartialEq for AlternateIiopAddress
Auto Trait Implementations§
impl Forget for AlternateIiopAddress
impl Freeze for AlternateIiopAddress
impl Move for AlternateIiopAddress
impl RefUnwindSafe for AlternateIiopAddress
impl Send for AlternateIiopAddress
impl Sync for AlternateIiopAddress
impl Unpin for AlternateIiopAddress
impl UnsafeUnpin for AlternateIiopAddress
impl UnwindSafe for AlternateIiopAddress
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