Struct samsa::prelude::protocol::FindCoordinatorRequest
source · pub struct FindCoordinatorRequest<'a> {
pub header: HeaderRequest<'a>,
pub key: &'a str,
}
Expand description
The base Find Coordinator request object.
§Example
let find_coordinator_request =
protocol::FindCoordinatorRequest::new(CORRELATION_ID, CLIENT_ID, group_id);
conn.send_request(&find_coordinator_request).await?;
Fields§
§header: HeaderRequest<'a>
§key: &'a str
The coordinator key.
Implementations§
Trait Implementations§
source§impl<'a> Debug for FindCoordinatorRequest<'a>
impl<'a> Debug for FindCoordinatorRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for FindCoordinatorRequest<'a>
impl<'a> RefUnwindSafe for FindCoordinatorRequest<'a>
impl<'a> Send for FindCoordinatorRequest<'a>
impl<'a> Sync for FindCoordinatorRequest<'a>
impl<'a> Unpin for FindCoordinatorRequest<'a>
impl<'a> UnwindSafe for FindCoordinatorRequest<'a>
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