#[non_exhaustive]pub struct Console {
pub machine: String,
pub protocol: ConsoleProtocol,
pub endpoint: Endpoint,
pub user: Option<String>,
pub password: Option<SecretValue>,
pub note: Option<String>,
/* private fields */
}Expand description
A machine’s graphical console the runner reached: where it answers, and how to sign in. A tunnel it opened lives as long as the console: drop it once the viewer is done.
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: VNC or RDP.
endpoint: EndpointWhere it answers.
user: Option<String>The account to sign in as, when it signs in to the machine’s own OS (RDP to Windows).
password: Option<SecretValue>Its password: the VNC password, or the account’s. Never print or log it.
note: Option<String>What to know of it, as the manifest says (the extension pack VirtualBox’s takes).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Console
impl !RefUnwindSafe for Console
impl !UnwindSafe for Console
impl Forget for Console
impl Move for Console
impl Send for Console
impl Sync for Console
impl Unpin for Console
impl UnsafeUnpin for Console
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