pub struct SetiRequest {
pub peer: PeerId,
pub context: Option<SetiContext>,
pub operation: SetiOperation,
}Expand description
Входящий запрос на операцию.
Запрос уже принят: чтобы выполнить операцию, нужно вызвать
operation.commit(&set); чтобы отказаться — уничтожить operation.
Fields§
§peer: PeerIdУзел, приславший запрос.
context: Option<SetiContext>Сообщение, которым вторая сторона сопроводила запрос.
operation: SetiOperationОперация, готовая к запуску.
Auto Trait Implementations§
impl !RefUnwindSafe for SetiRequest
impl !UnwindSafe for SetiRequest
impl Freeze for SetiRequest
impl Send for SetiRequest
impl Sync for SetiRequest
impl Unpin for SetiRequest
impl UnsafeUnpin for SetiRequest
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