fn on_leave_room(context: &mut Context, _: usize) -> Status
Expand description

Handle the leave room packet.

§Arguments

  • context - The receiver context.
  • _ - The index of the sender. Currently unused.

§Returns

A Status representing the result of the operation.

§Errors

Returns an error if there are still files being transferred.