#[non_exhaustive]pub struct ReachedConsole {
pub machine: String,
pub protocol: ConsoleProtocol,
pub endpoint: ConsoleEndpoint,
pub user: Option<String>,
pub password: Option<String>,
pub note: Option<String>,
pub tunnelled: bool,
}Expand description
A machine’s graphical console as the service reached it (isothrum_runner::Console on the
wire): where it answers, and how to sign in. Its secrets travel only over the owner-only
endpoint; its debug form never shows one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.machine: StringThe machine.
protocol: ConsoleProtocolThe protocol it speaks.
endpoint: ConsoleEndpointWhere it answers.
user: Option<String>The account to sign in as, when it signs in to the machine’s own OS.
password: Option<String>Its password. Never print or log it.
note: Option<String>What to know of it.
tunnelled: boolWhether an SSH tunnel of the service carries it: open while the connection that asked is.
Implementations§
Source§impl ReachedConsole
impl ReachedConsole
Sourcepub fn of(console: &Console) -> Option<ReachedConsole>
pub fn of(console: &Console) -> Option<ReachedConsole>
console on the wire; none for an endpoint this protocol doesn’t carry.
Trait Implementations§
Source§impl Clone for ReachedConsole
impl Clone for ReachedConsole
Source§impl Debug for ReachedConsole
impl Debug for ReachedConsole
Source§impl<'de> Deserialize<'de> for ReachedConsole
impl<'de> Deserialize<'de> for ReachedConsole
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
impl Eq for ReachedConsole
Source§impl PartialEq for ReachedConsole
impl PartialEq for ReachedConsole
Source§impl Serialize for ReachedConsole
impl Serialize for ReachedConsole
impl StructuralPartialEq for ReachedConsole
Auto Trait Implementations§
impl Forget for ReachedConsole
impl Freeze for ReachedConsole
impl Move for ReachedConsole
impl RefUnwindSafe for ReachedConsole
impl Send for ReachedConsolewhere
RawVecInner: Send,
impl Sync for ReachedConsolewhere
RawVecInner: Sync,
impl Unpin for ReachedConsole
impl UnsafeUnpin for ReachedConsole
impl UnwindSafe for ReachedConsolewhere
RawVecInner: UnwindSafe,
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.