pub trait RealmUdpSocket: Sized {
    fn bind_in_realm<'a>(
        realm: &'a TestRealm<'a>,
        addr: SocketAddr
    ) -> LocalBoxFuture<'a, Result<Self, Error>>; }
Expand description

Trait describing UDP sockets that can be bound in a testing realm.

Required Methods§

Creates a UDP socket in realm bound to addr.

Implementations on Foreign Types§

Implementors§