pub struct DelegatedNetworkProperties {
pub marks: Marks,
pub starnix_handle: u64,
}Expand description
Delegated network specific properties.
Neither marks nor starnix_handle is expected to change for an existing
network, but since they are not managed by Fuchsia we update them on
NetworkRegistry.Update to guard against any assumptions about their
immutability. Updating starnix_handle only affects which handle future
PrivilegedNetworkLookup.Lookup calls match; any NetworkToken already
minted for the network is keyed by NetworkId and remains active until the
network itself is removed.
Fields§
§marks: MarksThe socket marks for the delegated network.
starnix_handle: u64The Starnix network handle.
Trait Implementations§
Source§impl Clone for DelegatedNetworkProperties
impl Clone for DelegatedNetworkProperties
Source§impl Debug for DelegatedNetworkProperties
impl Debug for DelegatedNetworkProperties
Source§impl Default for DelegatedNetworkProperties
impl Default for DelegatedNetworkProperties
impl StructuralPartialEq for DelegatedNetworkProperties
Auto Trait Implementations§
impl Freeze for DelegatedNetworkProperties
impl RefUnwindSafe for DelegatedNetworkProperties
impl Send for DelegatedNetworkProperties
impl Sync for DelegatedNetworkProperties
impl Unpin for DelegatedNetworkProperties
impl UnsafeUnpin for DelegatedNetworkProperties
impl UnwindSafe for DelegatedNetworkProperties
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]§impl<T> IntoAny for T
impl<T> IntoAny for T
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§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<E> RunsTransport<Mpsc> for E
impl<E> RunsTransport<Mpsc> for Ewhere
E: RunsTransport<Mpsc>,
Source§impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
impl<T, U> TryIntoExt<U> for Twhere
U: TryFromExt<T>,
type Error = <U as TryFromExt<T>>::Error
Source§fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
fn try_into_ext(self) -> Result<U, <T as TryIntoExt<U>>::Error>
Tries to perform the conversion.