pub struct RpcEvent { /* private fields */ }Implementations§
source§impl RpcEvent
impl RpcEvent
pub fn kind(&self) -> RpcEventKind
pub fn frame(&self) -> &Arc<FrameData>
pub fn sender(&self) -> &str
pub fn primary_sender(&self) -> &str
pub fn payload(&self) -> &[u8] ⓘ
pub fn is_response_required(&self) -> bool
pub fn parse_method(&self) -> Result<&str, Error>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RpcEvent
impl Send for RpcEvent
impl Sync for RpcEvent
impl Unpin for RpcEvent
impl UnwindSafe for RpcEvent
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