#[repr(u8)]pub enum Callbacks {
Show 28 variants
onError = 0,
onFinish = 1,
onMessageStart = 2,
onMessageComplete = 3,
onRequest = 4,
onResponse = 5,
onReset = 6,
onMethod = 7,
onUrl = 8,
onProtocol = 9,
onVersion = 10,
onStatus = 11,
onReason = 12,
onHeaderName = 13,
onHeaderValue = 14,
onHeaders = 15,
onConnect = 16,
onUpgrade = 17,
onChunkLength = 18,
onChunkExtensionName = 19,
onChunkExtensionValue = 20,
onChunk = 21,
onBody = 22,
onData = 23,
onTrailerName = 24,
onTrailerValue = 25,
onTrailers = 26,
onStateChange = 27,
}Variants§
onError = 0
onFinish = 1
onMessageStart = 2
onMessageComplete = 3
onRequest = 4
onResponse = 5
onReset = 6
onMethod = 7
onUrl = 8
onProtocol = 9
onVersion = 10
onStatus = 11
onReason = 12
onHeaderName = 13
onHeaderValue = 14
onHeaders = 15
onConnect = 16
onUpgrade = 17
onChunkLength = 18
onChunkExtensionName = 19
onChunkExtensionValue = 20
onChunk = 21
onBody = 22
onData = 23
onTrailerName = 24
onTrailerValue = 25
onTrailers = 26
onStateChange = 27
Implementations§
Trait Implementations§
impl Copy for Callbacks
Auto Trait Implementations§
impl Freeze for Callbacks
impl RefUnwindSafe for Callbacks
impl Send for Callbacks
impl Sync for Callbacks
impl Unpin for Callbacks
impl UnsafeUnpin for Callbacks
impl UnwindSafe for Callbacks
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