pub enum Transport {
Stdio,
Unix(PathBuf),
Manual,
}Expand description
How the CLI platform moves events and actions.
Variants§
Stdio
Inbound events on stdin, outbound actions on stdout.
Unix(PathBuf)
A unix socket at this path.
Manual
No transport — the owner injects events and reads outbound actions
through the CliHub handle.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transport
impl RefUnwindSafe for Transport
impl Send for Transport
impl Sync for Transport
impl Unpin for Transport
impl UnsafeUnpin for Transport
impl UnwindSafe for Transport
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