pub enum WriteType {
WithResponse,
WithoutResponse,
}Expand description
Whether a write waits for the peer to acknowledge it.
Variants§
WithResponse
Wait for the peer’s ATT acknowledgement, and report a failure.
WithoutResponse
Send and carry on. Faster, and the peer never says whether it arrived.
Trait Implementations§
impl Copy for WriteType
impl Eq for WriteType
impl StructuralPartialEq for WriteType
Auto Trait Implementations§
impl Forget for WriteType
impl Freeze for WriteType
impl Move for WriteType
impl RefUnwindSafe for WriteType
impl Send for WriteType
impl Sync for WriteType
impl Unpin for WriteType
impl UnsafeUnpin for WriteType
impl UnwindSafe for WriteType
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