pub enum LogEntry {
End,
Register {
label: String,
},
Message {
label: String,
},
FoundResponseUpstream {
label: String,
},
ResponseArrivedDownstream {
label: String,
},
ForwardResponseDownstream {
label: String,
},
ForwardRequestUpstream {
label: String,
},
}Variants§
End
Register
Message
FoundResponseUpstream
ResponseArrivedDownstream
ForwardResponseDownstream
ForwardRequestUpstream
Implementations§
Source§impl LogEntry
impl LogEntry
pub fn end() -> Self
pub fn register(label: &str) -> Self
pub fn message(label: &str) -> Self
pub fn found_response_upstream(label: &str) -> Self
pub fn response_arrived_downstream(label: &str) -> Self
pub fn forward_request_upstream(label: &str) -> Self
pub fn forward_response_downstream(label: &str) -> Self
Trait Implementations§
Source§impl Ord for LogEntry
impl Ord for LogEntry
Source§impl PartialOrd for LogEntry
impl PartialOrd for LogEntry
impl Eq for LogEntry
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnwindSafe for LogEntry
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