pub struct Service<T, S>{
pub id: u8,
pub capability: T,
/* private fields */
}Fields§
§id: u8§capability: TImplementations§
Trait Implementations§
Source§impl<T, S> CapnpService for Service<T, S>
impl<T, S> CapnpService for Service<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for Service<T, S>where
T: Freeze,
impl<T, S> RefUnwindSafe for Service<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for Service<T, S>
impl<T, S> Sync for Service<T, S>
impl<T, S> Unpin for Service<T, S>
impl<T, S> UnwindSafe for Service<T, S>where
T: UnwindSafe,
S: UnwindSafe,
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