pub struct SessionMeta {Show 14 fields
pub id: SessionId,
pub name: Option<String>,
pub model: String,
pub cwd: Option<PathBuf>,
pub created_at: DateTime<Utc>,
pub continued: bool,
pub continue_info: Option<ContinueInfoWire>,
pub host_pid: u32,
pub lifecycle: SessionLifecycle,
pub clients: usize,
pub input_owner: Option<ClientId>,
pub awaiting_input: usize,
pub journal_id: String,
pub locked_by: Option<String>,
}Fields§
§id: SessionId§name: Option<String>§model: String§cwd: Option<PathBuf>§created_at: DateTime<Utc>§continued: bool§continue_info: Option<ContinueInfoWire>§host_pid: u32Daemon pid (in-process: this process).
lifecycle: SessionLifecycle§clients: usize§input_owner: Option<ClientId>§awaiting_input: usize§journal_id: Stringconv.session.id — differs from id after a LinkedSuccessor compaction.
locked_by: Option<String>Set when the session’s journal is locked by another process (F23):
"pid N (kind)". Shown in daemon sessions; cleared on unpark.
Trait Implementations§
Source§impl Clone for SessionMeta
impl Clone for SessionMeta
Source§impl Debug for SessionMeta
impl Debug for SessionMeta
Source§impl<'de> Deserialize<'de> for SessionMeta
impl<'de> Deserialize<'de> for SessionMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionMeta
impl RefUnwindSafe for SessionMeta
impl Send for SessionMeta
impl Sync for SessionMeta
impl Unpin for SessionMeta
impl UnsafeUnpin for SessionMeta
impl UnwindSafe for SessionMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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>
Convert
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>
Convert
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)
Convert
&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)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.