pub struct Client {
pub versions: Versions,
pub params: KeyValuePairs,
}Expand description
Sent by the client to setup the session. This CLIENT_SETUP message is used by moq-transport draft versions 11 and later. Id = 0x20 vs 0x40 for versions <= 10.
Fields§
§versions: VersionsThe list of supported versions in preferred order.
params: KeyValuePairsSetup Parameters, ie: PATH, MAX_REQUEST_ID, MAX_AUTH_TOKEN_CACHE_SIZE, AUTHORIZATION_TOKEN, etc.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
impl UnwindSafe for Client
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