pub enum Named {
ForThisRun,
InTheFile,
}Expand description
Where an alias’s name came from, which is what failing to open it means.
A name typed for this run is something the reader is standing there waiting on, so a daemon
that started without it would be answering a different question than the one asked. A name
in a config file is what they use in a week: a cluster in maintenance, a laptop off the
VPN, an agent with no key loaded yet. Refusing to start until every one of those answers
makes the daemon useless exactly when it is most wanted – which is the rule [[host]] has
followed all along, written down two hundred lines below this and not applied here.
Variants§
ForThisRun
Typed on the command line: ssh-browser serve docs=myhost.
InTheFile
[[alias]] in the config file.
Trait Implementations§
impl Copy for Named
impl Eq for Named
impl StructuralPartialEq for Named
Auto Trait Implementations§
impl Freeze for Named
impl RefUnwindSafe for Named
impl Send for Named
impl Sync for Named
impl Unpin for Named
impl UnsafeUnpin for Named
impl UnwindSafe for Named
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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