pub struct RoutedCall<'a> {
pub method: &'static MethodDescriptor,
pub context: &'a CallContext,
}Expand description
Decoded transport context bound to a v2 route, before body interpretation.
Fields§
§method: &'static MethodDescriptor§context: &'a CallContextImplementations§
Source§impl<'a> RoutedCall<'a>
impl<'a> RoutedCall<'a>
pub fn new(path: &str, context: &'a CallContext) -> Option<Self>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RoutedCall<'a>
impl<'a> RefUnwindSafe for RoutedCall<'a>
impl<'a> Send for RoutedCall<'a>
impl<'a> Sync for RoutedCall<'a>
impl<'a> Unpin for RoutedCall<'a>
impl<'a> UnsafeUnpin for RoutedCall<'a>
impl<'a> UnwindSafe for RoutedCall<'a>
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