pub struct AdapterProcess {
pub instance_id: String,
pub credential_id: String,
pub adapter_name: String,
pub port: u16,
pub process: Child,
pub health: AdapterHealth,
pub consecutive_failures: u32,
pub restart_count: u32,
pub last_restart: Option<Instant>,
pub token: String,
pub config: Option<Value>,
}Expand description
Running adapter process info
Fields§
§instance_id: String§credential_id: String§adapter_name: String§port: u16§process: Child§health: AdapterHealth§consecutive_failures: u32§restart_count: u32§last_restart: Option<Instant>§token: StringStored for restart
config: Option<Value>Auto Trait Implementations§
impl Freeze for AdapterProcess
impl !RefUnwindSafe for AdapterProcess
impl Send for AdapterProcess
impl Sync for AdapterProcess
impl Unpin for AdapterProcess
impl UnsafeUnpin for AdapterProcess
impl !UnwindSafe for AdapterProcess
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