pub struct SpuSocket { /* private fields */ }
Expand description
Stream Socket to SPU
Implementations§
source§impl SpuSocket
impl SpuSocket
pub fn new( config: Arc<ClientConfig>, socket: SharedMultiplexerSocket, versions: Versions ) -> Self
pub async fn create_serial_socket(&mut self) -> VersionedSerialSocket
pub fn is_stale(&self) -> bool
pub async fn create_stream_with_version<R: Request>( &mut self, request: R, version: i16 ) -> Result<AsyncResponse<R>, FluvioError>
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SpuSocket
impl Send for SpuSocket
impl Sync for SpuSocket
impl Unpin for SpuSocket
impl !UnwindSafe for SpuSocket
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