pub struct Context {
pub caps: Vec<u32>,
pub remote: bool,
pub expect_host_key: Option<[u8; 32]>,
pub dev_version: String,
pub dev_model: Option<String>,
}Expand description
What the renderers know beyond the properties themselves.
Fields§
§caps: Vec<u32>The device’s advertised capability codes.
remote: boolWhether this device is reached over the mesh, where the host domain is not visible at all.
expect_host_key: Option<[u8; 32]>--expect-host-key, which turns the host ownership line from a
statement into a verdict.
dev_version: StringRead during the attach handshake, so free to print.
dev_model: Option<String>Implementations§
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more