pub struct Holder {
pub session: SessionKey,
pub pid: u32,
pub pid_start_time: u64,
}Expand description
The process a session’s leases live and die with.
Fields§
§session: SessionKeySession the leases belong to.
pid: u32PID of the session’s Claude Code process (claude.exe on Windows, claude elsewhere),
the direct parent of its MCP server and its hooks.
pid_start_time: u64Start time of pid in seconds since the Unix epoch. Every OS reuses PIDs, so a process
with the same PID but another start time is not the holder.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Holder
impl<'de> Deserialize<'de> for Holder
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
impl Eq for Holder
impl StructuralPartialEq for Holder
Auto Trait Implementations§
impl Forget for Holder
impl Freeze for Holder
impl Move for Holder
impl RefUnwindSafe for Holder
impl Send for Holder
impl Sync for Holder
impl Unpin for Holder
impl UnsafeUnpin for Holder
impl UnwindSafe for Holder
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