pub struct InstanceInfo {
pub addr: IpAddr,
pub server_name: String,
pub instance_name: String,
pub is_clustered: bool,
pub version: String,
pub np_info: Option<NamedPipeInfo>,
pub tcp_info: Option<TcpInfo>,
pub via_info: Option<ViaInfo>,
pub rpc_info: Option<RpcInfo>,
pub spx_info: Option<SpxInfo>,
pub adsp_info: Option<AdspInfo>,
pub bv_info: Option<BvInfo>,
}
Expand description
Information send in a browser protocol response See SVR_RESP
Fields§
§addr: IpAddr
The address of the instance
server_name: String
The name of the server. The SERVERNAME MUST be no greater than 255 bytes.
instance_name: String
A text string that represents the name of the server instance being described. The INSTANCENAME MUST be no greater than 255 bytes but SHOULD be no greater than 16 MBCS characters.
is_clustered: bool
§version: String
A text string that conveys the version of the server instance. The VERSION_STRING MUST be no greater than 16 bytes. VERSION_STRING MUST NOT be empty and MUST appear as follows: VERSION_STRING=1*[0-9“.“]
np_info: Option<NamedPipeInfo>
§tcp_info: Option<TcpInfo>
§via_info: Option<ViaInfo>
§rpc_info: Option<RpcInfo>
§spx_info: Option<SpxInfo>
§adsp_info: Option<AdspInfo>
§bv_info: Option<BvInfo>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InstanceInfo
impl RefUnwindSafe for InstanceInfo
impl Send for InstanceInfo
impl Sync for InstanceInfo
impl Unpin for InstanceInfo
impl UnwindSafe for InstanceInfo
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