[−][src]Struct lsm::TargetPort
Represent a target port which is the front-end port of storage system which storage user/client connect to and get storage service from.
Fields
id: String
Identifier.
port_type: PortType
Type of port.
service_address: String
The address used by upper layer like FC and iSCSI:
-
FC and FCoE: WWPN
-
iSCSI: IQN The string is in lower case, split with
:
every two digits if WWPN.
network_address: String
The address used by network layer like FC and TCP/IP:
-
FC/FCoE: WWPN
-
iSCSI:
IPv4:Port
or[IPv6]:Port
The string is in lower case, split with:
every two digits if WWPN.
physical_address: String
The address used by physical layer like FC-0 and MAC:
-
FC and FCoE : WWPN
-
iSCSI: MAC The string is in Lower case, split with
:
every two digits.
physical_name: String
The name of physical port. Administrator could use this name to locate the port on storage system. E.g. 'eth0'
system_id: String
Identifier of owner system.
Trait Implementations
impl Clone for TargetPort
[src]
fn clone(&self) -> TargetPort
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TargetPort
[src]
impl<'de> Deserialize<'de> for TargetPort
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for TargetPort
impl Send for TargetPort
impl Sync for TargetPort
impl Unpin for TargetPort
impl UnwindSafe for TargetPort
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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>,