pub struct ResponseOriginator<'c, 'w, W, F>where
W: Write,{ /* private fields */ }Implementations§
Source§impl<'c, 'w, W, F> ResponseOriginator<'c, 'w, W, F>where
W: Write,
impl<'c, 'w, W, F> ResponseOriginator<'c, 'w, W, F>where
W: Write,
pub fn new(chan: &'c mut ResponseWriter<'w, W>, formatter: F) -> Self
Trait Implementations§
Source§impl<W, F, M> Originator for ResponseOriginator<'_, '_, W, F>
impl<W, F, M> Originator for ResponseOriginator<'_, '_, W, F>
Auto Trait Implementations§
impl<'c, 'w, W, F> Freeze for ResponseOriginator<'c, 'w, W, F>where
F: Freeze,
impl<'c, 'w, W, F> RefUnwindSafe for ResponseOriginator<'c, 'w, W, F>where
F: RefUnwindSafe,
W: RefUnwindSafe,
impl<'c, 'w, W, F> Send for ResponseOriginator<'c, 'w, W, F>
impl<'c, 'w, W, F> Sync for ResponseOriginator<'c, 'w, W, F>
impl<'c, 'w, W, F> Unpin for ResponseOriginator<'c, 'w, W, F>where
F: Unpin,
impl<'c, 'w, W, F> UnsafeUnpin for ResponseOriginator<'c, 'w, W, F>where
F: UnsafeUnpin,
impl<'c, 'w, W, F> !UnwindSafe for ResponseOriginator<'c, 'w, W, F>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more