File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ impl NetBackend for Gvproxy {
105
105
/// (Will mutate and override parts of buf, with a passt header!)
106
106
///
107
107
/// * `hdr_len` - specifies the size of any existing headers encapsulating the ethernet frame,
108
- /// (such as vnet header), that can be overwritten.
109
- /// must be >= PASST_HEADER_LEN
108
+ /// (such as vnet header), that can be overwritten. Must be >= PASST_HEADER_LEN.
110
109
/// * `buf` - the buffer to write to passt, `buf[..hdr_len]` may be overwritten
111
110
///
112
111
/// If this function returns WriteError::PartialWrite, you have to finish the write using
Original file line number Diff line number Diff line change @@ -133,8 +133,7 @@ impl NetBackend for Passt {
133
133
/// (Will mutate and override parts of buf, with a passt header!)
134
134
///
135
135
/// * `hdr_len` - specifies the size of any existing headers encapsulating the ethernet frame,
136
- /// (such as vnet header), that can be overwritten.
137
- /// must be >= PASST_HEADER_LEN
136
+ /// (such as vnet header), that can be overwritten. Must be >= PASST_HEADER_LEN.
138
137
/// * `buf` - the buffer to write to passt, `buf[..hdr_len]` may be overwritten
139
138
///
140
139
/// If this function returns WriteError::PartialWrite, you have to finish the write using
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ pub trait Subscriber {
51
51
/// # Arguments
52
52
/// * event - the available `EpollEvent` ready for processing
53
53
/// * event_manager - Reference to the `EventManager` that gives the implementor
54
- /// the possibility to directly call the required update operations.
55
- /// The only functions safe to call on this `EventManager` reference
56
- /// are `register`, `unregister` and `modify` which correspond to
57
- /// the `libc::epoll_ctl` operations.
54
+ /// the possibility to directly call the required update operations.
55
+ /// The only functions safe to call on this `EventManager` reference
56
+ /// are `register`, `unregister` and `modify` which correspond to
57
+ /// the `libc::epoll_ctl` operations.
58
58
fn process ( & mut self , event : & EpollEvent , event_manager : & mut EventManager ) ;
59
59
60
60
/// Returns a list of `EpollEvent` that this subscriber is interested in.
You can’t perform that action at this time.
0 commit comments