pub enum ThrottleType {
RequestNumber = 0,
RequestSize = 1,
WriteNumber = 2,
WriteSize = 3,
ReadNumber = 4,
ReadSize = 5,
}
Variants§
Implementations§
Source§impl ThrottleType
impl ThrottleType
pub fn write_to_out_protocol( self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<ThrottleType>
Trait Implementations§
Source§impl Clone for ThrottleType
impl Clone for ThrottleType
Source§fn clone(&self) -> ThrottleType
fn clone(&self) -> ThrottleType
Returns a copy 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 ThrottleType
impl Debug for ThrottleType
Source§impl Hash for ThrottleType
impl Hash for ThrottleType
Source§impl Ord for ThrottleType
impl Ord for ThrottleType
Source§fn cmp(&self, other: &ThrottleType) -> Ordering
fn cmp(&self, other: &ThrottleType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThrottleType
impl PartialEq for ThrottleType
Source§impl PartialOrd for ThrottleType
impl PartialOrd for ThrottleType
Source§impl TryFrom<i32> for ThrottleType
impl TryFrom<i32> for ThrottleType
impl Copy for ThrottleType
impl Eq for ThrottleType
impl StructuralPartialEq for ThrottleType
Auto Trait Implementations§
impl Freeze for ThrottleType
impl RefUnwindSafe for ThrottleType
impl Send for ThrottleType
impl Sync for ThrottleType
impl Unpin for ThrottleType
impl UnwindSafe for ThrottleType
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