pub struct Callback<L>(/* private fields */)
where
L: Listener;Trait Implementations§
Source§impl<L> OperationDeclaration for Callback<L>where
L: Listener,
impl<L> OperationDeclaration for Callback<L>where
L: Listener,
const ID: &'static str = L::CALLBACK
const POLICY: OperationPolicy = L::POLICY
const VISIBILITY: Visibility = crate::operations::Visibility::Shared
type Request = Delivery<L>
type Response = ()
type Input = NoStream
type Output = NoStream
const DESCRIPTION: &'static str = ""
const REPLAY: ReplaySafety = ReplaySafety::Unknown
const GRPC: Option<Grpc> = None
const OPERATIONS: &'static [WireDeclaration] = _
fn definition() -> OperationDefinition
fn grant(_request: &Self::Request) -> Option<Grant>
fn key(_request: &Self::Request) -> Option<CacheKey>
Auto Trait Implementations§
impl<L> Freeze for Callback<L>where
PhantomData<L>: Freeze,
impl<L> RefUnwindSafe for Callback<L>where
PhantomData<L>: RefUnwindSafe,
impl<L> Send for Callback<L>where
PhantomData<L>: Send,
impl<L> Sync for Callback<L>where
PhantomData<L>: Sync,
impl<L> Unpin for Callback<L>where
PhantomData<L>: Unpin,
impl<L> UnsafeUnpin for Callback<L>where
PhantomData<L>: UnsafeUnpin,
impl<L> UnwindSafe for Callback<L>where
PhantomData<L>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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