pub struct RpcInterface { /* private fields */ }
Implementations§
Source§impl RpcInterface
impl RpcInterface
pub fn ack_reason<T>(self, value: T) -> Self
pub fn ack_result<T>(self, value: T) -> Self
pub fn uuid<T>(self, value: T) -> Self
pub fn version<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for RpcInterface
impl Clone for RpcInterface
Source§fn clone(&self) -> RpcInterface
fn clone(&self) -> RpcInterface
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RpcInterface
impl Debug for RpcInterface
Source§impl Default for RpcInterface
impl Default for RpcInterface
Source§impl From<RpcInterface> for RpcInterface
impl From<RpcInterface> for RpcInterface
Source§fn from(value: RpcInterface) -> Self
fn from(value: RpcInterface) -> Self
Converts to this type from the input type.
Source§impl TryFrom<RpcInterface> for RpcInterface
impl TryFrom<RpcInterface> for RpcInterface
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RpcInterface) -> Result<Self, ConversionError>
fn try_from(value: RpcInterface) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RpcInterface
impl RefUnwindSafe for RpcInterface
impl Send for RpcInterface
impl Sync for RpcInterface
impl Unpin for RpcInterface
impl UnwindSafe for RpcInterface
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