pub enum ServiceEvent {
Started {
service: String,
endpoint: String,
rank: u8,
},
ConnectionOpened {
conn: u64,
app: String,
},
ConnectionRejected {
app: String,
reason: String,
},
PeerRejected {
reason: String,
},
Denied {
conn: u64,
app: String,
method: String,
},
HandoffRequested {
by_role: String,
by_rank: u8,
},
FrameTooLarge {
conn: u64,
method: String,
kind: &'static str,
limit: usize,
},
Released,
}Expand description
Content-free lifecycle events for the host’s journal.
Variants§
Started
ConnectionOpened
ConnectionRejected
PeerRejected
A connection was closed unread because the OS reported its peer is not the current
user (or could not be identified). reason is the typed peer error: a uid or pid,
never request content.
Denied
HandoffRequested
FrameTooLarge
A handler’s result (kind “response”) or an emitted event (kind “event”) was larger
than the frame limit and was not sent. For a response the client received the typed
ERROR_RESPONSE_TOO_LARGE error instead.
Released
Trait Implementations§
Source§impl Clone for ServiceEvent
impl Clone for ServiceEvent
Source§impl Debug for ServiceEvent
impl Debug for ServiceEvent
Source§impl PartialEq for ServiceEvent
impl PartialEq for ServiceEvent
impl StructuralPartialEq for ServiceEvent
Auto Trait Implementations§
impl Freeze for ServiceEvent
impl RefUnwindSafe for ServiceEvent
impl Send for ServiceEvent
impl Sync for ServiceEvent
impl Unpin for ServiceEvent
impl UnsafeUnpin for ServiceEvent
impl UnwindSafe for ServiceEvent
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