pub struct AcceptPath {
pub dispatch: DispatchState,
pub prose: String,
}Fields§
§dispatch: DispatchState§prose: StringImplementations§
Source§impl AcceptPath
impl AcceptPath
pub fn new(dispatch: DispatchState, prose: impl Into<String>) -> Self
pub fn accept_new( &self, delivery: &Delivery, accept_new: bool, ) -> Result<Option<SessionRef>>
pub fn ready_report( &self, task_id: &str, session_id: &str, generation: u64, seq: u64, ) -> Report
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AcceptPath
impl !UnwindSafe for AcceptPath
impl Freeze for AcceptPath
impl Send for AcceptPath
impl Sync for AcceptPath
impl Unpin for AcceptPath
impl UnsafeUnpin for AcceptPath
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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