pub struct ConnectionInfo {
pub ip: String,
pub transport: String,
pub shell_port: u16,
pub iopub_port: u16,
pub stdin_port: u16,
pub control_port: u16,
pub hb_port: u16,
pub key: String,
pub signature_scheme: String,
pub kernel_name: Option<String>,
}
Expand description
Connection information for a Jupyter kernel, as represented in a JSON connection file.
Fields§
§ip: String
§transport: String
§shell_port: u16
§iopub_port: u16
§stdin_port: u16
§control_port: u16
§hb_port: u16
§key: String
§signature_scheme: String
§kernel_name: Option<String>
Implementations§
Source§impl ConnectionInfo
impl ConnectionInfo
Sourcepub fn control_url(&self) -> String
pub fn control_url(&self) -> String
format the control url for a ZeroMQ connection
Trait Implementations§
Source§impl Clone for ConnectionInfo
impl Clone for ConnectionInfo
Source§fn clone(&self) -> ConnectionInfo
fn clone(&self) -> ConnectionInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConnectionInfo
impl Debug for ConnectionInfo
Source§impl<'de> Deserialize<'de> for ConnectionInfo
impl<'de> Deserialize<'de> for ConnectionInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConnectionInfo
impl RefUnwindSafe for ConnectionInfo
impl Send for ConnectionInfo
impl Sync for ConnectionInfo
impl Unpin for ConnectionInfo
impl UnwindSafe for ConnectionInfo
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