pub enum InputBy {
Caller,
}Expand description
Who may send a call’s input items. Only the caller, on the call’s own connection: an input item carries no target of its own, so there is nothing another principal could be checked against. (A wider sender is a second call, gated as one.)
Variants§
Caller
The connection that opened the call (#[method(input_by = "caller")],
the default and only form).
Trait Implementations§
impl Copy for InputBy
impl Eq for InputBy
impl StructuralPartialEq for InputBy
Auto Trait Implementations§
impl Forget for InputBy
impl Freeze for InputBy
impl RefUnwindSafe for InputBy
impl Send for InputBy
impl Sync for InputBy
impl Unpin for InputBy
impl UnsafeUnpin for InputBy
impl UnwindSafe for InputBy
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