pub struct ReceivedFrame {
pub frame: Frame,
}Expand description
A frame that was received and routed.
Fields§
§frame: FrameImplementations§
Source§impl ReceivedFrame
impl ReceivedFrame
pub fn channel_id(&self) -> u32
pub fn method_id(&self) -> u32
pub fn flags(&self) -> FrameFlags
pub fn payload_bytes(&self) -> &[u8] ⓘ
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ReceivedFrame
impl RefUnwindSafe for ReceivedFrame
impl Send for ReceivedFrame
impl Sync for ReceivedFrame
impl Unpin for ReceivedFrame
impl UnwindSafe for ReceivedFrame
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