pub struct JupyterConfigSpec<'a> {
pub port: u16,
pub token: &'a str,
pub root_dir: &'a Path,
pub cull_idle_secs: u64,
pub allow_origin: &'a str,
}Expand description
Values the engine controls in the sidecar config.
Fields§
§port: u16Loopback port the sidecar must take (engine-picked, port_retries=0).
token: &'a strStartup-minted auth token.
root_dir: &'a PathContents-API root (c.ServerApp.root_dir).
cull_idle_secs: u64Kernel idle culling timeout, seconds.
allow_origin: &'a strThis engine’s public origin, allowed for origin checks.
Trait Implementations§
Source§impl<'a> Clone for JupyterConfigSpec<'a>
impl<'a> Clone for JupyterConfigSpec<'a>
Source§fn clone(&self) -> JupyterConfigSpec<'a>
fn clone(&self) -> JupyterConfigSpec<'a>
Returns a duplicate 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<'a> Debug for JupyterConfigSpec<'a>
impl<'a> Debug for JupyterConfigSpec<'a>
Source§impl<'a> PartialEq for JupyterConfigSpec<'a>
impl<'a> PartialEq for JupyterConfigSpec<'a>
impl<'a> Eq for JupyterConfigSpec<'a>
impl<'a> StructuralPartialEq for JupyterConfigSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for JupyterConfigSpec<'a>
impl<'a> RefUnwindSafe for JupyterConfigSpec<'a>
impl<'a> Send for JupyterConfigSpec<'a>
impl<'a> Sync for JupyterConfigSpec<'a>
impl<'a> Unpin for JupyterConfigSpec<'a>
impl<'a> UnsafeUnpin for JupyterConfigSpec<'a>
impl<'a> UnwindSafe for JupyterConfigSpec<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.