pub struct SignIn {
pub profile: SafeName,
pub window: String,
pub volume: String,
pub courier: String,
pub capture: PathBuf,
pub browser: PathBuf,
/* private fields */
}Expand description
The window a profile is signed in from, and everything made for it.
Fields§
§profile: SafeNameThe profile being signed in.
window: StringThe container the window is open in.
volume: StringThe volume that is the window’s home while it is open, and nothing afterwards.
courier: StringThe short-lived container the login is taken out of the home by.
capture: PathBufThe folder of this machine the login is taken out into.
browser: PathBufThe folder of this machine the window leaves the addresses it wants opened in.
Implementations§
Source§impl SignIn
impl SignIn
Sourcepub fn named(profile: &SafeName) -> Result<Self>
pub fn named(profile: &SafeName) -> Result<Self>
What signing profile in is called, and the private folder of this machine it uses; the
containers and the volume are not made yet.
§Errors
When no private folder can be made.
Sourcepub fn open_command(
&self,
engine: &Engine,
profile: &Profile,
user: HostUser,
display: &Display,
seccomp: Option<&Path>,
) -> Option<EngineCommand>
pub fn open_command( &self, engine: &Engine, profile: &Profile, user: HostUser, display: &Display, seccomp: Option<&Path>, ) -> Option<EngineCommand>
The command that opens the window: the profile’s image, a home of its own in
SignIn::volume, the folder it leaves addresses in, and the network, which a sign-in
cannot do without. No workspace is mounted and none is opened: the window is only there to
be signed in.
Trait Implementations§
impl Eq for SignIn
impl StructuralPartialEq for SignIn
Auto Trait Implementations§
impl Freeze for SignIn
impl RefUnwindSafe for SignIn
impl Send for SignIn
impl Sync for SignIn
impl Unpin for SignIn
impl UnsafeUnpin for SignIn
impl UnwindSafe for SignIn
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more