pub struct Qos {
pub prefetch_size: u32,
pub prefetch_count: u16,
pub global: bool,
}Fields§
§prefetch_size: u32§prefetch_count: u16§global: boolTrait Implementations§
Source§impl Method for Qos
impl Method for Qos
fn decode(method_frame: MethodFrame) -> Result<Self>where
Self: Sized,
fn encode(&self) -> Result<EncodedMethod>
fn name(&self) -> &'static str
fn id(&self) -> u16
fn class_id(&self) -> u16
fn encode_method_frame(&self) -> Result<FramePayload>
fn to_frame(&self, channel: u16) -> Result<Frame>
impl Send for Qos
impl StructuralPartialEq for Qos
Auto Trait Implementations§
impl Freeze for Qos
impl RefUnwindSafe for Qos
impl Sync for Qos
impl Unpin for Qos
impl UnwindSafe for Qos
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