pub enum CellosRequest {
Resolve {
key: String,
cell_id: String,
ttl_seconds: u64,
cell_token: String,
},
RevokeForCell {
cell_id: String,
},
}Expand description
Requests sent by the CellOS broker over TSAFE_SOCKET.
Variants§
Resolve
Resolve a secret value for a cell.
cell_token is a 32-byte hex random nonce generated at supervisor spawn.
The daemon validates token + PID against the first-registration record to
mitigate PID reuse between cell death and a new process reaching the socket.
RevokeForCell
Purge cached material for a cell on TTL expiry or explicit destroy.
Trait Implementations§
Source§impl Debug for CellosRequest
impl Debug for CellosRequest
Source§impl<'de> Deserialize<'de> for CellosRequest
impl<'de> Deserialize<'de> for CellosRequest
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 CellosRequest
impl RefUnwindSafe for CellosRequest
impl Send for CellosRequest
impl Sync for CellosRequest
impl Unpin for CellosRequest
impl UnsafeUnpin for CellosRequest
impl UnwindSafe for CellosRequest
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